4002cc660e
Don't use shortlink for zoom url. It breaks caching.
2018-05-01 21:03:10 -07:00
b19682d1a5
Replace Photo.sorted_tags with jinja filter.
2018-04-28 19:05:51 -07:00
50592f0ab4
Rework tab titles from "Album X" to "X | Albums" etc.
...
To prioritize the most unique and relevant piece of information.
2018-04-27 20:04:24 -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
21bd211889
Give Users a display_name.
2018-04-15 14:23:24 -07:00
30c9148092
Move the remaining common css / js to their folders.
2018-02-24 12:51:36 -08:00
79b20369db
Oops, apply listeners to /photo input box as well.
2018-02-24 01:08:21 -08:00
13e8bc4a6f
Add more items to to-do list; minor fixes.
2018-02-20 16:50:39 -08:00
ef5bbf5fc3
Split HTTP response dict into ["meta"] and ["data"].
2018-02-17 18:47:17 -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
bbe392ac09
Rename Photo.author -> get_author; no longer a @property.
2018-02-16 23:11:25 -08:00
205c49c21f
Rename Photo.albums -> get_containing_albums.
2018-02-16 23:08:44 -08:00
1c1e7f158f
Minor fixes & pylint appeasements.
2018-02-16 21:28:36 -08:00
5fccf5548b
Add Before and After search links to the photo sidebar.
2018-01-11 16:11:38 -08:00
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
26a034c9a0
Make Photo.author
a @property; None if no author.
2017-09-23 10:58:04 -07:00
797b3376a7
Add meta viewport to all pages.
2017-07-20 23:10:48 -07:00
5ba2ecd38a
Add tag_object html macro to centralize that effort. Still needs work.
2017-06-13 21:42:23 -07:00
aa30d5903d
Don't clip editor_area bg when scrollbar appears.
...
Instead of applying the background-color to the holder, apply it to the editor
area and message area separately. Then they can flex differently so that
the editor always maintains full height, and the message area shrinks to
a minimum of 30px.
2017-06-13 21:35:13 -07:00
a485be3c64
Make bitrate a real attribute instead of calculating in jinja
2017-05-11 22:34:19 -07:00
1fe3b99876
Move filename to be its own li
2017-05-06 03:45:01 -07:00
980688fbc1
Fix hoverzoom snapping to last known position.
...
Suddenly hoverzoom started acting wrongly. Possibly a Chrome update.
2017-05-05 23:02:42 -07:00
87abb055c3
Fix photo message_area from dominating screen height
2017-05-05 22:59:22 -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