diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-05-11 11:31:04 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-05-11 11:31:04 +0000 |
commit | c6736a659a64831e5d5532e0e6a5b1d04d3694df (patch) | |
tree | 228aa600888ee73adeee55aed70f6f186105bf29 | |
parent | 6de563787eab24b3e67cb085644e942245d1a744 (diff) | |
download | acf-vlc-daemon-c6736a659a64831e5d5532e0e6a5b1d04d3694df.tar.bz2 acf-vlc-daemon-c6736a659a64831e5d5532e0e6a5b1d04d3694df.tar.xz |
Replaced status page with symlink to standard view
l---------[-rw-r--r--] | vlc-status-html.lsp | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/vlc-status-html.lsp b/vlc-status-html.lsp index 3b578a9..b2f8480 100644..120000 --- a/vlc-status-html.lsp +++ b/vlc-status-html.lsp @@ -1,36 +1 @@ -<% local data, viewlibrary, page_info, session = ... -require("htmlviewfunctions") -%> - -<% htmlviewfunctions.displaycommandresults({"install","edit"}, session) %> -<% htmlviewfunctions.displaycommandresults({"startstop"}, session) %> - -<H1>System Info</H1> -<DL> -<% -htmlviewfunctions.displayitem(data.value.status) - -htmlviewfunctions.displayitem(data.value.version) -if data.value.version and data.value.version.errtxt and viewlibrary.check_permission("apk-tools/apk/install") then -%> - <DT>Install package</DT> - <DD><form action="<%= html.html_escape(page_info.script .. "/apk-tools/apk/install") %>" method="POST"> - <input type='hidden' name='package' value='<%= html.html_escape(data.value.version.name) %>'> - <input class='submit' type='submit' value='Install'></form></DD> -<% -end - -htmlviewfunctions.displayitem(data.value.autostart) -if not (data.value.version and data.value.version.errtxt) and data.value.autostart and data.value.autostart.errtxt and viewlibrary.check_permission("alpine-baselayout/rc/edit") then -%> - <DT>Enable autostart</DT> - <DD><form action="<%= html.html_escape(page_info.script .. "/alpine-baselayout/rc/edit") %>" method="POST"> - <input type='hidden' name='servicename' value='<%= html.html_escape(data.value.autostart.name) %>'> - <input type='hidden' name='redir' value='<%= html.html_escape(page_info.orig_action) %>'> - <input class='submit' type='submit' value='Enable'></form></DD> -<% end %> -</DL> - -<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("startstop") then - viewlibrary.dispatch_component("startstop") -end %> +../status-html.lsp
\ No newline at end of file |