diff options
author | Mika Havela <mika.havela@gmail.com> | 2008-04-02 11:43:27 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2008-04-02 11:43:27 +0000 |
commit | 15f432dd230df053f861e97638aed42befab24f9 (patch) | |
tree | e73223e039cd3f8448fb448ea5fae680f006cc08 /ipsectools-expert-html.lsp | |
parent | bfbd3a922f57bded604819b2bd6d0703fabf985b (diff) | |
download | acf-ipsec-tools-15f432dd230df053f861e97638aed42befab24f9.tar.bz2 acf-ipsec-tools-15f432dd230df053f861e97638aed42befab24f9.tar.xz |
Added /etc/ipsec.conf to the expert-tab.v0.2.0
git-svn-id: svn://svn.alpinelinux.org/acf/ipsec-tools/trunk@893 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'ipsectools-expert-html.lsp')
-rw-r--r-- | ipsectools-expert-html.lsp | 30 |
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 |