openwrt-luci/docs
Mustafa Can Elmacı ae8bbb814f treewide: HTML Cleanup
* 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>
2024-11-22 22:39:46 +01:00
..
api luci-base(-libs): move pcdata() and striptags() from util- to xml-class 2020-07-19 20:14:35 +02:00
jsapi CI: automatically update jsapi docs 2021-10-08 17:16:04 -10:00
CBI.md docs: Synchronize with Wiki 2023-08-10 13:10:37 +03:00
i18n.md docs: structuring and overhaul 2024-02-15 18:09:10 +01:00
JsonRpcHowTo.md docs: Synchronize with Wiki 2023-08-10 13:10:37 +03:00
LMO.md docs: update the reference implementation source 2024-09-28 11:14:12 +03:00
LuCI-0.10.md treewide: HTML Cleanup 2024-11-22 22:39:46 +01:00
Modules.md docs: Synchronize with Wiki 2023-08-10 13:10:37 +03:00
ModulesHowTo.md docs: structuring and overhaul 2024-02-15 18:09:10 +01:00
README.md docs: structuring and overhaul 2024-02-15 18:09:10 +01:00
Templates.md docs: Synchronize with Wiki 2023-08-10 13:10:37 +03:00
ThemesHowTo.md treewide: HTML Cleanup 2024-11-22 22:39:46 +01:00

LuCI Documentation

See Wiki LuCI Technical Reference

API Reference

Deprecated API Reference (older Lua based APIs)

  • CBI models reference:CBI models are Lua files describing the structure of an UCI config file and the resulting HTML form to be evaluated by the CBI parser
  • How to make LuCI Lua Modules: No new Lua modules for client side display are accepted, but some server side things are still done in Lua
  • LMO - Lua Machine Objects: to pack language strings into a more efficient form for Lua
  • Server side Lua APIs
  • Templates: template processor which parses HTML-files to Lua functions and allows to store precompiled template files

Archived

  • LuCI-0.10: No longer used, but useful reference if you encounter older LuCI versions.