Added some missing labels for the server manager ui
This commit is contained in:
parent
870b2516a1
commit
95cfa815fb
1 changed files with 5 additions and 5 deletions
|
@ -101,29 +101,29 @@
|
||||||
<a target="_blank" href="/server/@(context.Server.Id)">@context.Server.Name</a>
|
<a target="_blank" href="/server/@(context.Server.Id)">@context.Server.Name</a>
|
||||||
</Template>
|
</Template>
|
||||||
</Column>
|
</Column>
|
||||||
<Column TableItem="MetaItem" Field="@(x => x.State)" Filterable="true" Sortable="true">
|
<Column TableItem="MetaItem" Field="@(x => x.State)" Filterable="true" Sortable="true" Title="Status">
|
||||||
<Template>
|
<Template>
|
||||||
<span class="text-@(ServerUtilsHelper.GetColorFromState(context.State))">
|
<span class="text-@(ServerUtilsHelper.GetColorFromState(context.State))">
|
||||||
@context.State
|
@context.State
|
||||||
</span>
|
</span>
|
||||||
</Template>
|
</Template>
|
||||||
</Column>
|
</Column>
|
||||||
<Column TableItem="MetaItem" Field="@(x => x.Stats.CpuUsage)" Sortable="true">
|
<Column TableItem="MetaItem" Field="@(x => x.Stats.CpuUsage)" Sortable="true" Title="CPU">
|
||||||
<Template>
|
<Template>
|
||||||
<span>@Math.Round(context.Stats.CpuUsage, 2)%</span>
|
<span>@Math.Round(context.Stats.CpuUsage, 2)%</span>
|
||||||
</Template>
|
</Template>
|
||||||
</Column>
|
</Column>
|
||||||
<Column TableItem="MetaItem" Field="@(x => x.Stats.MemoryUsage)" Sortable="true">
|
<Column TableItem="MetaItem" Field="@(x => x.Stats.MemoryUsage)" Sortable="true" Title="Memory">
|
||||||
<Template>
|
<Template>
|
||||||
<span>@Formatter.FormatSize(context.Stats.MemoryUsage)</span>
|
<span>@Formatter.FormatSize(context.Stats.MemoryUsage)</span>
|
||||||
</Template>
|
</Template>
|
||||||
</Column>
|
</Column>
|
||||||
<Column TableItem="MetaItem" Field="@(x => x.Stats.NetRead)" Sortable="true">
|
<Column TableItem="MetaItem" Field="@(x => x.Stats.NetRead)" Sortable="true" Title="Net Read">
|
||||||
<Template>
|
<Template>
|
||||||
<span>@Formatter.FormatSize(context.Stats.NetRead)</span>
|
<span>@Formatter.FormatSize(context.Stats.NetRead)</span>
|
||||||
</Template>
|
</Template>
|
||||||
</Column>
|
</Column>
|
||||||
<Column TableItem="MetaItem" Field="@(x => x.Stats.NetWrite)" Sortable="true">
|
<Column TableItem="MetaItem" Field="@(x => x.Stats.NetWrite)" Sortable="true" Title="Net Write">
|
||||||
<Template>
|
<Template>
|
||||||
<span>@Formatter.FormatSize(context.Stats.NetWrite)</span>
|
<span>@Formatter.FormatSize(context.Stats.NetWrite)</span>
|
||||||
</Template>
|
</Template>
|
||||||
|
|
Loading…
Reference in a new issue