c159dbbc0f
Improve photo contextmenu, reuse a single contextmenu element for all.
2022-08-04 06:10:44 -07:00
1974062ea4
Add number of albums to /albums.
2022-07-20 19:03:28 -07:00
4001f6f371
Use datetime objects instead of timestamps in object model.
...
Trying to make better use of objects in this object oriented language.
2022-07-20 19:03:26 -07:00
a39e600619
Add favicon link to all HTML templates.
2022-05-28 16:21:23 -07:00
ebe6fcb07d
Rename spinner.js -> spinners.js.
...
It has been frustrating when I want to name a variable spinner.
2022-03-26 13:22:02 -07:00
e2e0e13fb5
Replace some h3 with h2.
2021-10-31 16:28:34 -07:00
2d4acfe511
Replace some h2 with h1, set h:first-child, last-child margin=0.
2021-10-31 16:14:18 -07:00
4da25c1d9e
Replace get_author with @property author.
2021-10-23 18:48:14 -07:00
7e0c3e2626
Use /userid/ links instead of /user/username.
2021-10-23 17:20:14 -07:00
e5f2f6992b
Fix DOCTYPE should just be "html".
2021-06-22 13:38:08 -07:00
9c13220ac3
Let pages opt in to the use of photo_clipboard's hotkeys.
2021-06-03 17:42:46 -07:00
400c255aea
Add "Show in folder" button to photos, albums.
2021-02-25 18:57:41 -08:00
6c2da7a6f0
Move album drag-drop functions to cards.js.
2021-01-25 13:46:24 -08:00
6a41e4b0f1
Add UI for set Album thumbnail, display in hierarchy_self.
2021-01-21 15:42:33 -08:00
322d459063
Add UI for remove thumbnail photo.
2021-01-20 19:07:37 -08:00
5e7b90cbe4
Combine all card templates into cards.html.
2021-01-20 18:26:42 -08:00
b96f0cfc96
Put toolbox hide logic into album_card_tools, not remove button.
2021-01-20 18:26:42 -08:00
de93f81331
Rename these functions to _form.
2021-01-10 14:49:35 -08:00
fd6375613a
Add album's author and date to the page.
2021-01-09 10:50:52 -08:00
fabbbaf17f
Rename photo_cards.css -> cards.css. All types welcome.
2021-01-08 13:40:34 -08:00
84a5e2b4e1
Significant updates to editor.js.
2021-01-01 19:46:06 -08:00
12ee2adedf
Add alertresponse to a lot of callback functions.
2020-11-06 22:50:05 -08:00
68b27fced2
Add refresh_or_alert so errors aren't missed.
2020-11-06 21:42:28 -08:00
7770f7640a
Add class photos_holder which is centers photos in narrow mode.
...
In narrow mode, it's very possible to wind up with only 1 photo per row,
and it looks silly when they are left-justified. Centered looks a little
more natural to me in this case.
2020-11-04 17:11:48 -08:00
a0207c52f2
Reduce grid-row-gap from 30px to 8px.
2020-11-04 16:56:24 -08:00
41b03f46b9
Use more class=panel throughout ui.
2020-11-03 16:25:04 -08:00
c146e0d1b9
Rename instances of Editor variables to clarify what they are.
2020-10-17 17:26:07 -07:00
86c09aedc1
Add album_autocomplete.js, so "Add child" box can autocomplete.
...
This makes putting albums together a little easier, though datalist
performance still leaves a lot to be desired.
2020-10-03 18:37:08 -07:00
f56da72881
Return more sets from backend, do sorting on frontend.
...
It's better semantically for these items coming out of the backend
to be sets. Sorted lists are only relevant to human consumption at the
frontend.
2020-09-20 13:16:52 -07:00
407770a80e
Replace handwritten closest() with native closest().
...
And such a beautiful docstring, too, as if no one had done it before.
2020-09-20 12:23:43 -07:00
169fd4945d
Fix drag-drop behavior when dropping onto root.
2020-09-20 12:20:36 -07:00
00bc7e6eac
Replace nested if with early return.
2020-09-20 12:15:01 -07:00
adb1d0ef39
Replace all double blank lines with single, improve hash headers.
...
There was always some semblance that two blank lines has some kind of
meaning or structure that's different from single blank lines, but
in reality it was mostly arbitrary and I can't stand to look at it
any more.
2020-09-19 03:13:23 -07:00
9a29048ccf
Split sticky_side functionality into _side, _bottom.
...
This makes the role of each css definition more clear, and could allow
for cases where the side is sticky in wide mode but not sticky in
narrow mode.
2020-09-18 20:37:40 -07:00
f9e4bac186
Use more _form functions instead of inline api.js calls.
2020-09-17 18:14:07 -07:00
adbdb3bdb4
Show number of associated directories in alt text.
2020-09-14 20:26:46 -07:00
dd0ee7a72a
Use more const.
2020-09-14 18:33:53 -07:00
295c9b4956
Add return to all onclicks, and ; to other javascript hooks.
2020-09-04 10:37:04 -07:00
9a9edecfd2
Fix album drag-drop when you drag by the thumbnail or other child.
2020-09-03 15:39:34 -07:00
8af340e442
Replace non-global uses of var with let.
2020-09-03 15:31:47 -07:00
8dafe8c4f4
Synchronize Etiquette common.css and YCDL common.css.
2020-09-03 11:50:16 -07:00
48a63a099b
Fix button_with_spinner now uses onclick instead of data-onclick.
2020-08-29 22:27:15 -07:00
a66aca8a17
Jankily fix button text causing breakage out of parent div.
...
I described the issue here but have yet to find the correct fix.
https://old.reddit.com/r/css/comments/i4drwa
2020-08-10 21:02:11 -07:00
7609f20dd0
Let button_with_confirm inherit original CSS when not specified.
2020-08-07 21:14:27 -07:00
7c4229f1fa
Use dot notation instead of subscript for response.
2020-06-28 17:54:16 -07:00
47c0a7221c
Prototype of album drag-and-drop moving.
...
I'm not entirely happy with the way that native drag-and-drop looks,
the transparent bit that you hold while dragging looks dumb.
Will have to look into control / shift clicking to multiselect.
Also just using browser confirm() for now since I haven't made my
own dialog for that kind of thing yet.
2020-01-14 23:04:22 -08:00
fcf7a460b2
Unify album_card and root_album_card macros.
2019-12-21 01:47:33 -08:00
1a395886ef
Set !important on #content_body regrids for stickyside pages.
2019-08-26 15:18:33 -07:00
ced98d0c42
Use grid-row-gap instead of not last margin-bottom.
2019-08-25 18:00:36 -07:00
b67aa63b26
Add a comment explaining this css.
2019-08-25 17:47:02 -07:00