ui: ambient dc failing checks

This commit is contained in:
Jack Pearkes 2014-08-25 12:40:53 -07:00
parent 9435313f0c
commit 0f5136f776
2 changed files with 1 additions and 2 deletions

View File

@ -136,7 +136,7 @@
</div>
<div class="col-md-2 col-sm-2 col-xs-6 col-md-offset-0 col-sm-offset-4 col-xs-offset-1">
<a {{bind-attr class=":col-xs-12 :btn isDropDownVisible:btn-primary:btn-default"}} {{action "toggle"}}> <span class="elip-overflow">{{model}} <span class="caret"></span></span> </a>
<a {{bind-attr class=":col-xs-12 :btn hasFailingChecks:btn-warning:btn-success"}} {{action "toggle"}}> <span class="elip-overflow">{{model}} <span class="caret"></span></span> </a>
{{#if isDropdownVisible}}
<ul class="dropdown-menu col-xs-8" style="display:block;">

View File

@ -8,7 +8,6 @@ App.DcController = Ember.Controller.extend({
needs: ["application"],
// Whether or not the dropdown menu can be seen
isDropdownVisible: false,
aclToken: Ember.computed.alias("application.settings.token"),
datacenter: function() {
return this.get('content');