summaryrefslogtreecommitdiffstats
path: root/shorewall-status-html.lsp
blob: bb9a0d75db11e1978c0a805976b7f8bd91b9762b (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>

<dt>Program status</dt>
<DD><?= view.status.status ?></DD>

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

<H2>PROGRAM SPECIFIC OPTIONS/INFORMATION</H2>
<dt>Program reports</dt>
<dd><?= view.status.state ?></dd>


<? --[[ ?>
<H2>MANAGEMENT</H2>
<dt>Preform check of configs</dt>
<dd><form name="check" action="" method="POST"><input type="submit" name="cmd" value="check" class="submit"></form></dd>
<? --]] ?>

<? --[[ ?>
<dt>Preform fw restart</dt>
<dd><form name="restart" action="" method="POST"><input type="submit" name="cmd" value="restart" class="submit"></form><? if (view.programstats.restart) then io.write(view.programstats.restart) end ?></dd>
<? --]] ?>

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