summaryrefslogtreecommitdiffstats
path: root/bgp-welcome-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-09-04 15:13:00 +0000
committerMika Havela <mika.havela@gmail.com>2008-09-04 15:13:00 +0000
commit2fb09eb0dee06e74f94b6def6493066214c5f4a9 (patch)
tree82dd74c9c2891a13efd278e3b40c76a80bb9960b /bgp-welcome-html.lsp
parentbb571803d2cce176d5aaab9659733c852bf85b1b (diff)
downloadacf-quagga-2fb09eb0dee06e74f94b6def6493066214c5f4a9.tar.bz2
acf-quagga-2fb09eb0dee06e74f94b6def6493066214c5f4a9.tar.xz
Split Bgp and Zebra into separate controllers.
Earlier there was no chance to start/stop zebra (only bgp) and the whole package was a strange mix of bgp and zebra. Now these processes has own Menuitems and are controlled separately (they both exist in acf-quagga though). git-svn-id: svn://svn.alpinelinux.org/acf/quagga/trunk@1447 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'bgp-welcome-html.lsp')
-rw-r--r--bgp-welcome-html.lsp10
1 files changed, 10 insertions, 0 deletions
diff --git a/bgp-welcome-html.lsp b/bgp-welcome-html.lsp
new file mode 100644
index 0000000..3670b93
--- /dev/null
+++ b/bgp-welcome-html.lsp
@@ -0,0 +1,10 @@
+<% local data, viewlibrary, page_info, session = ...
+require("viewfunctions")
+%>
+
+<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].status then
+ viewlibrary.dispatch_component("status")
+end %>
+<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].details then
+ viewlibrary.dispatch_component("details")
+end %>