summaryrefslogtreecommitdiffstats
path: root/lbu-config-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-01-17 11:02:33 +0000
committerMika Havela <mika.havela@gmail.com>2008-01-17 11:02:33 +0000
commit8382f7ff7f1131a75331751afb12a00041e9eb91 (patch)
tree8bb03ca6283246f8b315b0a9791ec08033fa246b /lbu-config-html.lsp
parenta83f38291b0de75d5f92f5cda7a9cabd8518faee (diff)
downloadacf-alpine-conf-8382f7ff7f1131a75331751afb12a00041e9eb91.tar.bz2
acf-alpine-conf-8382f7ff7f1131a75331751afb12a00041e9eb91.tar.xz
Some more information on status-page.
Added include/exclude list to the config-page. git-svn-id: svn://svn.alpinelinux.org/acf/lbu/trunk@596 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lbu-config-html.lsp')
-rw-r--r--lbu-config-html.lsp31
1 files changed, 30 insertions, 1 deletions
diff --git a/lbu-config-html.lsp b/lbu-config-html.lsp
index 095f6bc..2dba128 100644
--- a/lbu-config-html.lsp
+++ b/lbu-config-html.lsp
@@ -26,6 +26,35 @@
</select></dd>
</dl>
+<H3>Include/exclude list</H3>
+<dl>
+<dt>Included item(s)</dt>
+<dd><select name="lbu_included" size="3">
+<? for i=1, table.maxn(view.config.lbu_included or {}) do ?>
+<option value="<?= view.config.lbu_included[i] ?>"><?= view.config.lbu_included[i] ?></option>
+<? end ?>
+</select></dd>
+</dl>
+
+<dl>
+<dt>Delete selected include-item</dt>
+<dd><input name="cmd_delete_included" class="submit" type="submit" value="Delete" disabled> (see above)</dd>
+</dl>
+
+<dl>
+<dt>Excluded item(s)</dt>
+<dd><select name="lbu_excluded" size="3">
+<? for i=1, table.maxn(view.config.lbu_excluded or {}) do ?>
+<option value="<?= view.config.lbu_excluded[i] ?>"><?= view.config.lbu_excluded[i] ?></option>
+<? end ?>
+</select></dd>
+</dl>
+
+<dl>
+<dt>Delete selected exclude-item</dt>
+<dd><input name="cmd_delete_excluded" class="submit" type="submit" value="Delete" disabled> (see above)</dd>
+</dl>
+
<H3>Security/Encryption</H3>
<dl>
@@ -71,7 +100,7 @@
<?
----[[ DEBUG INFORMATION
+--[[ DEBUG INFORMATION
require("debugs")
io.write(debugs.variables(view))
--]]