use short_url on standalone QR code generation
filter out redundant arguments to further shorten the URL. Current list to filter are the format, and the qr_code arguments
Add Java Script for generating the layout from sx and sy
Drop special handling in boxesserver
Add .UI attribute to Boxes class to allow behaving differntly on different UIs
Traylayout is still filtered out from Inkscape INX file generation
Slightly adjust layout format of GridfinityTrayLayout
Co-authored-by: Florian Festi <florian@festi.info>
to allow geenrators to translate things like labels, too.
Adds hidden language parameter to make sure the language selected gets
passed down to the generated drawing.
* move & refactor JS to static
* add some typing
* move `head` to functions for reusability
* fix wrong separator for `hreflang` value
* fix various html validator errors
commit 0a8dcf0e37 caused the server to *only* respond to
localhost by default. This causes the Docker to not respond properly. The old
server had the default server name as '', but the new one set it to 'localhost'.
This fixes that problem.
In addition, This commit changes the docker file so that you can
specify which git repo and commit to check out from. This allows
trivial testing of other clones. The default branch is master
and default git repo is Florian's, but you can now specify
new commits and/or branches to clone with
```docker build --build-arg BUILD_BRANCH=<branch-or-commit> --build-arg BUILD_REPO=<my-repo>```
Role tag added as aria-expanded does not work for clickable headings, this is some what of a work around but will get things accessible for now wihtout requiring too much of a rewrite. The showHide function now has lines to toggle the aria-expanded tag based on the state of the clickable heading.
to make them accessible for screen reader users.
Assign ids to the tds containing the setting name and description and
then use them as the label via the aria-labeledby attribute.
For now there was no way to select and open the collapsed sections in
both the generator groups and the setting groups other as by mouse
click. This break the keyboard only work flow and excludes screen reader
users. Add a tab stop and hook up the collapse/uncollaps function to the
return key.
Avoid announcing every row number which is part of the navigation for
proper tables (read spread sheet). This is a stop gap solution as tables
should not be used for layout at all. But this at least make things
better for screen reader users until this is switched to proper CSS
based layout.
URL parameters are passed in as strings so they would not register as
selected for choices with int values. As a result a render=0 link would
nt pass these parameters correctly.
Thanks to Richard Kampmann for noting and reporting this rather
obscure bug!