Class luci.template

LuCI template library.

Functions

compile (template) Manually compile a given template into an executable Lua function
render (name, scope) Render a certain template.


Functions

compile (template)
Manually compile a given template into an executable Lua function

Parameters

  • template: LuCI template

Return value:

Lua template function
render (name, scope)
Render a certain template.

Parameters

  • name: Template name
  • scope: Scope to assign to template (optional)

Valid XHTML 1.0!