diff options
author | Mika Havela <mika.havela@gmail.com> | 2008-01-22 14:34:18 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2008-01-22 14:34:18 +0000 |
commit | 3928babbc55caa5c8b3914fa0a4c26a916c0dbbb (patch) | |
tree | 68a15a0f87652886fbc504ceafd6c4ee728bea45 /lbu-status-html.lsp | |
parent | 7cf8d1ac44d78983252fc0279b955463c6dd68e6 (diff) | |
download | acf-alpine-conf-3928babbc55caa5c8b3914fa0a4c26a916c0dbbb.tar.bz2 acf-alpine-conf-3928babbc55caa5c8b3914fa0a4c26a916c0dbbb.tar.xz |
Now you can modify the configurations.
Committing and SimulatingCommit also works (still work in progress) Needs checks when creating encrypted archives.
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-conf/trunk@626 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lbu-status-html.lsp')
-rw-r--r-- | lbu-status-html.lsp | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/lbu-status-html.lsp b/lbu-status-html.lsp index b7cd769..796212b 100644 --- a/lbu-status-html.lsp +++ b/lbu-status-html.lsp @@ -3,34 +3,29 @@ <h1>SYSTEM INFO</h1> <dl> -<dt>Program status</dt> -<dd><?= view.status.status or "" ?></dd> -</dl> - -<dl> -<dt>Program version</dt> -<dd><?= view.status.version ?></dd> + <dt>Program status</dt> + <dd><?= view.status.status or "" ?></dd> + <dt>Program version</dt> + <dd><?= view.status.version ?></dd> </dl> <H2>PROGRAM SPECIFIC OPTIONS/INFORMATION</H2> -<? if (view.status.LBU_MEDIA) then ?> <dl> -<dt>Archives will be saved to</dt> -<dd><?= view.status.LBU_MEDIA ?></DD> -</dl> +<? if (view.status.LBU_MEDIA) then ?> + <dt>Archives will be saved to</dt> + <dd><?= view.status.LBU_MEDIA ?></DD> <? end ?> - <? if (view.status.ENCRYPTION) then ?> -<dl> -<dt>Archives will be encrypted</dt> -<dd>yes <I>(Using cipher: <?= view.status.DEFAULT_CIPHER or "unknown" ?>)</I></DD> -</dl> + <dt>Archives will be encrypted</dt> + <dd>yes <I>(Using cipher: <?= view.status.DEFAULT_CIPHER or "unknown" ?>)</I></DD> <? end ?> +</dl> +<H2>CHANGES SINCE LAST COMMIT</H2> <dl> -<dt>Files changed since last commit</dt> -<dd><pre><? for i = 1, table.maxn(view.lbustatus) do io.write(view.lbustatus[i]["status"] .. "\t" .. view.lbustatus[i]["name"] .. "\n") end ?></pre></DD> + <dt>Files changed since last commit</dt> + <dd><pre><? for i = 1, table.maxn(view.lbustatus) do io.write(view.lbustatus[i]["status"] .. "\t" .. view.lbustatus[i]["name"] .. "\n") end ?></pre></DD> </dl> <? |