summaryrefslogtreecommitdiffstats
path: root/lbu-status-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-04-10 04:59:37 +0000
committerTed Trask <ttrask01@yahoo.com>2014-04-10 04:59:37 +0000
commit37a61d7a8f2538b1fcb0f9b636345c84d74d5cf6 (patch)
tree3bdf36b571cd4eea3868f1976274666bcab42fea /lbu-status-html.lsp
parentcb6b77833f255b8acbf61fb0c343c01dbf845a84 (diff)
downloadacf-alpine-conf-37a61d7a8f2538b1fcb0f9b636345c84d74d5cf6.tar.bz2
acf-alpine-conf-37a61d7a8f2538b1fcb0f9b636345c84d74d5cf6.tar.xz
Changes to use new htmlviewfunctions functions
Diffstat (limited to 'lbu-status-html.lsp')
-rw-r--r--lbu-status-html.lsp13
1 files changed, 4 insertions, 9 deletions
diff --git a/lbu-status-html.lsp b/lbu-status-html.lsp
index 58739d4..e3966b0 100644
--- a/lbu-status-html.lsp
+++ b/lbu-status-html.lsp
@@ -1,19 +1,14 @@
-<% local view, viewlibrary, pageinfo, session = ...
+<% local view, viewlibrary, page_info, session = ...
htmlviewfunctions = require("htmlviewfunctions")
%>
-<h1>System Info</h1>
<%
if view.value.committed.value then
view.value.committed.value = "There are no uncommitted files"
else
view.value.committed.value = "WARNING!\nUntil you commit, you will lose your changes at next reboot/shutdown!"
end
-view.value.committed.type = "string"
-htmlviewfunctions.displayitem(view.value.committed)
+view.value.committed.type = "text"
-for name,value in pairs(view.value) do
- if name ~= "committed" then
- htmlviewfunctions.displayitem(value)
- end
-end %>
+htmlviewfunctions.displayitem(view, page_info)
+%>