| Commit message (Collapse) | Author | Files | Lines |
|
e.g.
- ability to log ip addresses of respondents
- configurable bind address
- reasonably sane defaults (hopefully)
- survey name as part of output file names
|
|
|
|
|
|
the previous commit introduced handling error messages using a
"setErrormsg" function. This is now also used for the general error
messages which may show up at the bottom of surveys.
However, since js and async things are weird, the code there is still a
long repetitive mess which can't really be cut down further.
|
|
(from the browser's preferences set via navigator.language and
navigator.languages)
|
|
This is a very simple, very high-contrast dark mode (for now). However,
not all default ui elements seem to respect it by default — i.e.
textareas stay entirely white by default and require additional theming.
I'm not sure if this is my system stlye or firefox interfering, but for
now I've added custom css rules which at least make text areas black.
Buttons and checkboxes are still white, however.
|
|
This implements some accessibility guidelines, as hinted at by WAVE [1]:
- labels for textareas
- fieldsets for multiple-choice answers
One thing that's still missing is a set language, which I guess will be
best implemented together with an actual language switcher.
[1] https://wave.webaim.org/
|
|
|