poll.horse/frontend
Wolvan 9fa3eabad1 Make frontend js-less
The frontend should work without having JS enabled. JS will enhance the
experience but should under no circumstance be necessary.
To achieve this, the entire entry system has been turned into a form
that posts its values to a new backend path specifically made to take
form responses. Instead of returning an API response, it also redirects
the browser to either the voting page on successful creation or the
frontpage with a bunch of get parameters that are used to prefill the
form in a server-side rendering process.
An error parameter is also given but there is no way to display said
error for now.
2022-01-01 04:13:24 +01:00
..
errors Build frontend loader system 2021-12-28 23:49:18 +01:00
html Make frontend js-less 2022-01-01 04:13:24 +01:00
static/css Make frontend js-less 2022-01-01 04:13:24 +01:00
.eslintrc.json Allow browser JS to be written for the frontend 2022-01-01 04:06:20 +01:00