CSS (forms) refactoring
* All forms now use the render_field helper.
* CSS is now compiled using PostCSS.
* Common form styles got extracted to more reusable & flexible classes.
Closes#12.
Co-authored-by: Wojciech Kwolek <wojciech@kwolek.xyz>
Reviewed-on: https://git.r23s.eu/wojciech/doneth.at-backend/pulls/13
Allow browsing historical accomplishments.
Created a timeutils module, which contains all time-related logic, to
allow easier extension later (for when I'll be implementing timezones
and custom day-start hours)
show today's accomplishements on the main page
extract main.handle_accomplishment_submission function
handle adding new accomplishments to the database
add header and add accomplishment UI
extract .card css component
add Accomplishment model
Co-authored-by: Wojciech Kwolek <wojciech@kwolek.xyz>
Reviewed-on: https://git.r23s.eu/wojciech/doneth.at-backend/pulls/1
Squashed commit of the following:
commit 4e6ba2b6b8c1ee9dfec97af2057c3a150a50d716
Author: Wojciech Kwolek <wojciech@kwolek.xyz>
Date: Sat Aug 29 13:59:50 2020 +0200
Implement registering, log in an out logic. Show errors in the forms.
commit d1c1ab67564416580a242f97af48c59b6cc54e45
Author: Wojciech Kwolek <wojciech@kwolek.xyz>
Date: Fri Aug 28 13:39:12 2020 +0200
add login form
commit 0b643968c7d02b4bd47825d066459bcc9bb8a405
Author: Wojciech Kwolek <wojciech@kwolek.xyz>
Date: Fri Aug 28 13:14:32 2020 +0200
add tailwindcss and sign-up form template
commit 65c49de0f50500e8e69b86d14cdd29e63619854a
Author: Wojciech Kwolek <wojciech@kwolek.xyz>
Date: Thu Aug 27 19:38:35 2020 +0200
add db with migrations, add User model and signup form class