summaryrefslogtreecommitdiffstats
path: root/lbu-expert-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-01-25 15:42:57 +0000
committerMika Havela <mika.havela@gmail.com>2008-01-25 15:42:57 +0000
commit64ed4dd6998ab8cbfe5b4042e9c91fe86a49c551 (patch)
tree239bb21388fe731f1991d483812053fe94fc58ac /lbu-expert-html.lsp
parent1bf6e76a2d62e1f2746a6a4187dbd0d7a82e79f8 (diff)
downloadacf-alpine-conf-64ed4dd6998ab8cbfe5b4042e9c91fe86a49c551.tar.bz2
acf-alpine-conf-64ed4dd6998ab8cbfe5b4042e9c91fe86a49c551.tar.xz
Added a expert-tab like in other acf-modules
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@654 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lbu-expert-html.lsp')
-rw-r--r--lbu-expert-html.lsp45
1 files changed, 45 insertions, 0 deletions
diff --git a/lbu-expert-html.lsp b/lbu-expert-html.lsp
new file mode 100644
index 0000000..29c3bdd
--- /dev/null
+++ b/lbu-expert-html.lsp
@@ -0,0 +1,45 @@
+<? local view = ... ?>
+
+<h1>SYSTEM INFO</h1>
+
+<DL>
+ <dt>Program status</dt>
+ <dd><?= view.status.status or "" ?></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>
+
+ <dt>File size</dt>
+ <dd><?= view.file.details.size ?></dd>
+
+ <dt>Last modified</dt>
+ <dd><?= view.file.details.mtime ?></dd>
+</DL>
+
+<h3>File content</h3>
+
+<form name="myform" action="" method="POST">
+<input name="name" type=hidden value="">
+<textarea name="modifications"><?= view.file.content ?></textarea>
+
+<H2>Save and apply above settings</H2>
+<DL>
+ <DT>Apply settings</DT>
+ <DD><input class="submit" type="submit" name="cmdsave" value="Apply"/></DD>
+</DL>
+
+<?
+--[[ DEBUG INFORMATION
+require("debugs")
+io.write(debugs.variables(view))
+--]]
+?>