summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-compat/luasrc/view/cbi/footer.htm
AgeCommit message (Collapse)Author
2024-11-22treewide: HTML CleanupMustafa Can Elmacı
* HTML Cleanup: Meta tags. * Converted charset to shorthand. * Removed meta tags with `Content-Script-Type` attribute. (Invalid in HTML5 spec.) * HTML Cleanup: CSS tags. * Removed `type` attribute with CSS files from link tags. (HTML5 spec recommends omitting it.) * Removed `type` attribute from style tags. (Deprecated in HTML5 spec.) https://html.spec.whatwg.org/#attr-link-type https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style * HTML Cleanup: Convert from XHTML to HTML5 * Removed XML declaration. * Removed XML namespace. * Changed doctype to HTML5. * HTML Cleanup: CDATA tags. * CDATA sections should not be used within HTML they are considered as comments and not displayed. https://developer.mozilla.org/en-US/docs/Web/API/CDATASection * HTML Cleanup: Script tags. * Removed `language` attribute from script tags. (No longer valid in HTML5) * Removed `type` attribute with JavaScript MIME type from script tags. (HTML5 spec recommends omitting it.) https://html.spec.whatwg.org/multipage/scripting.html#attr-script-type https://mimesniff.spec.whatwg.org/#javascript-mime-type Signed-off-by: Mustafa Can Elmacı <mustafacan@elmaci.net>
2022-08-03luci-compat: fix common cbi-page-actions positionFlorian Eckert
With legacy applications, the common page actions "Save and Apply" are not displayed correctly, so that they are not aligned on the right as with javascript applications. To fix the alignment, the control-group css class is removed. This was determined with the application 'luci-app-nft-qos' with the theme 'luci-theme-bootstrap'. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-04-20luci-compat: apply permission constraints from dispatcherJo-Philipp Wich
Since template scopes aren't shared we cannot pass the writable state from the map templates to the page footer. Fixes: #3937 Fixes: ffd627f2a ("luci-compat: disable legacy cbi forms on insufficient ACLs") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-19luci-compat: disable legacy cbi forms on insufficient ACLsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23luci-compat: footer.htm: tweak CSS classesJo-Philipp Wich
- Use .btn CSS class for page action buttons - Use .control-group class for page action div Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03treewide: move server side CBI support to luci-compatJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>