mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-23 13:18:13 -05:00
First Commit
This commit is contained in:
parent
3d2d116100
commit
5d18063dd7
2
resource/l10n/zh-CN.toml
vendored
2
resource/l10n/zh-CN.toml
vendored
@ -1,2 +1,4 @@
|
|||||||
[nezhaMonitor]
|
[nezhaMonitor]
|
||||||
other = "哪吒监控"
|
other = "哪吒监控"
|
||||||
|
[Server]
|
||||||
|
other = "主机"
|
2
resource/template/common/menu.html
vendored
2
resource/template/common/menu.html
vendored
@ -5,7 +5,7 @@
|
|||||||
<img src="/static/logo.svg?v20210804">
|
<img src="/static/logo.svg?v20210804">
|
||||||
</div>
|
</div>
|
||||||
{{if .IsAdminPage}}
|
{{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 "/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 "/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>
|
<a class='item{{if eq .MatchedPath "/notification"}} active{{end}}' href="/notification"><i class="bell icon"></i>报警</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user