Commit Graph

10 Commits (84d966ff3dec99690f83ba2ea9951e5766c98461)

Author SHA1 Message Date
voussoir ea5a02f8b6 Use update_dynamic_elements for user name, clipboard count. 2021-01-07 20:18:07 -08:00
voussoir 295c9b4956 Add return to all onclicks, and ; to other javascript hooks. 2020-09-04 10:37:04 -07:00
voussoir bff4a12fcb Add various comments, docstrings, and console.log. 2020-09-03 11:46:26 -07:00
voussoir d7b9020585 Add namespacing to photoclipboard.js. 2018-07-22 20:21:00 -07:00
voussoir 984f6eb3c7 Add a clear button to the clipboard tray. 2018-07-14 02:49:45 -07:00
voussoir a9248d8cab Add CSS clipboard_size; and other clip hook improvements.
Any element with class clipboard_size will have its text updated;
Removed the call to on_pageload from save_ because it redundantly
causes a load. Separate those update hooks.
2018-02-20 20:20:20 -08:00
voussoir 91d445a877 Add new page /clipboard, with full photo cards. 2018-02-17 19:12:34 -08:00
voussoir e41532cff1 Rearrange some button CSS classes to be more generic.
Adds CSS variables for the highlight and shadow so they don't need
to be custom-defined for each color of button.
Elements should use more generic classes like green_button instead of
add_tag_button unless there's a good reason.
2017-12-16 14:13:02 -08:00
voussoir 4a5583c091 Add tray_lines div so that tray_body might hold more buttons. 2017-12-16 12:24:46 -08:00
voussoir 443d93ce18 Add the clipboard tray where users manage their photo clipboard.
Appearing on search and album pages, the tray is where you can
remove items from your clipboard without having to click on its
checkbox -- that photo card may not even be on the current page.
2017-12-16 03:47:54 -08:00