2015-10-05 14:11:43 +00:00
|
|
|
<div class="panel panel-success">
|
|
|
|
<div class="panel-heading">
|
2015-10-06 22:01:24 +00:00
|
|
|
<strong><span class="glyphicon glyphicon-tasks" aria-hidden="true"></span> {{backendCtrl.backendId}}</strong>
|
2015-10-05 14:11:43 +00:00
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<table class="panel-table__servers table table-striped table-hover">
|
|
|
|
<tr>
|
|
|
|
<td><em>Server</em></td>
|
|
|
|
<td><em>URL</em></td>
|
|
|
|
<td><em>Weight</em></td>
|
|
|
|
</tr>
|
2015-10-09 20:23:06 +00:00
|
|
|
<tr data-ng-repeat="(serverId, server) in backendCtrl.backend.servers">
|
2015-10-05 14:11:43 +00:00
|
|
|
<td>{{serverId}}</td>
|
2015-10-09 20:23:06 +00:00
|
|
|
<td><code><a data-ng-href="{{server.url}}">{{server.url}}</a></code></td>
|
|
|
|
<td>{{server.weight}}</td>
|
2015-10-05 14:11:43 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
2015-10-09 20:23:06 +00:00
|
|
|
<div class="panel-footer" data-ng-show="backendCtrl.backend.loadBalancer || backendCtrl.backend.circuitBreaker">
|
|
|
|
<span data-ng-show="backendCtrl.backend.loadBalancer" class="label label-success">Load Balancer: {{backendCtrl.backend.loadBalancer.method}}</span>
|
|
|
|
<span data-ng-show="backendCtrl.backend.circuitBreaker" class="label label-success">Circuit Breaker: {{backendCtrl.backend.circuitBreaker.expression}}</span>
|
2015-10-05 14:11:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|