summaryrefslogtreecommitdiffstats
path: root/lbu-status-html.lsp
diff options
context:
space:
mode:
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)
+%>