From c6736a659a64831e5d5532e0e6a5b1d04d3694df Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Fri, 11 May 2012 11:31:04 +0000 Subject: Replaced status page with symlink to standard view --- vlc-status-html.lsp | 37 +------------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) mode change 100644 => 120000 vlc-status-html.lsp (limited to 'vlc-status-html.lsp') diff --git a/vlc-status-html.lsp b/vlc-status-html.lsp deleted file mode 100644 index 3b578a9..0000000 --- a/vlc-status-html.lsp +++ /dev/null @@ -1,36 +0,0 @@ -<% local data, viewlibrary, page_info, session = ... -require("htmlviewfunctions") -%> - -<% htmlviewfunctions.displaycommandresults({"install","edit"}, session) %> -<% htmlviewfunctions.displaycommandresults({"startstop"}, session) %> - -

System Info

-
-<% -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 -%> -
Install package
-
" method="POST"> - -
-<% -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 -%> -
Enable autostart
-
" method="POST"> - - -
-<% end %> -
- -<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("startstop") then - viewlibrary.dispatch_component("startstop") -end %> diff --git a/vlc-status-html.lsp b/vlc-status-html.lsp new file mode 120000 index 0000000..b2f8480 --- /dev/null +++ b/vlc-status-html.lsp @@ -0,0 +1 @@ +../status-html.lsp \ No newline at end of file -- cgit v1.2.3