diff options
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> <? |