summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-01-10 13:48:59 +0000
committerMika Havela <mika.havela@gmail.com>2008-01-10 13:48:59 +0000
commit20ae8454e0289b9aaeb2def43cb041e2c5fb247b (patch)
treec01681d61fd6c491b07bef2c6067debcfe4e392a
parent654032c27bce388045a78fd61af8f3228d1c334f (diff)
downloadacf-shorewall-20ae8454e0289b9aaeb2def43cb041e2c5fb247b.tar.bz2
acf-shorewall-20ae8454e0289b9aaeb2def43cb041e2c5fb247b.tar.xz
Added management button for checking the configs
git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@532 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--shorewall-status-html.lsp6
1 files changed, 4 insertions, 2 deletions
diff --git a/shorewall-status-html.lsp b/shorewall-status-html.lsp
index 4af95f6..3e7d6a8 100644
--- a/shorewall-status-html.lsp
+++ b/shorewall-status-html.lsp
@@ -14,10 +14,12 @@
<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>
<? --]] ?>