summaryrefslogtreecommitdiff
path: root/site/index.html (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-08site: better error messagesstuebinm1-34/+43
this includes styling error messages red, and displaying error messages in case not all answers were answered as required (for now, this just means that not selecting any option in radio buttons is disallowed in general, as so far there are no corresponding config fields).
2021-04-07site: better error messagesstuebinm1-14/+27
this includes deduplicating some code, and attempts at error messages for files which could not be parsed as json but aren't actually valid age-encrypted files (there doesn't seem to be some easy way to validate that these files are valid age files without knowing the key).
2021-04-07site: add visual feedback on survey submissionstuebinm1-2/+19
After a submission, the survey will now either redirect to a "thanks for your answers!"-site (if the POST request had status 200) or else display some kind of error message.
2021-04-05site: add headers for survey POST requeststuebinm1-2/+8
2021-04-05load survey from (and submit result to) path given as fragmentstuebinm1-18/+30
syntax: http(s)://domain.tld/path/to/file/index.html#[upload url] The upload url may be relative to the site's position, or absolute. Survey results will be POSTed to [upload path]/upload.