summaryrefslogtreecommitdiffstats
path: root/interfaces-update-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2007-12-20 14:08:26 +0000
committerMika Havela <mika.havela@gmail.com>2007-12-20 14:08:26 +0000
commit1ab9d16c73cce05f6c4488b22fd40ac4d228a9fd (patch)
treeeb6d824f79326c536a71a44bb9e1a565b9a4d32e /interfaces-update-html.lsp
parentabe7c8c6e20037fd40385bed21f1764ce0f41d9f (diff)
downloadacf-alpine-baselayout-1ab9d16c73cce05f6c4488b22fd40ac4d228a9fd.tar.bz2
acf-alpine-baselayout-1ab9d16c73cce05f6c4488b22fd40ac4d228a9fd.tar.xz
Changed the view-files to reflect updates in css
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@426 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'interfaces-update-html.lsp')
-rw-r--r--interfaces-update-html.lsp14
1 files changed, 3 insertions, 11 deletions
diff --git a/interfaces-update-html.lsp b/interfaces-update-html.lsp
index ef53642..09743f3 100644
--- a/interfaces-update-html.lsp
+++ b/interfaces-update-html.lsp
@@ -4,7 +4,6 @@
<form action="<?= form.option.script .. "/" .. form.option.prefix ..
form.option.controller .. "/" .. form.option.action ..
form.option.extra ?>" method="POST">
-<table>
<? local myform = form.value
@@ -18,19 +17,12 @@ local tags = { "comment", "method", "address", "netmask", "gateway",
for i,v in pairs(tags) do
local val = myform[v] ?>
-<tr><td><? if (val.label) then io.write(val.label) else io.write (v) end ?></td><td>
+<dt><? if (val.label) then io.write(val.label) else io.write (v) end ?></dt>
<? if val.name == "" then
val.name = v
end
-
- if val.type == "longtext" then
- val.cols = 60
- val.rows = 3
- end
-
?>
- <?= html.form[val.type](val) ?>
-</td></tr>
+ <dd><?= html.form[val.type](val) ?></dd>
<? end ?>
-</table>
</form>
+