diff options
Diffstat (limited to 'lbu-commit-html.lsp')
-rw-r--r-- | lbu-commit-html.lsp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lbu-commit-html.lsp b/lbu-commit-html.lsp index ffba7a4..f86bef1 100644 --- a/lbu-commit-html.lsp +++ b/lbu-commit-html.lsp @@ -12,7 +12,7 @@ <H2>PROGRAM SPECIFIC OPTIONS/INFORMATION</H2> <dl> <dt>Archives will be saved to</dt> - <dd><?= view.status.LBU_MEDIA or "" ?></dd> + <dd><?= view.status.LBU_MEDIA or "<p class=error>No default - (Needs to be configured)</p>" ?></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> @@ -22,13 +22,15 @@ <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> +<? if (view.cmderror) and (view.cmderror["-d"]) then ?> + <dt class=error>Remove existing apk.ovls from media</dt> + <dd><input type="checkbox" class="checkbox" name="lbucleanmedia" > +<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.</p><p>If you dont remove existing apk.ovls from media, your commit will most likely fail.</p></dd> +<? end ?> </dl> </form> |