summaryrefslogtreecommitdiffstats
path: root/syslog-config-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-01-25 16:10:59 +0000
committerMika Havela <mika.havela@gmail.com>2008-01-25 16:10:59 +0000
commit7e224ea050d1be68daf2c2fac9db94f00bc668ee (patch)
tree53ad6859dd4ef3d0d0c91c58589c02b343d622f5 /syslog-config-html.lsp
parentc4432acef0234d1ca0cfb2f610dc51bdee520bfc (diff)
downloadacf-alpine-baselayout-7e224ea050d1be68daf2c2fac9db94f00bc668ee.tar.bz2
acf-alpine-baselayout-7e224ea050d1be68daf2c2fac9db94f00bc668ee.tar.xz
Saving work for the weekend
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@655 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'syslog-config-html.lsp')
-rw-r--r--syslog-config-html.lsp29
1 files changed, 14 insertions, 15 deletions
diff --git a/syslog-config-html.lsp b/syslog-config-html.lsp
index 3b13297..174cb5d 100644
--- a/syslog-config-html.lsp
+++ b/syslog-config-html.lsp
@@ -14,11 +14,12 @@
</DL>
<H1>CONFIGURATION</H1>
+<form name="config" action="" method="POST">
<H2>Advanced config</H2>
<H3>General settings</H3>
<DL>
<DT<? if (view.errors) and (view.errors.LBU_MEDIA) then io.write("class='error'") end ?>>Log to given file</DT>
- <DD><input type="text" class="text" name="smallerlogg" value="<?= view.config["SYSLOGD_OPTS"]["-O"] ?>"/>
+ <DD><input type="text" class="text" name="logfile" value="<?= view.config["SYSLOGD_OPTS"]["-O"] ?>"/>
<? if (view.errors["SYSLOGD_OPTS"]) and (view.errors["SYSLOGD_OPTS"]["-O"]) then io.write("<p class='error'>", view.errors["SYSLOGD_OPTS"]["-O"] ,"</p>") end ?>
</DD>
@@ -95,24 +96,22 @@
<DT>Apply settings</DT>
<DD><input class="submit" type="submit" name="cmdsave" value="Apply" disabled/></DD>
</DL>
-
+</form>
<H1>MANAGEMENT</H1>
<dl>
-<dt>Program controll-panel</dt>
-<dd><form name="cmd" action="" method="POST">
-<input type=submit class="submit" name="cmddaemon" value="start">
-<input type=submit class="submit" name="cmddaemon" value="stop">
-<input type=submit class="submit" name="cmddaemon" value="restart">
-</form></dd>
-</dl>
-
-<? if (view.startstop) and (view.startstop.cmdresult) then ?>
-<dl>
-<dt>Previous action result</dt>
-<dd><pre><?= view.startstop.cmdresult?></pre></dd>
+ <dt>Program controll-panel</dt>
+ <dd><form name="cmd" action="" method="POST">
+ <input type=submit class="submit" name="cmddaemon" value="start">
+ <input type=submit class="submit" name="cmddaemon" value="stop">
+ <input type=submit class="submit" name="cmddaemon" value="restart">
+ </form></dd>
+
+ <? if (view.startstop) and (view.startstop.cmdresult) then ?>
+ <dt>Previous action result</dt>
+ <dd><pre><?= view.startstop.cmdresult?></pre></dd>
+ <? end ?>
</dl>
-<? end ?>
<?