Add class=panel to /clipboard #left.

This commit is contained in:
voussoir 2020-11-04 16:57:41 -08:00
parent a0207c52f2
commit d536974025

View file

@ -19,6 +19,12 @@
<script src="/static/js/tag_autocomplete.js"></script> <script src="/static/js/tag_autocomplete.js"></script>
<style> <style>
#left
{
display: grid;
grid-row-gap: 8px;
grid-auto-rows: max-content;
}
#right #right
{ {
display: grid; display: grid;
@ -90,10 +96,10 @@
<div id="content_body" class="sticky_side_right sticky_bottom_right"> <div id="content_body" class="sticky_side_right sticky_bottom_right">
<div id="left"> <div id="left">
<div class="panel">The clipboard contains <span class="clipboard_count">0</span> items. <div class="panel">The clipboard contains <span class="clipboard_count">0</span> items.
<button id="clear_clipboard_button" class="red_button" onclick="return photo_clipboard.clear_clipboard();">Clear it.</button> <button id="clear_clipboard_button" class="red_button" onclick="return photo_clipboard.clear_clipboard();">Clear it.</button>
</div> </div>
<div id="photo_card_holder"> <div id="clipboard_photos_holder" class="photos_holder panel">
</div> </div>
</div> </div>
<div id="right"> <div id="right">
@ -131,7 +137,7 @@
<script type="text/javascript"> <script type="text/javascript">
const divs = {}; const divs = {};
const needed = new Set(); const needed = new Set();
const holder = document.getElementById("photo_card_holder"); const holder = document.getElementById("clipboard_photos_holder");
const add_box = document.getElementById("add_tag_textbox"); const add_box = document.getElementById("add_tag_textbox");
const add_button = document.getElementById("add_tag_button"); const add_button = document.getElementById("add_tag_button");