summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2009-06-29 16:41:36 +0000
committerMika Havela <mika.havela@gmail.com>2009-06-29 16:41:36 +0000
commit20384bcbf556a90608016e8f5c4d17da4685568b (patch)
tree017840ed3a3e66cf43017e9a2b379795edb0816f
parent26e381487533f08a34e52521a76595494aedab77 (diff)
downloadacf-rrdtool-20384bcbf556a90608016e8f5c4d17da4685568b.tar.bz2
acf-rrdtool-20384bcbf556a90608016e8f5c4d17da4685568b.tar.xz
Initial commit on status view-files
-rw-r--r--rrdtool-status-html.lsp12
-rw-r--r--rrdtool-welcome-html.lsp7
2 files changed, 19 insertions, 0 deletions
diff --git a/rrdtool-status-html.lsp b/rrdtool-status-html.lsp
new file mode 100644
index 0000000..b478473
--- /dev/null
+++ b/rrdtool-status-html.lsp
@@ -0,0 +1,12 @@
+<% local data, viewlibrary, page_info, session = ...
+require("viewfunctions")
+%>
+
+<% displaycommandresults({"install","edit"}, session) %>
+
+<H1>System Info</H1>
+<DL>
+<%
+displayitem(data.value.version)
+%>
+</DL>
diff --git a/rrdtool-welcome-html.lsp b/rrdtool-welcome-html.lsp
new file mode 100644
index 0000000..7cf7f79
--- /dev/null
+++ b/rrdtool-welcome-html.lsp
@@ -0,0 +1,7 @@
+<% local data, viewlibrary, page_info, session = ...
+%>
+
+<% if viewlibrary and viewlibrary.dispatch_component then
+ viewlibrary.dispatch_component("status")
+end %>
+