mirror of https://github.com/hashicorp/consul
ui: show services and then checks
parent
ad53ca1315
commit
f57b490975
|
@ -356,6 +356,24 @@
|
||||||
<h2 class="no-margin">{{ model.Node }} <small> {{ model.Address }}</small></h2>
|
<h2 class="no-margin">{{ model.Node }} <small> {{ model.Address }}</small></h2>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
|
<h5>Services</h5>
|
||||||
|
|
||||||
|
{{#each service in model.Services }}
|
||||||
|
|
||||||
|
{{#link-to 'services.show' service.Service }}
|
||||||
|
<div class="panel panel-link panel-short">
|
||||||
|
<div class="panel-bar bg-light-gray"></div>
|
||||||
|
<div class="panel-heading">
|
||||||
|
<h3 class="panel-title">
|
||||||
|
{{service.Service}}
|
||||||
|
<small>{{sevice.ID}}</small>
|
||||||
|
<span class="panel-note">:{{service.Port}}</span>
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{/link-to}}
|
||||||
|
{{/each}}
|
||||||
|
|
||||||
<h5>Checks</h5>
|
<h5>Checks</h5>
|
||||||
|
|
||||||
{{#each check in model.Checks }}
|
{{#each check in model.Checks }}
|
||||||
|
@ -380,25 +398,6 @@
|
||||||
|
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
||||||
|
|
||||||
<h5>Services</h5>
|
|
||||||
|
|
||||||
{{#each service in model.Services }}
|
|
||||||
|
|
||||||
{{#link-to 'services.show' service.Service }}
|
|
||||||
<div class="panel panel-link panel-short">
|
|
||||||
<div class="panel-bar bg-light-gray"></div>
|
|
||||||
<div class="panel-heading">
|
|
||||||
<h3 class="panel-title">
|
|
||||||
{{service.Service}}
|
|
||||||
<small>{{sevice.ID}}</small>
|
|
||||||
<span class="panel-note">:{{service.Port}}</span>
|
|
||||||
</h3>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{{/link-to}}
|
|
||||||
{{/each}}
|
|
||||||
|
|
||||||
{{#link-to "nodes" class="btn btn-default col-xs-12 visible-xs" }}All Nodes{{/link-to}}
|
{{#link-to "nodes" class="btn btn-default col-xs-12 visible-xs" }}All Nodes{{/link-to}}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue