Commit graph

26 commits

Author SHA1 Message Date
707d1ec829
Move http functions to new javascript file http.js. 2022-10-01 14:24:36 -07:00
a39e600619
Add favicon link to all HTML templates. 2022-05-28 16:21:23 -07:00
93e03656ca
Small tidy ups. 2022-03-26 13:22:01 -07:00
b53bfc5014
Replace #theme_links with .link_group. 2022-03-26 13:22:00 -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
adb691405c
Give this div an id, #theme_links. 2021-06-04 21:36:17 -07:00
4d0565d9bb Add jank support for html motds. 2021-01-04 02:23:03 -08:00
14961d75fd Let homepage use width 90% max 600 instead of straight 50%. 2020-09-29 17:18:46 -07:00
17f694cfed Add theme-change links to homepage. 2020-09-27 10:37:13 -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
8dafe8c4f4 Synchronize Etiquette common.css and YCDL common.css. 2020-09-03 11:50: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
760ddfc6b0 Rename color_site_theme to color_theme_primary; and secondary. 2019-01-01 17:20:22 -08:00
0ea9f19592 Import api.js into the rest of the pages.
Now we can do anything from anywhere!
2018-09-23 16:53:49 -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
21bd211889 Give Users a display_name. 2018-04-15 14:23:24 -07:00
b4cd4b6130 Fix body not filling vertical space. 2018-03-19 15:06:07 -07:00
45bd80caa4 Remove height:40px from plain_link. Only nice_link. 2018-03-19 15:03:53 -07:00
30c9148092 Move the remaining common css / js to their folders. 2018-02-24 12:51:36 -08:00
be0fca729f Create sessions for anons as well, instead of just logged in.
It makes sense that anon sessions are still sessions. So @give_token
will ensure that every request has a session. Logged in conditionals
move from 'if session' to 'if session.user'.
2018-01-15 18:41:21 -08:00
797b3376a7 Add meta viewport to all pages. 2017-07-20 23:10:48 -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
Renamed from templates/root.html (Browse further)