summaryrefslogtreecommitdiffstats
path: root/skins-read-html.lsp
blob: 9bb70a0b802a0f8ff6ef93028a9e99ef43ef85aa (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>