Commit Graph

16 Commits

Author SHA1 Message Date
Matthew Wild
712b0dc502 templates: Fix typo in closing form tag 2024-01-11 15:20:17 +00:00
Jonas Schäfer
ad229d6700 Use standard error rendering for the login form
This provides a consistent UX.
2021-03-20 16:30:42 +01:00
Jonas Schäfer
9876e42fb7 Add support for a flash message sidebar 2021-02-06 12:00:45 +01:00
Jonas Schäfer
8b66c5a063 Add alert role to dynamically added message for a11y 2021-02-06 11:31:55 +01:00
Jonas Schäfer
53e023f9ae Protect against invalid domain on the client side
Here we protect the user from themselves if they accidentally
enter their snikket credentials into the wrong instance by
preventing the form from even being submitted and by showing a
nice error message.
2021-02-06 11:20:05 +01:00
Jonas Schäfer
5b812c773d Fix footer on login page 2021-02-04 15:51:43 +01:00
Jonas Schäfer
5ca33fd69d Streamline wording: Use service instead of instance/server 2021-01-23 14:51:54 +01:00
Jonas Schäfer
0d03cd5227 Add support for setting a human-friendly SITE_NAME 2021-01-22 15:28:06 +01:00
Jonas Schäfer
17efe53106 Implement group support (we call ’em circles) 2021-01-21 16:55:10 +01:00
Jonas Schäfer
c1dbec51ab Use icons instead of Unicode symbols for buttons
Fixes #26.
2021-01-18 17:35:03 +01:00
Jonas Schäfer
fce7b9a637 Move footer to the bottom if content is not larger than viewport 2021-01-17 20:11:26 +01:00
Jonas Schäfer
fa700bba07 Massive code cleanup
- Avoid fighting import cycles using a factory function
- Collapse useless subpackages into simple modules
- Move flask plugins / infrastructure in own module
- Refactor how blueprints are used to localize information about
  URL routing to app factory
2021-01-17 20:11:25 +01:00
Jonas Schäfer
095970adb4 Convert login page to proper form
- free CSRF protection
- free "empty field" early out
- easier passing on of errors to the view
2020-04-30 16:14:14 +02:00
Jonas Schäfer
e07fbb0c97 Start translating the web portal 2020-03-07 16:55:12 +01:00
Jonas Schäfer
e985fe9c61 Design foundations
- Create a colour palette
- Create a sizing schema for paddings and fonts
- Implement basic form controls
- Create a theme demo page
- Apply the theme to the existing pages.

Still TODO is the final font selection.
2020-03-05 18:43:52 +01:00
Jonas Schäfer
aade4c67fd Bootstrap initial thing which can login 2020-02-29 12:37:56 +01:00