require ("web_elements") local function fwrite(fmt, ...) return io.write(string.format(fmt, ...)) end local function footer(time) fwrite("
\n

This request was processed in approximately %d seconds

\n
",time) end header = [[ content-type: text/html Alpine log view ]] -- print(header) print("\n
") fwrite("

%s

",cf.hostinfo.alpine_hostname) fwrite("

%s

",cf.hostinfo.alpine_release) print("
") print ('

]]) -- get the wc and view tables -- walk the tree web_elements.render_table ( view ) print("

\n
") print(footer(cf.time)) print("") -- /* vim: set filetype=lua : */