Commit Graph

34 Commits

Author SHA1 Message Date
Sage Vaillancourt e2f918df72 Add meta tag and password length hint. 2022-10-02 11:12:50 -04:00
Sage Vaillancourt 9d15924d60 More password validation.
Clean up login and create_account routes.
Macro-ize form submit buttons.
2022-10-02 10:48:48 -04:00
Sage Vaillancourt d2b2d860cf Delete dedicated create_account page. 2022-10-02 10:07:39 -04:00
Sage Vaillancourt a23ec07618 Prevent scroll when modal is up. 2022-10-02 09:57:17 -04:00
Sage Vaillancourt 577c911f34 More consistent `wipe` buttons 2022-10-02 09:49:24 -04:00
Sage Vaillancourt 234565b923 Tweak some login-related spacing. 2022-10-02 09:45:40 -04:00
Sage Vaillancourt 56327d29e6 Add titles to modal. 2022-10-02 02:54:59 -04:00
Sage Vaillancourt 2ee23bb33e Move login/create account into a modal.
Some redundancy floating around.
Error handling is probably wonky.
Modal should have a bit more detail in the future.
2022-10-02 02:27:23 -04:00
Sage Vaillancourt dbd5ebc798 Move logged-in info to top of page. 2022-09-30 00:50:19 -04:00
Sage Vaillancourt bf9ea51021 Bold text on 'Generate PDF' button. 2022-09-30 00:39:58 -04:00
Sage Vaillancourt c7229d5db1 Simplify front-end error-clearing logic. 2022-09-29 13:31:58 -04:00
Sage Vaillancourt 5024a79842 Right-align 'Generate PDF' button 2022-09-29 13:28:25 -04:00
Sage Vaillancourt 6bb6821d39 Don't use cookie when logged in. 2022-09-29 13:02:09 -04:00
Sage Vaillancourt 04c16b50fe Flesh out letter-adding.
Add new-letter button.
Refactor _formhelpers for increased modularity.
Re-style <select> tags
Invert logo colors on hover.
2022-09-29 16:35:26 +00:00
Sage Vaillancourt a5704c8c12 Start sketching out add-letter button. 2022-09-29 07:57:13 -04:00
Sage Vaillancourt 82faabd34a Remove previous css minification 2022-09-28 02:00:34 +00:00
Sage Vaillancourt 1b32206a23 Implement template-switching.
Point testing subdomain to port 1111.
Fix busted <div>
2022-09-28 00:45:51 +00:00
Sage Vaillancourt 7d44e7ed16 Show letter selector when anyone is signed in. 2022-09-26 03:39:58 +00:00
Sage Vaillancourt 0f73db5e45 Add functionality for password-reset emails.
Start building up multi-template feature.
Redirect to homepage and display error instead of returning plaintext.
Make usernames case-insensitive.
2022-09-26 01:38:17 +00:00
Sage Vaillancourt b3f56872d7 Add email validation
Add a simple error display to base.jinja2
Build a bit of skeleton for saving letters to the DB.
2022-09-24 17:20:38 -04:00
Sage Vaillancourt 86563761f2 Add Create Account button to login section 2022-09-24 11:38:15 -04:00
Sage Vaillancourt 3c02ce279e Tweak login form styling 2022-09-24 12:47:33 +00:00
Sage Vaillancourt 5975f5ddf1 Fix create_account id bug. 2022-09-23 19:42:08 -04:00
Sage Vaillancourt 1c41a1d27c Fix create_account page to point at appropriate route. 2022-09-23 19:41:04 -04:00
Sage Vaillancourt a421e25344 Several style improvements.
Fix create_account() bug.
Lighter placeholder text.
Fancy black-white-button.
Username -> Email on login/create account forms.
2022-09-23 23:33:20 +00:00
Sage Vaillancourt c27d4e9189 Added create account page 2022-09-23 18:59:42 -04:00
Sage Vaillancourt 17494ca4df Add base jinja template. 2022-09-23 18:55:45 -04:00
Sage Vaillancourt 1eab1e9f10 Use unique login username id. 2022-09-23 15:14:24 -04:00
Sage Vaillancourt 6f456fc5ce Some login/logout fixes 2022-09-23 19:12:07 +00:00
Sage Vaillancourt 396376669c Add basic login/logout forms.
The new forms need better styling.
Remove index_cache.
2022-09-23 15:02:15 -04:00
Sage Vaillancourt 45eb4adff0 Display username when logged in. 2022-09-23 14:14:06 -04:00
Sage Vaillancourt d7efb0d6ad Add favicon. 2022-09-23 12:00:59 -04:00
Sage Vaillancourt 178656c929 Merge remote-tracking branch 'origin/main' into main 2022-09-23 11:36:24 -04:00
Sage Vaillancourt ff659db77f Some project re-org, and add pytest.
Rename flaskr/ to undercover/
Rename writing_templates/ to letter_templates/
Put db testing code into __main__ check
Break css optimization into its own file and add simple testing.
Rename writing.py to routes.py.
Move cached index directly into routes.py
2022-09-23 11:35:56 -04:00