mirror of
https://github.com/openwrt/luci
synced 2025-01-05 10:37:19 +08:00
ae8bbb814f
* 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> |
||
---|---|---|
.. | ||
api | ||
jsapi | ||
CBI.md | ||
i18n.md | ||
JsonRpcHowTo.md | ||
LMO.md | ||
LuCI-0.10.md | ||
Modules.md | ||
ModulesHowTo.md | ||
README.md | ||
Templates.md | ||
ThemesHowTo.md |
LuCI Documentation
See Wiki LuCI Technical Reference
API Reference
- Client side JavaScript APIs
- How to i18n your module: internationalization via *.po and *.pot files
- How to make LuCI JS Modules: see the luci-app-example in the repo
- How to use the JSON-RPC
- How to make themes
- LuCI Modules Reference: can be JS based or Lua (deprecated)
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.