summaryrefslogtreecommitdiffstats
path: root/syslog-status-html.lsp
blob: 845abec6f645c7c8ba9e0298488a9ad77468fb48 (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
29
30
31
32
<? local view = ... ?>

<h1>SYSTEM INFO</h1>

<DL>
	<dt>Program status</dt>
		<DD><? if (view.status.enabled) then io.write('Enabled') else io.write('Disabled') end ?></DD>

	<dt>Program version</dt>
		<dd><?= view.status.version ?></dd>
</DL>

<H2>PROGRAM SPECIFIC OPTIONS/INFORMATION</H2>
<DL>
	<? if (view.status.logfile) then ?>
	<dt>Locally logging to</dt>
		<dd><?= view.status.logfile ?></dd>
	<? end ?>

	<? if (view.status.remote) then ?>
	<dt>Remote logging to</dt>
		<dd><?= view.status.remote ?></dd>
	<? end ?>
</DL>


<?
--[[ DEBUG INFORMATION
require("debugs")
io.write(debugs.variables(view))
--]]
?>