host detail

This commit is contained in:
lvuch 2017-03-08 16:02:59 -07:00
parent 6c845e92b6
commit a604ace8f5
2 changed files with 12 additions and 13 deletions

View File

@ -1,9 +1,8 @@
{{#if showGraphs}}
<div class="row">
<div class="row-same-height row-full-height">
<div class="col span-6" style="margin-bottom: 20px;">
<div class="no-padding-margin">
<div style="padding: 20px;">
<div class="col span-6">
<div >
<div>
<label class="section text-muted">{{t 'infoMultiStats.cpuSection.labelText'}}</label>
<div class="container-legend pull-right">
<span class="ml-20 legend-circle-system"></span> {{t 'infoMultiStats.cpuSection.system'}}
@ -22,8 +21,8 @@
</div>
</div>
<div class="no-padding-margin" style="margin-top: 20px;">
<div style="padding: 20px;">
<div class="no-padding-margin mt-20">
<div>
<label class="section text-muted">{{t 'infoMultiStats.networkSection.labelText'}}</label>
<div class="container-legend pull-right">
<span class="ml-20 legend-circle-transmit"></span> {{t 'infoMultiStats.networkSection.transmit'}}
@ -43,9 +42,9 @@
</div>
</div>
<div class="col span-6" style="margin-bottom: 20px;">
<div class="no-padding-margin">
<div style="padding: 20px;">
<div class="col span-6">
<div>
<div>
<label class="section text-muted">{{t 'infoMultiStats.memorySection.labelText'}}</label>
<div class="container-legend pull-right">
<span class="ml-20 legend-circle-used"></span> {{t 'infoMultiStats.memorySection.used'}}
@ -63,8 +62,8 @@
</div>
</div>
<div class="no-padding-margin" style="margin-top: 20px;">
<div style="padding: 20px;">
<div class="no-padding-margin mt-20">
<div>
<label class="section text-muted">{{t 'infoMultiStats.storageSection.labelText'}}</label>
<div class="container-legend pull-right">
<span class="ml-20 legend-circle-write"></span> {{t 'infoMultiStats.storageSection.write'}}
@ -84,5 +83,4 @@
</div>
</div>
</div>
</div>
{{/if}}

View File

@ -11,10 +11,11 @@
<div class="clearfix">
<h1>
{{t 'hostsPage.hostPage.header.title' name=host.displayName}}
</h1>
{{#ember-wormhole destinationElement=graphNode renderInPlace=(not graphExpand)}}
{{info-multi-stats model=host linkName="hostStats" single=true}}
{{/ember-wormhole}}
</h1>
{{action-menu model=host showPrimary=false showLabel=true size="md" classNames="ml-10 pull-right"}}
{{header-state model=host classNames="pull-right"}}
</div>