summaryrefslogtreecommitdiffstats
path: root/acfupdate-html.lsp
blob: 60e8ceb865b9be833d65289712ae6531d0baa2fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<% local view = ... %>

<h1>Fetch ACF updates</h1>

<p>Click on the tab <B>update</B> to fetch/update all available projects.</p>
<p>The 'sandbox' project is not automatically fetched/checked out!<BR>
But if you have manually checked it out, you will get a update on it by pressing the <B>update</B> tab.</p>


<h2>Available projects</h2>
<pre><%= view.projects %></pre>

<% if (view.updates) then %>
	<h2>Summary</h2>
	<% for i = 1, table.maxn(view["updates"]["cmdresult"]) do %>
		<% if (view["updates"]["cmdresult"][i]["updates"] ~= "") then %>
			<h3><%= view["updates"]["cmdresult"][i]["name"] %></h3>
			<pre><%= view["updates"]["cmdresult"][i]["updates"] %></pre>
		<% end %>
	<% end %>
	<h3>-- End of updates --</h3>
<% end %>