diff options
author | Mika Havela <mika.havela@gmail.com> | 2008-01-25 07:34:08 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2008-01-25 07:34:08 +0000 |
commit | b437cd58826ebb97ea127febfad6eed7eaa897f3 (patch) | |
tree | d3824268010ff56532a35723519a2f7ed3efadf5 /syslog-expert-html.lsp | |
parent | 0f852344dc6758605321bccec501d0c26c6e4c6f (diff) | |
download | acf-alpine-baselayout-b437cd58826ebb97ea127febfad6eed7eaa897f3.tar.bz2 acf-alpine-baselayout-b437cd58826ebb97ea127febfad6eed7eaa897f3.tar.xz |
More bugfixes caused by a missing or empty config-file
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@646 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'syslog-expert-html.lsp')
-rw-r--r-- | syslog-expert-html.lsp | 56 |
1 files changed, 23 insertions, 33 deletions
diff --git a/syslog-expert-html.lsp b/syslog-expert-html.lsp index 97dd3d5..694ea7c 100644 --- a/syslog-expert-html.lsp +++ b/syslog-expert-html.lsp @@ -3,34 +3,26 @@ <h1>SYSTEM INFO</h1> <DL> -<dt>Program status</dt> -<DD><? if (view.status.enabled) then io.write('Enabled') else io.write('Disabled') end ?></DD> -</DL> + <dt>Program status</dt> + <DD><? if (view.status.enabled) then io.write('Enabled') else io.write('Disabled') end ?></DD> -<DL> -<dt>Program version</dt> -<dd><?= view.status.version ?></dd> + <dt>Program version</dt> + <dd><?= view.status.version ?></dd> </DL> <h1>CONFIGURATION</h1> - <H2>Expert config</H2> - <h3>File details</h3> <DL> -<dt>File name</dt> -<dd><?= view.file.details.path ?></dd> -</DL> + <dt>File name</dt> + <dd><?= view.file.details.path ?></dd> -<DL> -<dt>File size</dt> -<dd><?= view.file.details.size ?></dd> -</DL> + <dt>File size</dt> + <dd><?= view.file.details.size ?></dd> -<DL> -<dt>Last modified</dt> -<dd><?= view.file.details.mtime ?></dd> + <dt>Last modified</dt> + <dd><?= view.file.details.mtime ?></dd> </DL> <h3>File content</h3> @@ -41,27 +33,25 @@ <H2>Save and apply above settings</H2> <DL> -<DT>Apply settings</DT> -<DD><input class="submit" type="submit" value="Apply"/></DD> + <DT>Apply settings</DT> + <DD><input class="submit" type="submit" name="cmdsave" value="Apply"/></DD> </DL> <H1>MANAGEMENT</H1> <dl> -<dt>Program controll-panel</dt> -<dd><form name="cmd" action="" method="POST"> -<input type=submit class="submit" name="cmd" value="start" disabled> -<input type=submit class="submit" name="cmd" value="stop" disabled> -<input type=submit class="submit" name="cmd" value="restart" disabled> -</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 ?> <? --[[ DEBUG INFORMATION |