A simple application presenting truths and allowing people to guess on their authors for an upcoming campaign of Fabula Ultima
trotFunky
d0843d600e
The media query used to switch the ratio of the graph would only fire when switching from landscape to portrait, or the other way around. This makes controlling the point where the graph switches to vertical is only possible at this exact point. Introduce a limit aspect-ratio that controls the change and use it for the MediaQuery as well. Make sure we don't delete/recreate the chart for no reason as well. |
||
---|---|---|
db | ||
src | ||
static_files | ||
templates | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE.md | ||
README.md | ||
Rocket.toml |
Fabula Votes
This web application is intended as a simple way to share Truths for an upcoming campaign of Fabula Ultima, vote and who we think wrote them and see some stats !
TODO
A list of things that could be implemented/added to the application, some of them are needed for "feature completeness" !
- Being able to change from one week to the next
- Create new weeks for the admin
- Proper week redirection
- Add introduction to the weekly truths
- Bundle static assets in the binary
- Move the database queries to their own functions
- Cache those results
- Centralize Markdown parsing ?
- Use fairings for the different elements ?
Dependencies
This project currently uses :
- Rocket, for the web application backend
- SQLX, for database access (this is only expeceted to be used with SQLite)
- Tera, for templating
- Argon2, for password hashing
- Pull_down CMark, for markdown rendering
License
The code present in this repository is licensed under the Mozilla Public License 2.0.