summaryrefslogtreecommitdiffstats
path: root/shorewall-read-html.lsp
blob: 831a350d38c9d272767329d387ada11226b0fb85 (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
<? local view = ... ?>

<h1>Firewall configuration</h1>

<h2>SYSTEM INFO</h2>

<dt>Program version</dt>
<dd><?= view.programstats.programversion ?></dd>

<dt>Program status</dt>
<dd><?= view.programstats.programstatus ?></dd>

<dt>Program state</dt>
<dd><?= view.programstats.programstate ?></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))
--]]
?>