diff options
author | Ted Trask <ttrask01@yahoo.com> | 2011-07-05 19:04:40 -0400 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2011-07-05 19:04:40 -0400 |
commit | e14a5488926bb5f9aaeb40e3b74803ef0daf9467 (patch) | |
tree | d7b0e262bfbede3c5593fa5bc9843ad12aad51b3 /ospf-status-html.lsp | |
parent | 2acea3b4c25f843f4292da4fe9eea78cf97ca736 (diff) | |
download | acf-quagga-e14a5488926bb5f9aaeb40e3b74803ef0daf9467.tar.bz2 acf-quagga-e14a5488926bb5f9aaeb40e3b74803ef0daf9467.tar.xz |
Fixed all expert, startstop, and status symlinks
Diffstat (limited to 'ospf-status-html.lsp')
l---------[-rwxr-xr-x] | ospf-status-html.lsp | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/ospf-status-html.lsp b/ospf-status-html.lsp index 1f5e1f8..b2f8480 100755..120000 --- a/ospf-status-html.lsp +++ b/ospf-status-html.lsp @@ -1,33 +1 @@ -<% local data, viewlibrary, page_info, session = ... -require("viewfunctions") -%> - -<% displaycommandresults({"install","edit"}, session) %> -<% displaycommandresults({"startstop"}, session) %> - -<H1>System Info</H1> -<DL> -<% -displayitem(data.value.status) - -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?package="..data.value.version.name) %>" method="POST"> - <input class='submit' type='submit' value='Install'></form></DD> -<% -end - -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?servicename="..data.value.autostart.name.."&redir=".. page_info.orig_action) %>" method="POST"> - <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 |