summaryrefslogtreecommitdiffstats
path: root/lbu-commit-html.lsp
blob: 6164739e1a95a6875116cb8b026019ea8f0017e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<? local view = ... ?>

<h1>SYSTEM INFO</h1>

<dl>
	<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>
<dl>
	<dt>Archives will be saved to</dt>
		<dd><?= view.status.LBU_MEDIA or "" ?></dd>
	<dt>Archives will be encrypted</dt>
		<dd><? if (view.status.ENCRYPTION) then io.write("yes <I>(Using cipher: " .. view.status.DEFAULT_CIPHER .. ")</I>") else io.write("No") end ?></DD>
</dl>

<H1>MANAGEMENT</H1>

<H2>Save to media</h2>
<form name="cmd" action="" method="POST">
<dl>
	<dt>Simulate/Test a commit</dt>
		<dd><input type=submit class="submit" name="lbusimulate" value="simulate" ></dd>
	<dt>Actually Commit and save changes</dt>
		<dd><input type=submit class="submit" name="lbucommit" value="commit" ></dd>
</dl>
</form>




<dl>
<? if (view.cmdresult) then ?>
	<dt>Result of previous action</dt>
		<dd><pre><?= view.cmdresult ?></pre></DD>
<? end ?>
</dl>

<?
--[[ DEBUG INFORMATION
require("debugs")
io.write(debugs.variables(view))
--]]
?>