Commit graph

32 commits

Author SHA1 Message Date
2d4acfe511
Replace some h2 with h1, set h:first-child, last-child margin=0. 2021-10-31 16:14:18 -07:00
779eff1761
Don't show the registration form if registration is disabled. 2021-10-24 22:17:50 -07:00
e5f2f6992b
Fix DOCTYPE should just be "html". 2021-06-22 13:38:08 -07:00
a4a1f39ede Fix response.json_ok -> response.meta.json_ok. 2020-12-26 13:22:19 -08:00
12ee2adedf Add alertresponse to a lot of callback functions. 2020-11-06 22:50:05 -08:00
867d1c34a4 Use class=panel for message_area on /login. 2020-11-04 17:20:59 -08: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
3fb198f994 Add explicit @media queries for wide mode, not just default to override.
Any properties that are different in wide/narrow mode should be defined
in the correct media query. I got tired of having wide mode be the
default and then narrow mode having to unset/initial all the attributes
that aren't relevant to narrow.
2020-09-18 21:12:28 -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
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
7c4229f1fa Use dot notation instead of subscript for response. 2020-06-28 17:54:16 -07:00
7e085d7585 Rename receive_callback -> login_register_callback. 2020-01-12 14:37:04 -08:00
c984159a76 Minor css tweaks. 2019-09-11 01:13:10 -07:00
ff72a5d26c Redo login.html css to be grid based. 2019-08-26 14:54:29 -07:00
a75540ce25 Replace login and register with real form elements. 2019-08-26 14:34:50 -07:00
7ecfeca96c Allow setting display name during registration. 2019-08-26 14:32:51 -07:00
78dd1417ca Give the login and register boxes the .panel class. 2019-08-23 13:32:35 -07:00
b683413be0 Try different themes with the ?theme query. 2019-08-14 13:43:35 -07:00
62f36151c4 Make login and register buttons green.
Now that I'm using disabled buttons in some places I want
gray to avoid using gray for anything else.
2019-06-15 17:03:54 -07:00
588bf59b88 Variety of html, css, jinja tweaks.
- common.css, removed html and body margins so that using
  full height #content_body will not create a scrollbar.
  Simplifies the "fill remaining space" construct I use a lot.
  Added more css variables, I'm thinking about future theming.
- photo_card.css, slightly heightened to improve name clipping.
- clipboard.html, added a small screen mode.
- login.html, centered the boxes and fixed message area being
  too small due to a previous change.
- search.html, simplified some conditional texts.
2018-10-21 18:46:27 -07:00
d436b32df8 Integrate users with api.js. 2018-09-23 16:50:27 -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
c7cce5a4e5 Add namespacing to common.js. 2018-07-22 20:21:00 -07:00
df211454bb Include username and password length requirements on form. 2018-04-15 13:20:08 -07:00
30c9148092 Move the remaining common css / js to their folders. 2018-02-24 12:51:36 -08:00
aa284c388d Fix message_area on /login.
Because the rules are no longer in common.
2018-02-24 00:34:46 -08:00
ef5bbf5fc3 Split HTTP response dict into ["meta"] and ["data"]. 2018-02-17 18:47:17 -08:00
797b3376a7 Add meta viewport to all pages. 2017-07-20 23:10:48 -07:00
463b627920 Put login / register boxes vertical when narrow. 2017-07-20 23:02:09 -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/login.html (Browse further)