Commit Graph

29 Commits (2d2e80824f0fff1d0793b308ab35126391c62199)

Author SHA1 Message Date
voussoir a4a1f39ede Fix response.json_ok -> response.meta.json_ok. 2020-12-26 13:22:19 -08:00
voussoir 12ee2adedf Add alertresponse to a lot of callback functions. 2020-11-06 22:50:05 -08:00
voussoir 867d1c34a4 Use class=panel for message_area on /login. 2020-11-04 17:20:59 -08:00
voussoir 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
voussoir 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
voussoir dd0ee7a72a Use more const. 2020-09-14 18:33:53 -07:00
voussoir 295c9b4956 Add return to all onclicks, and ; to other javascript hooks. 2020-09-04 10:37:04 -07:00
voussoir 8af340e442 Replace non-global uses of var with let. 2020-09-03 15:31:47 -07:00
voussoir 8dafe8c4f4 Synchronize Etiquette common.css and YCDL common.css. 2020-09-03 11:50:16 -07:00
voussoir 7c4229f1fa Use dot notation instead of subscript for response. 2020-06-28 17:54:16 -07:00
voussoir 7e085d7585 Rename receive_callback -> login_register_callback. 2020-01-12 14:37:04 -08:00
voussoir c984159a76 Minor css tweaks. 2019-09-11 01:13:10 -07:00
voussoir ff72a5d26c Redo login.html css to be grid based. 2019-08-26 14:54:29 -07:00
voussoir a75540ce25 Replace login and register with real form elements. 2019-08-26 14:34:50 -07:00
voussoir 7ecfeca96c Allow setting display name during registration. 2019-08-26 14:32:51 -07:00
voussoir 78dd1417ca Give the login and register boxes the .panel class. 2019-08-23 13:32:35 -07:00
voussoir b683413be0 Try different themes with the ?theme query. 2019-08-14 13:43:35 -07:00
voussoir 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
voussoir 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
voussoir d436b32df8 Integrate users with api.js. 2018-09-23 16:50:27 -07:00
voussoir 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
voussoir c7cce5a4e5 Add namespacing to common.js. 2018-07-22 20:21:00 -07:00
voussoir df211454bb Include username and password length requirements on form. 2018-04-15 13:20:08 -07:00
voussoir 30c9148092 Move the remaining common css / js to their folders. 2018-02-24 12:51:36 -08:00
voussoir aa284c388d Fix message_area on /login.
Because the rules are no longer in common.
2018-02-24 00:34:46 -08:00
voussoir ef5bbf5fc3 Split HTTP response dict into ["meta"] and ["data"]. 2018-02-17 18:47:17 -08:00
voussoir 797b3376a7 Add meta viewport to all pages. 2017-07-20 23:10:48 -07:00
voussoir 463b627920 Put login / register boxes vertical when narrow. 2017-07-20 23:02:09 -07:00
voussoir 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