Files
WidgetWorkbench/hmi-docs/CSS_OPERATION.md
2026-10-23 19:29:37 +00:00

13 lines
1.1 KiB
Markdown

# Online ios.css management
1. Open `/backend/hmi/` and sign in with IMSAPI regLogin.
2. Select `ios.css bearbeiten` from sidebar. Only HMI designers/publishers/admins can access this screen.
3. Open a revision, edit in the text area and preview in a sandboxed iframe.
4. Save a draft, which creates a new `HMI_APP_CSS_REVISION` entry.
5. HMI publisher/admin reviews draft and clicks `Version veröffentlichen`.
6. All old HTML clients load `/backend/hmi-theme/ios.css` on next page load, served from published DB revision (fallback to WAR `ios.css`).
7. To restore a previous version, select it in the editor and publish again.
8. For Git-aligned releases, export the published CSS back to `backend/src/main/webapp/ios.css` through the reviewed repository process (not automatic).
Security: server-verified IMSAPI identity, HMI role and X-CSRF-Token required for writes; editor is not open to general users. Publishing affects production UI appearance. The server rejects remote `url()`, `@import`, escapes and embedded HTML. Inline preview is sandboxed. Have a responsible reviewer approve changes before production.