summaryrefslogtreecommitdiffstats
path: root/skins-read-html.lsp
blob: 95547a53c9a6d96f34c1e6a629f6c40a8bc75134 (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><%= html.html_escape(skin.value) %></dt>
	<% if (skin.inuse) then %>
		<dd>in use</dd>
	<% else %>
		<dd>[<a href="update?skin=<%= html.html_escape(skin.value) %>">use this skin</a>]</dd>
	<% end %>
<% end %>
</DL>