summaryrefslogtreecommitdiffstats
path: root/syslog-status-html.lsp
blob: 6e830ea8b319f1494eef89cd844aab69a4a37211 (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
33
34
35
36
<? 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>
</DL>

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

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

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


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