First Commit

This commit is contained in:
“kris” 2022-04-28 17:35:11 +02:00
parent 3d2d116100
commit 5d18063dd7
2 changed files with 3 additions and 1 deletions

View File

@ -1,2 +1,4 @@
[nezhaMonitor]
other = "哪吒监控"
[Server]
other = "主机"

View File

@ -5,7 +5,7 @@
<img src="/static/logo.svg?v20210804">
</div>
{{if .IsAdminPage}}
<a class='item{{if eq .MatchedPath "/server"}} active{{end}}' href="/server"><i class="server icon"></i>主机</a>
<a class='item{{if eq .MatchedPath "/server"}} active{{end}}' href="/server"><i class="server icon"></i>{{tr "Server"}}</a>
<a class='item{{if eq .MatchedPath "/monitor"}} active{{end}}' href="/monitor"><i class="rss icon"></i>服务</a>
<a class='item{{if eq .MatchedPath "/cron"}} active{{end}}' href="/cron"><i class="clock icon"></i>任务</a>
<a class='item{{if eq .MatchedPath "/notification"}} active{{end}}' href="/notification"><i class="bell icon"></i>报警</a>