29774f2524
Add the clipboard checkbox on pageload, not in server response.
...
With the recent addition of search_embed iframes on other pages, we
had photo cards appearing but the photo_clipboard module was not
imported thus the checkboxes did nothing. I don't want to import
photo_clipboard onto every single page, I'd rather they click through
to the full search UI. Otherwise every single page will have the tray
and often not a good enough reason for it.
So, since the functionality of the checkbox is completely reliant on
the photo_clipboard.js module anyway, there's no reason not to have it
generated by that module.
2021-01-05 01:24:03 -08:00
7c62c064cb
Rename photo_card_selector_checkbox photo_clipboard_selector_checkbox.
2021-01-04 23:31:41 -08:00
804afe912f
Add css class .photo_card_searchhidden.
2020-09-09 19:24:43 -07:00
295c9b4956
Add return to all onclicks, and ; to other javascript hooks.
2020-09-04 10:37:04 -07:00
9b47a6dd4e
Let photo card thumbnail images lazyload.
...
It seems that some people like lazyload and others don't. Let's try it.
2020-08-28 16:24:18 -07:00
6dcf47cab7
Remove duplicated markup between list/grid photo cards.
2018-12-27 15:30:30 -08:00
70d0e64309
Add a CSS class to photo cards for selection state.
...
Planning on adding some rules to make selected cards
stand out in some way, or at least have that possibility.
2018-10-20 02:32:33 -07:00
d7b9020585
Add namespacing to photoclipboard.js.
2018-07-22 20:21:00 -07:00
bdec6cf4a3
Add filter to generate /file/ link with appropriate basename.
...
Because inlining the |urlencode every time is easy to forget.
2018-04-19 19:29:06 -07:00
7b4ae3045a
Remove some excessive newlines from photo_card output.
2018-03-19 22:52:15 -07:00
4a39b527f3
Use dot_extension on the photo cards.
2018-03-18 00:19:30 -07:00
45091c6596
Fix thumbnail height in CSS only, no html attr. Don't h-stretch.
2018-03-10 19:53:29 -08:00
b4a28f5034
Make Photo.bytestring a @property.
...
This is the kind of thing that should be a @property, because
it's very low processing power and doesn't hit the database.
2018-02-16 23:16:02 -08:00
2f9b51b636
Rename Photo.tags -> get_tags.
2018-02-16 23:07:21 -08:00
55f7da7bb2
Add the photo_clipboard feature with localStorage.
...
photo_card objects now have a checkbox which adds them
to the clipboard. No pasting or other operations yet.
2017-12-09 17:48:56 -08:00
f9524a1858
Switch to CSS Grid for the photo cards.
2017-08-01 18:25:28 -07:00
24e162c782
Add basic thumbnail for image types.
2017-06-19 16:13:42 -07:00
f8a78c6ee7
Minor cosmetics
2017-05-06 17:04:42 -07:00
824430dfa8
Add helper div to maintain bg color on filename hover
...
Without it, gaps are visible between the lines of text.
2017-05-06 04:13:33 -07:00
1c30ef5785
Further separate front & back; Create frontends folder
...
New frontends folder will hold all front-end interfaces for etiquette. Existing flask site moved here and refers to itself as a package with external launcher. etiquette_site renamed to etiquette_flask
2017-05-01 21:49:28 -07:00