summaryrefslogtreecommitdiffstats
path: root/syslog-status-html.lsp
blob: 6cd46a4580cbebd4e9f62afc5016e312da351b65 (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>

<h2>SYSTEM INFO</h2>

<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>

<H3>PROGRAM SPECIFIC OPTIONS</H3>
<? 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 ?>



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