diff options
Diffstat (limited to 'acfupdate-html.lsp')
-rw-r--r-- | acfupdate-html.lsp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/acfupdate-html.lsp b/acfupdate-html.lsp new file mode 100644 index 0000000..0b61e7f --- /dev/null +++ b/acfupdate-html.lsp @@ -0,0 +1,30 @@ +<? 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>New updates</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>Summary</h3> + <pre>-- End of updates --</pre> +<? end ?> + +<? +--[[ DEBUG INFORMATION +require("debugs") +io.write(debugs.variables(view)) +--]] +?> |