8f0ff55383
Remove deleted bookmark from page without refreshing.
2021-01-08 18:28:02 -08:00
7373730f90
Add bookmark_card.html, move bookmark_card css to cards.css.
2021-01-08 13:41:49 -08:00
84a5e2b4e1
Significant updates to editor.js.
2021-01-01 19:46:06 -08:00
68b27fced2
Add refresh_or_alert so errors aren't missed.
2020-11-06 21:42:28 -08:00
45acdce74b
Let bookmark_card input have width 100%.
2020-10-13 10:56:38 -07:00
6fb6b1eeb0
Add Bookmark.display_name, just like Album.
2020-10-13 10:37:12 -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
79578823f5
Fix jinja variable not defined.
2020-09-18 21:28:21 -07:00
f9e4bac186
Use more _form functions instead of inline api.js calls.
2020-09-17 18:14:07 -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
05b39c21fd
Replace loop uses of var with let/const.
2020-09-03 15:33:37 -07:00
8af340e442
Replace non-global uses of var with let.
2020-09-03 15:31:47 -07:00
fa83324cc3
Remove width from bookmark_card, just rely on max-width.
2020-09-03 12:20:49 -07:00
8dafe8c4f4
Synchronize Etiquette common.css and YCDL common.css.
2020-09-03 11:50:16 -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
b81aad78dd
Rename CSS vars color_theme_* and color_site_* to color_*.
...
There was just no point to naming them like this because all of the
color vars obviously represent some part of the site's color theme.
2020-06-25 10:03:50 -07:00
b683413be0
Try different themes with the ?theme query.
2019-08-14 13:43:35 -07:00
c7e4bf16d2
Pull spinner code into own file spinner.js.
...
For the purposes of editor.js this does not bring much improvement,
but now I can easily make spinners for other things.
2019-04-27 15:42:02 -07:00
b864397242
Have bookmark editor show errors on non 200 responses.
2019-01-13 15:05:03 -08:00
760ddfc6b0
Rename color_site_theme to color_theme_primary; and secondary.
2019-01-01 17:20:22 -08:00
bbd4fbd77f
Integrate bookmarks with api.js.
2018-09-23 15:43:42 -07:00
20e41ad689
Extremely minor touchups.
2018-09-23 14:57:25 -07:00
3db5c77c2c
Use a CSS var for 10% transparency and drop shadow.
2018-09-22 16:01:34 -07:00
2c48b43b71
Use a CSS variable for the secondary theme color.
2018-09-22 01:14:50 -07:00
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
b314d6376f
Update the hrefs when saving the bookmark editor.
2018-07-29 00:43:12 -07:00
fd23b563cf
Implement bookmark delete on frontend.
2018-07-29 00:36:50 -07:00
9c354249c9
Rename variable editor -> ed to avoid conflicting with the module.
...
Even in cases that were not causing problems, for consistency.
2018-07-28 15:17:18 -07:00
63a3ecfa88
Add namespacing to editor.js.
2018-07-22 20:21:00 -07:00
c7cce5a4e5
Add namespacing to common.js.
2018-07-22 20:21:00 -07:00
30c9148092
Move the remaining common css / js to their folders.
2018-02-24 12:51:36 -08:00
56a998682d
Create js folder. Move Editor to its own file.
2018-02-24 00:46:55 -08:00
6ad41eb516
Improve bookmark appearance; don't send edit with blank url.
2018-02-17 19:36:48 -08:00
1c1e7f158f
Minor fixes & pylint appeasements.
2018-02-16 21:28:36 -08:00
797b3376a7
Add meta viewport to all pages.
2017-07-20 23:10:48 -07:00
a1178ca3a5
Focus the title editor on open.
2017-07-16 17:26:34 -07:00
0e17350d84
Add Editor elements for bookmarks.
2017-07-13 23:13:34 -07:00
1149283c7b
Add interface for creating bookmarks.
2017-07-09 19:40:14 -07:00
8a0bbbcc56
Add /bookmarks/create_bookmark endpoint. No interface yet.
2017-06-12 20:15:02 -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