Commit Graph

14 Commits (09e80f5dba03f760b352e8fac5169a223205377a)

Author SHA1 Message Date
voussoir ab4f240a30 Add input option to button_with_confirm to make mini submit forms. 2019-04-27 15:30:33 -07:00
voussoir e0544adc06 Use Function instead of setAttribute to create onclick. 2019-04-27 15:28:22 -07:00
voussoir 8a1d5d9eae Let the button_with_confirm give a class to its holder. 2018-09-23 15:03:50 -07:00
voussoir 20e41ad689 Extremely minor touchups. 2018-09-23 14:57:25 -07:00
voussoir f28e362c58 Add space between ok, cancel buttons on editor & confirmer. 2018-08-16 19:46:33 -07:00
voussoir f047235c48 Reorganize a bunch of javascript handlers.
The javascript is very inconsistent between pages. I'm trying to
start using a consistent pattern where the api call is kept in a
separate function from the ones that buttons and input boxes
talk to.
2018-07-29 01:25:53 -07:00
voussoir fd6943fce1 Add code for creating buttions with confirmation prompts. 2018-07-28 20:21:20 -07:00
voussoir c7cce5a4e5 Add namespacing to common.js. 2018-07-22 20:21:00 -07:00
voussoir 8a12a24e8e Add tag_autocomplete.js.
Instead of embedding the entire tag list in the search.html template
every single time, this script loads the tags from the new,
cache-enabled endpoint /all_tags.json. Then we can use html5
datalists to create autocomplete forms on the search and photo pages.
2018-07-22 20:19:05 -07:00
voussoir 5c97086df3 Improve hotkey framework by making own file & register function. 2018-07-14 14:19:13 -07:00
voussoir 2901fefe65 Add more clipboard feature hotkeys. 2018-07-14 02:54:39 -07:00
voussoir a12d8cada1 Don't capture ctrl+a if currently in a text field. 2018-04-17 18:35:32 -07:00
voussoir a1919a7725 Support giving title when creating albums. Two-step prompt. 2018-03-09 17:38:40 -08:00
voussoir 30c9148092 Move the remaining common css / js to their folders. 2018-02-24 12:51:36 -08:00