From ac8c1b11f54c82db96dc0f260c1238c472babf85 Mon Sep 17 00:00:00 2001 From: hkernbach Date: Mon, 18 Apr 2016 13:47:02 +0200 Subject: [PATCH] help us view, cluster state --- .../APP/frontend/js/routers/router.js | 4 +- .../APP/frontend/js/templates/helpUsView.ejs | 7 +++ .../frontend/js/templates/navigationView.ejs | 1 + .../APP/frontend/js/views/footerView.js | 45 +++++++++++++++++++ .../APP/frontend/js/views/helpUsView.js | 18 ++++++++ 5 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 js/apps/system/_admin/aardvark/APP/frontend/js/templates/helpUsView.ejs create mode 100644 js/apps/system/_admin/aardvark/APP/frontend/js/views/helpUsView.js diff --git a/js/apps/system/_admin/aardvark/APP/frontend/js/routers/router.js b/js/apps/system/_admin/aardvark/APP/frontend/js/routers/router.js index 015f69fea8..d5e1ad689f 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/js/routers/router.js +++ b/js/apps/system/_admin/aardvark/APP/frontend/js/routers/router.js @@ -142,7 +142,9 @@ collection: this.arangoCollectionsStore }); - this.footerView = new window.FooterView(); + this.footerView = new window.FooterView({ + collection: self.coordinatorCollection + }); this.notificationList = new window.NotificationCollection(); this.currentDB.fetch({ diff --git a/js/apps/system/_admin/aardvark/APP/frontend/js/templates/helpUsView.ejs b/js/apps/system/_admin/aardvark/APP/frontend/js/templates/helpUsView.ejs new file mode 100644 index 0000000000..09d1672ab5 --- /dev/null +++ b/js/apps/system/_admin/aardvark/APP/frontend/js/templates/helpUsView.ejs @@ -0,0 +1,7 @@ + + + + diff --git a/js/apps/system/_admin/aardvark/APP/frontend/js/templates/navigationView.ejs b/js/apps/system/_admin/aardvark/APP/frontend/js/templates/navigationView.ejs index dc31468cd8..e2ab2aea14 100644 --- a/js/apps/system/_admin/aardvark/APP/frontend/js/templates/navigationView.ejs +++ b/js/apps/system/_admin/aardvark/APP/frontend/js/templates/navigationView.ejs @@ -1,6 +1,7 @@