summaryrefslogtreecommitdiffstats
path: root/lbu-status-html.lsp
blob: 932ced16da1bada40da1250815829383280584ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<% local view, viewlibrary, pageinfo, session = ... 
require("htmlviewfunctions")
%>

<H1>System Info</H1>
<DL>
<%
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)

for name,value in pairs(view.value) do
	if name ~= "committed" then
		htmlviewfunctions.displayitem(value)
	end
end %>
</DL>