mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +00:00
展示监控信息
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{{define "common/footer"}}
|
||||
<div class="ui inverted vertical footer segment">
|
||||
<div class="ui center aligned text container">
|
||||
本系统由 <a href="https://github.com/p14yground/nezha" target="_blank">哪吒面板</a> 强力驱动
|
||||
本系统由 <a href="https://github.com/p14yground/nezha" target="_blank">哪吒面板</a>(v{{.Version}}) 强力驱动
|
||||
</div>
|
||||
</div>
|
||||
<script src="https://cdnjs.loli.net/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
|
||||
|
||||
@@ -11,8 +11,14 @@
|
||||
class="{{$server.Host.CountryCode}} flag"></i>{{end}}{{$server.Name}}
|
||||
<i data-html="
|
||||
<div class='content'>
|
||||
{{$server.Host}}
|
||||
{{$server.State}}
|
||||
系统:{{$server.Host.Platform}}-{{$server.Host.PlatformVersion}} [{{if $server.Host.Virtualization}}{{$server.Host.Virtualization}}:{{end}}{{$server.Host.Arch}}]<br>
|
||||
CPU:{{$server.Host.CPU}}<br>
|
||||
硬盘:{{$server.State.DiskUsed|bf}}/{{$server.State.DiskTotal|bf}}<br>
|
||||
内存:{{$server.State.MemUsed|bf}}/{{$server.State.MemTotal|bf}}<br>
|
||||
交换:{{$server.State.SwapUsed|bf}}/{{$server.State.SwapTotal|bf}}<br>
|
||||
流量:<i class='arrow alternate circle down outline icon'></i>{{$server.State.NetInTransfer|bf}} <i class='arrow alternate circle up outline icon'></i>{{$server.State.NetOutTransfer|bf}}<br>
|
||||
启动:{{$server.Host.BootTime|stf}}<br>
|
||||
版本:v{{$server.Host.Version}}<br>
|
||||
</div>" class="yellow info circle icon"></i>
|
||||
</div>
|
||||
<div class="description">
|
||||
@@ -25,15 +31,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="three wide column">硬盘</div>
|
||||
<div class="thirteen wide column">
|
||||
<div class="ui active progress" data-value="{{$server.State.DiskUsed}}"
|
||||
data-total="{{$server.State.DiskTotal}}">
|
||||
<div class="bar">
|
||||
<div class="progress"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="three wide column">内存</div>
|
||||
<div class="thirteen wide column">
|
||||
<div class="ui active progress" data-value="{{$server.State.MemUsed}}"
|
||||
@@ -43,10 +40,33 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="three wide column">交换</div>
|
||||
<div class="thirteen wide column">
|
||||
<div class="ui active progress" data-value="{{$server.State.SwapUsed}}"
|
||||
data-total="{{$server.State.SwapTotal}}">
|
||||
<div class="bar">
|
||||
<div class="progress"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="three wide column">网络</div>
|
||||
<div class="thirteen wide column">
|
||||
<i class="arrow alternate circle down outline icon"></i>{{$server.State.NetIn|bf}}
|
||||
<i class="arrow alternate circle up outline icon"></i>{{$server.State.NetOut|bf}}
|
||||
<i
|
||||
class="arrow alternate circle down outline icon"></i>{{$server.State.NetInSpeed|bf}}/s
|
||||
<i class="arrow alternate circle up outline icon"></i>{{$server.State.NetOutSpeed|bf}}/s
|
||||
</div>
|
||||
<div class="three wide column">硬盘</div>
|
||||
<div class="thirteen wide column">
|
||||
<div class="ui active progress" data-value="{{$server.State.DiskUsed}}"
|
||||
data-total="{{$server.State.DiskTotal}}">
|
||||
<div class="bar">
|
||||
<div class="progress"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="three wide column">在线</div>
|
||||
<div class="thirteen wide column">
|
||||
<i class="clock icon"></i>{{$server.State.Uptime|sf}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user