Commit Graph

15 Commits

Author SHA1 Message Date
Maxim Prokhorov
cca45a69be webui: getGata fixes
inverse logic for 'get everything' agrument (currently, only external use)
search specific forms vs. all document when performing cleanup
more explicit types, allow imports
2024-06-30 17:28:01 +03:00
Maxim Prokhorov
764ff09116 webui: settings-group-add unused payload 2024-06-29 02:01:07 +03:00
Maxim Prokhorov
c442d0f3a2 webui: stricter types for events 2024-06-29 02:00:33 +03:00
Maxim Prokhorov
d9e3774f17 webui: typo 2024-06-29 01:52:08 +03:00
Maxim Prokhorov
300c9b64b3 webui: initial clean-up
trying to streamline get/set for element data
switch on actual type instead of tag, since ts seems to like that more
2024-06-29 01:51:14 +03:00
Maxim Prokhorov
324ed9761b webui: more type warnings clean-up 2024-06-25 22:14:03 +03:00
Maxim Prokhorov
f007db1ff6 webui: implicit build-only consts via .d file 2024-06-25 17:53:50 +03:00
Maxim Prokhorov
a7697a2578 webui: attempt to clean-up index js types
minimal type info for internal and some external funcs
fix Ago updates depending on uptime, use onmessage

html/src/types/* useless (at least without tsc actually running)
2024-06-25 17:53:50 +03:00
Maxim Prokhorov
4f520a8798 webui: consistent settingsMax check
remove leftover manual template merge, idForContainer() should just use template-id data key
group add event now checks that instead, raising alert when number is greater than max

ref. #2610
2024-06-24 22:43:19 +03:00
Maxim Prokhorov
ce5ada9d32 webui: type filter for element setters 2024-06-24 22:43:19 +03:00
Maxim Prokhorov
a1363ddad9 system: iso8601 datetime & webui in local timezone
ref. #2608
2024-06-24 22:42:00 +03:00
Maxim Prokhorov
ddcbd0e885 webui: color hierarchy for custom toggle 2024-06-24 22:42:00 +03:00
Maxim Prokhorov
289fea4f3d webui: separate sources per module
* migrate to esbuild from terser, since now js source needs bundling
* (temporary?) hijack inline-source object handling to inline html files
* get rid of legacy removeIf comments in source in favour of explicit
  removal either through bundling tree-shaking and / or manual module-*
  class element removal w/ jsdom
* get rid of multi-layered custom checkboxes in favour of
  `appearance: none` directly styling the `input` elem
  also removes scripting part that was supposed to adjust for=... labels
* update to html-minifier-terser, up-to-date html-minifier fork
* update to iro.js 5.5.x, using npm to manage dependencies
* build script can now update resulting html output
  (called after bundling stage, before minification)
2024-06-22 19:49:59 +03:00
Xose Pérez
758d166ccd Cleaner web embedding process 2017-02-20 23:34:40 +01:00
Xose Pérez
9d9f0e9a02 Embed images and favicon into HTML file 2017-02-17 23:38:29 +01:00