2020-07-09 20:19:07 +00:00
|
|
|
{{title "Server " this.model.name}}
|
|
|
|
<ServerSubnav @server={{this.model}} />
|
2020-06-16 03:06:27 +00:00
|
|
|
<section class="section">
|
2020-06-16 03:33:12 +00:00
|
|
|
<h1 data-test-title class="title">
|
2020-07-09 20:19:07 +00:00
|
|
|
Server {{this.model.name}}
|
|
|
|
{{#if this.model.isLeader}}
|
2020-06-16 04:06:17 +00:00
|
|
|
<span data-test-leader-badge class="bumper-left tag is-primary">Leader</span>
|
2020-06-16 03:33:12 +00:00
|
|
|
{{/if}}
|
|
|
|
</h1>
|
|
|
|
<div class="boxed-section is-small">
|
|
|
|
<div data-test-server-details class="boxed-section-body inline-definitions">
|
|
|
|
<span class="label">Server Details</span>
|
2020-06-16 04:06:17 +00:00
|
|
|
<span data-test-status class="pair"><span class="term">Status</span>
|
2020-07-09 20:19:07 +00:00
|
|
|
{{this.model.status}}
|
2020-06-16 03:33:12 +00:00
|
|
|
</span>
|
2020-06-16 04:06:17 +00:00
|
|
|
<span data-test-address class="pair"><span class="term">Address</span>
|
2020-07-09 20:19:07 +00:00
|
|
|
{{this.model.rpcAddr}}
|
2020-06-16 03:33:12 +00:00
|
|
|
</span>
|
2020-06-16 04:06:17 +00:00
|
|
|
<span data-test-datacenter class="pair"><span class="term">Datacenter</span>
|
2020-07-09 20:19:07 +00:00
|
|
|
{{this.model.datacenter}}
|
2020-06-16 03:33:12 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="boxed-section">
|
|
|
|
<div class="boxed-section-head">
|
|
|
|
Server Tags
|
|
|
|
</div>
|
|
|
|
<div class="boxed-section-body is-full-bleed">
|
2020-07-09 20:19:07 +00:00
|
|
|
<ListTable @source={{this.sortedTags}} @class="is-striped" as |t|>
|
2020-06-16 03:33:12 +00:00
|
|
|
<t.head>
|
|
|
|
<td class="is-one-quarter">Name</td>
|
|
|
|
<td>Value</td>
|
|
|
|
</t.head>
|
|
|
|
<t.body as |row|>
|
|
|
|
<tr data-test-server-tag>
|
|
|
|
<td>{{row.model.name}}</td>
|
|
|
|
<td>{{row.model.value}}</td>
|
|
|
|
</tr>
|
|
|
|
</t.body>
|
|
|
|
</ListTable>
|
2020-06-16 03:06:27 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|