From bf5d83c373f610aea01220b74b77590bdf0a473f Mon Sep 17 00:00:00 2001 From: Mike Mason Date: Fri, 23 Nov 2007 18:32:46 +0000 Subject: Cleaning up libraries git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@363 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lib/log_view.lua | 56 -------------------------------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 lib/log_view.lua (limited to 'lib/log_view.lua') diff --git a/lib/log_view.lua b/lib/log_view.lua deleted file mode 100644 index f32400e..0000000 --- a/lib/log_view.lua +++ /dev/null @@ -1,56 +0,0 @@ -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 : */ -- cgit v1.2.3