Commit Graph

4 Commits

Author SHA1 Message Date
caleb crome 0b986eeb0c TrayLayout: Make generation a one step operation in the web UI
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>
2023-03-07 20:02:27 +01:00
caleb crome 1b30322269 Add search box to menu page
searches in class name, translated name and translated short description
(aka doc text)

Cut Menu items to 75% to avoid collisions
2023-02-16 23:36:49 +01:00
caleb crome bfc710698f Create a GridfinityTrayLayout object.
This is based on the TrayLayout2, but it designed to just give exactly
the correct size boxes to fit into a gridfinity system.

It has a modified TrayLayout setup, so it works in one step.  It uses
javascript to auto-generate the grid, which means it doesn't currently
work for Inkscape or command line.
2023-02-13 21:10:35 +01:00
Rotzbua 4ef6c5c5ae boxesserver: refactor
* 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
2023-01-31 20:37:52 +01:00