From 69ffb5e83ab37b49fe6b43d879b89032a01d2f02 Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Fri, 25 Apr 2014 12:45:55 -0400 Subject: [PATCH] ui: link-to for list items, active state --- ui/index.html | 12 ++++++------ ui/javascripts/app.js | 5 +++-- ui/styles/_lists.scss | 19 +++++++++++-------- ui/styles/_panels.scss | 8 ++++++++ 4 files changed, 28 insertions(+), 16 deletions(-) diff --git a/ui/index.html b/ui/index.html index 1d4adee613..6b9cac4344 100644 --- a/ui/index.html +++ b/ui/index.html @@ -61,7 +61,7 @@ {{#each service in services}}
-
+ {{#link-to 'service' controllers.application.getDc service.Name tagName="div" href=false class="list-group-item list-link" }}

{{#link-to 'service' controllers.application.getDc service.Name class='subtle'}}{{service.Name}}{{/link-to}} @@ -76,7 +76,7 @@ {{/each}}

-
+ {{/link-to}} {{/each}} @@ -127,7 +127,7 @@ {{#each node in nodes}}
- -
+ {{/link-to}} {{/each}} @@ -186,7 +186,7 @@ {{#each service in model.Services }} {{#link-to 'service' controllers.application.getDc service.Service }} -