summaryrefslogtreecommitdiffstats
path: root/shorewall-check-html.lsp
blob: c41480ae76dfe250bd2c4006c1eedd9dd56d96ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<? local view = ... ?>

<h1>Firewall configuration</h1>

<h2>SHOREWALL CHECK RESULT</h2>
<textarea name="checkresult"><?= view.check.result ?></textarea>

<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="check" action="<? io.write(view.url .. "/read") ?>" method="POST"><input type=submit name="cmd" value="restart" class="submit"></form><? if (view.check.restart) then io.write(view.programstats.restart) end ?></dd>