From 272e1f2444e68ed59533719f433b9435aa7f48a7 Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Thu, 31 Jan 2008 16:23:48 +0000 Subject: Changing things so we use cfe for sending/receiving things from model and controller. The view-file is using loops instead to reduce code. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@668 ab2d0c66-481e-0410-8bed-d214d4d58bed --- syslog-status-html.lsp | 67 +++++++++++++++++++++++++++++++------------------- 1 file changed, 42 insertions(+), 25 deletions(-) (limited to 'syslog-status-html.lsp') diff --git a/syslog-status-html.lsp b/syslog-status-html.lsp index c5b1c0d..d6f5ced 100644 --- a/syslog-status-html.lsp +++ b/syslog-status-html.lsp @@ -1,35 +1,52 @@ - - -

SYSTEM INFO

+ +DEBUGGING

DEBUG INFO: CFE

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

SYSTEM INFO

-
-

+ 0) then io.write(" class='error'") end + io.write(">" .. val.label .. "\n") + + io.write("\t\t
" .. val.value .. "\n") + if (val.descr) and (#val.descr > 0) then io.write("\t\t

" .. val.descr .. "

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

" .. val.errtxt .. "

\n") end + io.write("\t\t
\n") -
-

+end ?>

PROGRAM SPECIFIC OPTIONS/INFORMATION

- -
-

- - - -
-

- + 0) then io.write(" class='error'") end + io.write(">" .. val.label .. "\n") + + io.write("\t\t
" .. val.value .. "\n") + if (val.descr) and (#val.descr > 0) then io.write("\t\t

" .. val.descr .. "

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

" .. val.errtxt .. "

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

DEBUGGING

-

CFE debugging

- - + -- cgit v1.2.3