Skip to content

Commit

Permalink
Merge pull request #49 from karabelnikov/patch-4
Browse files Browse the repository at this point in the history
Update index.html
  • Loading branch information
bnhf authored Dec 30, 2022
2 parents 6523b5b + 350216c commit fef09a4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
Clients count: <span class="info-box-number2">{{ .ovstats.NClients }}</span>
</span>
<span class="info-box-text">
In: <span class="info-box-number2">{{ printmb_net .ovstats.BytesIn }} MB</span>
In: <span class="info-box-number2">{{ printNetServer .ovstats.BytesIn }} MB</span>
</span>
<span class="info-box-text">
Out: <span class="info-box-number2">{{ printmb_net .ovstats.BytesOut }} MB </span>
Out: <span class="info-box-number2">{{ printNetServer .ovstats.BytesOut }} MB </span>
</span>
</div>
<!-- /.info-box-content -->
Expand Down Expand Up @@ -104,9 +104,9 @@ <h3 class="box-title">Memory Usage</h3>
<div class="progress-group">
<span class="progress-text">Memory</span>
<span class="progress-number">
<b>{{ printmb .sysinfo.MemUsed }}</b>
<b>{{ printMemory .sysinfo.MemUsed }}</b>
/
{{ printmb .sysinfo.MemTotal }} MB
{{ printMemory .sysinfo.MemTotal }} MB
- {{percent .sysinfo.MemUsed .sysinfo.MemTotal}}%
</span>
<div class="progress sm">
Expand All @@ -120,9 +120,9 @@ <h3 class="box-title">Memory Usage</h3>
<div class="progress-group">
<span class="progress-text">Swap</span>
<span class="progress-number">
<b>{{ printmb .sysinfo.SwapUsed }}</b>
<b>{{ printMemory .sysinfo.SwapUsed }}</b>
/
{{ printmb .sysinfo.SwapTotal }} MB
{{ printMemory .sysinfo.SwapTotal }} MB
- {{percent .sysinfo.SwapUsed .sysinfo.SwapTotal}}%
</span>

Expand Down Expand Up @@ -174,10 +174,10 @@ <h3 class="box-title">Connected Clients</h3>
</button>
</td>
<td align="right" style="padding-right:20px">
{{printkb .BytesReceived}}
{{printNetClient .BytesReceived}}
</td>
<td align="right" style="padding-right:20px">
{{printkb .BytesSent}}
{{printNetClient .BytesSent}}
</td>
<td>{{.ConnectedSince}}</td>
<td>
Expand Down

0 comments on commit fef09a4

Please sign in to comment.