1.1 KiB
1.1 KiB
Online ios.css management
- Open
/backend/hmi/and authenticate to HMI API (GlassFish BASIC realm). - Select
ios.css bearbeitenfrom sidebar. Only HMI designers/publishers/admins can access this screen. - Open a revision, edit in the text area and preview in a sandboxed iframe.
- Save a draft, which creates a new
HMI_APP_CSS_REVISIONentry. - HMI publisher/admin reviews draft and clicks
Version veröffentlichen. - All old HTML clients load
/backend/hmi-theme/ios.csson next page load, served from published DB revision (fallback to WARios.css). - To restore a previous version, select it in the editor and publish again.
- For Git-aligned releases, export the published CSS back to
backend/src/main/webapp/ios.cssthrough 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.