From 422d93b32eb1c30d9a684146d258ed01ab99a850 Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Thu, 14 Feb 2008 15:33:20 +0000 Subject: Rebuilt LBU so it uses cfe instead. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@719 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lbu-commit-html.lsp | 91 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 55 insertions(+), 36 deletions(-) (limited to 'lbu-commit-html.lsp') diff --git a/lbu-commit-html.lsp b/lbu-commit-html.lsp index f86bef1..a23b907 100644 --- a/lbu-commit-html.lsp +++ b/lbu-commit-html.lsp @@ -1,53 +1,72 @@ - - -

SYSTEM INFO

+ +DEBUGGING

DEBUG INFO: CFE

") +io.write(html.cfe_unpack(form)) +io.write("
") +--]] +?> +") + for k,v in pairs(tags) do + if (myform[v]) and (myform[v]["value"]) then + local val = myform[v] + io.write("\t 0) then + val.class = "error" + io.write(" class='error'") + end + io.write(">" .. val.label .. "\n") + if (viewonly) then + io.write("\t\t
" .. val.value .. "\n") + else + io.write("\t\t
" .. html.form[val.type](val) .. "\n") + end + if (val.descr) and (#val.descr > 0) then io.write("\t\t

" .. string.gsub(val.descr, "\n", "
") .. "

\n") end + if (#val.errtxt > 0) then io.write("\t\t

" .. string.gsub(val.errtxt, "\n", "
") .. "

\n") end + io.write("\t\t
\n") + end + end + io.write("") +end +?> -
-
Program status
-
-
Program version
-
-
+

SYSTEM INFO

+

PROGRAM SPECIFIC OPTIONS/INFORMATION

-
-
Archives will be saved to
-
No default - (Needs to be configured)

" ?>
-
Archives will be encrypted
-
(Using cipher: " .. view.status.DEFAULT_CIPHER .. ")") else io.write("No") end ?>
-
+

MANAGEMENT

-

Save to media

-
-
Simulate/Test a commit
-
-
Actually Commit and save changes
-
- -
Remove existing apk.ovls from media
-
-

By checking this box, you remove all existing archives from the when commiting (adding the '-d' flag to the commit action).
This needs to be done when you want/dont want to encrypt your archive and there already exists archives on the media.
There can only be one sort of arcive on the media.

If you dont remove existing apk.ovls from media, your commit will most likely fail.

- -
+
- - - -
- +
+
Result of previous action
-
+
-
+
DEBUGGING

DEBUG INFO: CFE

") +io.write(html.cfe_unpack(form)) +io.write("
") --]] ?> -- cgit v1.2.3