Web elements.lua: Difference between revisions

From Alpine Linux
No edit summary
 
(Added Obsolete box: refers to legacy 2012 version.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Obsolete|This version relates to the legacy Alpine Configuration Framework (ACF) (2012}}
=== render_table ===
=== render_table ===
'''INPUT:'''<BR>
'''INPUT:'''<BR>
Line 36: Line 38:
** HTML formated output/elements
** HTML formated output/elements
** <span style="color:red;">The output is partially generated by html.lua</span>
** <span style="color:red;">The output is partially generated by html.lua</span>
[[Category:Lua]]

Latest revision as of 04:10, 3 January 2026

This material is obsolete ...

This version relates to the legacy Alpine Configuration Framework (ACF) (2012 (Discuss)

render_table

INPUT:
This library function required the following inputs/parameters.

  • Element
    • The element should be type 'table'
    • Element could be: group, label, html, log, link, form
  • Level
    • Level should be a 'number'

OUTPUT:
This library function deliverers the following output/parameters.

  • HTML
    • HTML formated output/elements
    • The output is partially generated by html.lua

render_mainmenu

INPUT:
This library function required the following inputs/parameters.

  • menu
  • prefix
  • controller
  • action

OUTPUT:
This library function deliverers the following output/parameters.

  • MainMenu (HTML)
    • HTML formated output/elements
    • The output is partially generated by html.lua

render_submenu

INPUT:
This library function required the following inputs/parameters.

  • menu
  • group
  • cat
  • subcat

OUTPUT:
This library function deliverers the following output/parameters.

  • SubMenu (HTML)
    • HTML formated output/elements
    • The output is partially generated by html.lua