From e970ea8ddf56e2395073291173ed4b84cafa3fda Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Fri, 22 Aug 2014 12:25:10 -0700 Subject: [PATCH] ui: more acl integration, condensing top bar --- ui/index.html | 148 +++++++----------------------- ui/javascripts/app/controllers.js | 93 ++++++++++++++++++- ui/javascripts/app/helpers.js | 18 ++++ ui/javascripts/app/models.js | 33 +++++++ ui/javascripts/app/router.js | 28 +----- ui/javascripts/app/routes.js | 24 ++++- ui/styles/_buttons.scss | 36 +++++--- 7 files changed, 219 insertions(+), 161 deletions(-) diff --git a/ui/index.html b/ui/index.html index 296c8c035d..eff48db12a 100644 --- a/ui/index.html +++ b/ui/index.html @@ -77,21 +77,25 @@ @@ -105,11 +109,11 @@
- {{#link-to 'services' class='btn btn-default col-xs-12'}}Services{{/link-to}} + {{#link-to 'services' (query-params status=checkStatus) tagName="div" href=false }}Services{{/link-to}}
- {{#link-to 'nodes' class='btn btn-default col-xs-12'}}Nodes{{/link-to}} + {{#link-to 'nodes' (query-params status=checkStatus) tagName="div" href=false }}Nodes{{/link-to}}
@@ -120,12 +124,8 @@ {{#link-to 'acls' class='btn btn-default col-xs-12'}}ACL{{/link-to}}
-
- {{#link-to 'services' (query-params status=checkStatus) tagName="div" href=false }}{{ checkMessage }}{{/link-to}} -
- -
- {{model}} +
+ {{model}} {{#if isDropdownVisible}}
@@ -613,81 +585,25 @@