Initial commit: WidgetWorkbench HMI V4
This commit is contained in:
12
hmi-docs/CSS_OPERATION.md
Normal file
12
hmi-docs/CSS_OPERATION.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# Online ios.css management
|
||||
|
||||
1. Open `/backend/hmi/` and authenticate to HMI API (GlassFish BASIC realm).
|
||||
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: GlassFish principal 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.
|
||||
Reference in New Issue
Block a user