diff options
author | Mika Havela <mika.havela@gmail.com> | 2008-03-03 17:04:09 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2008-03-03 17:04:09 +0000 |
commit | 5efdb63c96edeebcc4accd7d34c5b7b7d2b8bd1d (patch) | |
tree | 8f8e0df35f4b2d37367b9dc842f89f473a353d53 | |
parent | a693fad63ddef255c2550e8f068b3c9d460dbaba (diff) | |
download | acf-dhcp-5efdb63c96edeebcc4accd7d34c5b7b7d2b8bd1d.tar.bz2 acf-dhcp-5efdb63c96edeebcc4accd7d34c5b7b7d2b8bd1d.tar.xz |
Added sortnumbers to the menu-file.
Small graphical updates to the view-files.
git-svn-id: svn://svn.alpinelinux.org/acf/dhcp/trunk@798 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r-- | dhcp-createnet-html.lsp | 3 | ||||
-rw-r--r-- | dhcp-editnet-html.lsp | 2 | ||||
-rw-r--r-- | dhcp-editspc-html.lsp | 3 | ||||
-rw-r--r-- | dhcp-home-html.lsp | 12 | ||||
-rw-r--r-- | dhcp-settings-html.lsp | 2 | ||||
-rw-r--r-- | dhcp.menu | 4 |
6 files changed, 20 insertions, 6 deletions
diff --git a/dhcp-createnet-html.lsp b/dhcp-createnet-html.lsp index be22e05..1b172a3 100644 --- a/dhcp-createnet-html.lsp +++ b/dhcp-createnet-html.lsp @@ -11,7 +11,7 @@ io.write("<p class='error'>" .. form.errcode.msg .. "</p>") end ?> - +<DL> <form action="<? io.write(option.script .. option.prefix .. option.controller .. "/" .. option.action .. option.extra) ?>" method="POST"> @@ -72,4 +72,5 @@ <dt>Cancel and go back</dt> <dd><form action="<? io.write(option.script .. option.prefix .. option.controller .. "/home") ?> method="POST"> <input type=submit name="cmd" value="back" class="submit"></form></dd> +</DL> diff --git a/dhcp-editnet-html.lsp b/dhcp-editnet-html.lsp index d5cf0cf..694a74f 100644 --- a/dhcp-editnet-html.lsp +++ b/dhcp-editnet-html.lsp @@ -28,6 +28,7 @@ option.controller .. "/" .. option.action .. option.extra) ?>" method="POST"> <input type="hidden" name="name" value="<? io.write(net.name.value) ?>"> <input type="hidden" name="dynhost1" value=""> +<DL> <dt>Name</dt> <dd><? io.write(net.name.value) ?></dd> @@ -78,6 +79,7 @@ ?> </select></dd> </form> +</DL> <form action="<? io.write(option.script .. option.prefix .. option.controller .. "/home") ?>" method="POST"> diff --git a/dhcp-editspc-html.lsp b/dhcp-editspc-html.lsp index a8197d7..166eeef 100644 --- a/dhcp-editspc-html.lsp +++ b/dhcp-editspc-html.lsp @@ -22,7 +22,7 @@ them unless you know what you are doing. <textarea name="postconfig"><? io.write(form.value.postconfig) ?></textarea> <h2>Submit/Cancel</h2> - +<DL> <dt>Submit above settings</dt> <dd><input type="submit" name="cmd" value="update" class="submit"></dd> @@ -31,5 +31,6 @@ them unless you know what you are doing. <dt>Cancel and go back</dt> <dd><form action="<? io.write(option.script .. option.prefix .. option.controller .. "/home") ?>" method="POST"> <input type=submit name="cmd" value="back" class="submit"></form></dd> +</DL> diff --git a/dhcp-home-html.lsp b/dhcp-home-html.lsp index 5055fad..9bfc6cf 100644 --- a/dhcp-home-html.lsp +++ b/dhcp-home-html.lsp @@ -6,6 +6,7 @@ <h1>Home</h1> <h2>System info</h2> +<DL> <dt>Program version</dt> <dd><? io.write(form.info.version.value) ?></dd> @@ -19,11 +20,13 @@ <input type=submit name="srvcmd" value="restart" class="submit"></form> <p class='error'><? io.write( form.info.srvctrl.value ) ?></p> </dd> +</DL> <H2>Change/Generate settings</H2> <H3>Global</H3> +<DL> <dt>Edit global settings</dt> <dd><form action="<? io.write(data.script .. data.prefix .. data.controller .. "/settings") ?>" method="POST"> <input type=submit name="cmd" value="edit" class="submit"> @@ -34,9 +37,11 @@ <dd><form action="<? io.write(data.script .. data.prefix .. data.controller .. "/editspc") ?>" method="POST"> <input type=submit name="cmd" value="edit" class="submit"> </form></dd> +</DL> <H3>Subnet declarations</H3> +<DL> <dt>Edit subnet</dt> <dd><form action="<? io.write(data.script .. data.prefix .. data.controller .. "/editnet") ?>" method="POST"> <select class="select" name="network" size="1"> @@ -53,16 +58,18 @@ <dd><form action="<? io.write(data.script .. data.prefix .. data.controller .. "/createnet") ?>" method="POST"> <input type=submit name="cmd" value="new" class="submit"> </form></dd> +</DL> <h3>Generate config</h3> - +<DL> <dt>Generate Configuration File</dt> <dd><form action="<? io.write(data.script .. data.prefix .. data.controller .. "/home") ?>" method="POST"> <input type=submit name="cmd" value="generate" class="submit"></form> <? if form.genmsg ~= nil then io.write( "<p class='error'>" .. form.genmsg .. "</p>" ) end ?></dd> +</DL> <h2>View files</h2> - +<DL> <form action="<? io.write(data.script .. data.prefix .. data.controller .. "/view") ?>" method="POST"> <dt>View dhcpd.conf</dt> <dd><input type=submit name="conf" value="dhcpd.conf" class="submit"></dd> @@ -70,5 +77,6 @@ <dt>View dhcpd.leases</dt> <dd><input type=submit name="leases" value="dhcpd.leases" class="submit"></dd> </form> +</DL> diff --git a/dhcp-settings-html.lsp b/dhcp-settings-html.lsp index f8eb173..1654d29 100644 --- a/dhcp-settings-html.lsp +++ b/dhcp-settings-html.lsp @@ -12,6 +12,7 @@ end ?> +<DL> <form action="<? io.write(option.script .. option.prefix .. option.controller .. "/" .. option.action .. option.extra) ?>" method="POST"> @@ -32,5 +33,6 @@ <dt>Cancel and go back</dt> <dd><form action="<? io.write(option.script .. option.prefix .. option.controller .. "/home") ?> method="POST"> <input type=submit name="cmd" value="back" class="submit"></form></dd> +</DL> @@ -1,4 +1,4 @@ # Prefix and controller are already known at this point # Cat Group Tab Action -Networking DHCP_Server Home home -Networking DHCP_Server Help help +Networking 10DHCP Home home +Networking 10DHCP Help help |