summaryrefslogtreecommitdiffstats
path: root/ipsectools-expert-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'ipsectools-expert-html.lsp')
-rw-r--r--ipsectools-expert-html.lsp30
1 files changed, 28 insertions, 2 deletions
diff --git a/ipsectools-expert-html.lsp b/ipsectools-expert-html.lsp
index cf70091..604a276 100644
--- a/ipsectools-expert-html.lsp
+++ b/ipsectools-expert-html.lsp
@@ -52,7 +52,7 @@ displayinfo(myform,tags,"viewonly")
<form name="myform" action="" method="POST">
<h1>CONFIGURATION</h1>
-<H2>Expert config</H2>
+<H2>Expert config - Config</H2>
<h3>File details</h3>
<DL>
<?
@@ -68,7 +68,7 @@ local myform = form.file
io.write(html.form[myform.filecontent.type](myform.filecontent))
?>
-<H2>SAVE AND APPLY ABOVE SETTINGS</H2>
+<H3>SAVE AND APPLY ABOVE SETTINGS</H3>
<DL>
<?
local tags = { "cmdsave", }
@@ -78,6 +78,32 @@ displayinfo(myform,tags)
</form>
+<form name="myform" action="" method="POST">
+<H2>Expert config - Policy</H2>
+<h3>File details</h3>
+<DL>
+<?
+local myform = form.file
+local tags = { "filename2", "filesize2", "mtime2", "sumerrors2", }
+displayinfo(myform,tags,"viewonly")
+?>
+</DL>
+
+<H3>FILE CONTENT</H3>
+<?
+local myform = form.file
+io.write(html.form[myform.filecontent2.type](myform.filecontent2))
+?>
+
+<H3>SAVE AND APPLY ABOVE SETTINGS</H3>
+<DL>
+<?
+local tags = { "cmdsave2", }
+displayinfo(myform,tags)
+?>
+</DL>
+
+</form>
<? -- MANAGEMENT BUTTONS
local cmdform = form.management
local cmdresult = form.cmdmanagement