From 71ae55f665a404fb1c9cc73abc66d3e8a244c62f Mon Sep 17 00:00:00 2001 From: Jack Pearkes Date: Sun, 27 Apr 2014 10:42:21 -0400 Subject: [PATCH] ui: add dcs to index --- ui/javascripts/app/routes.js | 7 +++++++ ui/styles/base.scss | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/ui/javascripts/app/routes.js b/ui/javascripts/app/routes.js index fa866c18e6..8fbf503019 100644 --- a/ui/javascripts/app/routes.js +++ b/ui/javascripts/app/routes.js @@ -26,6 +26,13 @@ App.IndexRoute = Ember.Route.extend({ model: function() { return window.fixtures.dcs; }, + + setupController: function(controller, model) { + controller.set('content', model); + + controller.set('dcs', window.fixtures.dcs); + }, + afterModel: function(dcs, transition) { if (dcs.get('length') === 1) { this.get('controllers.application').setDc(dcs[0]) diff --git a/ui/styles/base.scss b/ui/styles/base.scss index c06065d526..7d03859651 100644 --- a/ui/styles/base.scss +++ b/ui/styles/base.scss @@ -22,6 +22,12 @@ } } +a { + button:active { + outline: none; + } +} + .no-margin { margin: 0;