summaryrefslogtreecommitdiffstats
path: root/skins-read-html.lsp
blob: 25ed3006350791b129c30c52ec5dd2535dc50ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<? local view, viewlibrary, page_info, session = ... ?>
<? require("viewfunctions") ?>

<? displaycommandresults({"update"}, session) ?>

<h1>Available skins</h1>

<DL>
<? for i,skin in ipairs(view.value) do ?>
	<dt><?= skin.value ?></dt>
	<? if (skin.inuse) then ?>
		<dd>in use</dd>
	<? else ?>
		<dd>[<a href="update?skin=<?= skin.value ?>">use this skin</a>]</dd>
	<? end ?>
<? end ?>
</DL>