mirror of https://github.com/status-im/consul.git
ui: ambient dc failing checks
This commit is contained in:
parent
29762e80bc
commit
e6f9edffed
|
@ -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;">
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue