summaryrefslogtreecommitdiffstats
path: root/lbu-basicstatus-html.lsp
blob: 6b8a77dd090637d6b64c758ab20a37e2c1f603eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<? local view, viewlibrary, pageinfo, session = ... 
require("viewfunctions")
?>
<?
--[[ DEBUG INFORMATION
io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>")
io.write(html.cfe_unpack(view))
io.write("</span>")
--]]
?>

<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"
displayitem(view.value.committed)

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