summaryrefslogtreecommitdiffstats
path: root/lbu-commit-html.lsp
blob: ffba7a44a9ff7004f6b9aa625cd5fc38dcefdc94 (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
49
50
51
<? 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>Remove existing apk.ovls from media</dt>
		<dd><input type="checkbox" class="checkbox" name="lbucleanmedia" >
<p class=attention>Attention!</p><p>By checking this box, you remove all existing archives from the <?= view.status.LBU_MEDIA ?> when commiting (adding the '-d' flag to the commit action).<br>This needs to be done when you want/dont want to encrypt your archive and there already exists archives on the media.<BR>There can only be one sort of arcive on the media.</dd>
	<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))
--]]
?>