modified: resource/l10n/zh-CN.toml

modified:   resource/template/common/menu.html
	modified:   resource/template/component/confirm.html
	modified:   resource/template/component/cron.html
	modified:   resource/template/component/monitor.html
	modified:   resource/template/component/notification.html
	modified:   resource/template/component/rule.html
	modified:   resource/template/component/server.html
	modified:   resource/template/dashboard/cron.html
	modified:   resource/template/dashboard/error.html
	modified:   resource/template/dashboard/login.html
	modified:   resource/template/dashboard/monitor.html
	modified:   resource/template/dashboard/notification.html
	modified:   resource/template/dashboard/server.html
	modified:   resource/template/dashboard/setting.html
	modified:   resource/template/dashboard/terminal.html
This commit is contained in:
Kris
2022-04-29 04:52:26 +02:00
parent 4dad15150c
commit 0e9dfc0c7e
16 changed files with 351 additions and 159 deletions

View File

@@ -27,14 +27,14 @@
<div class="menu">
{{if .IsAdminPage}}
<a class="item" href="/">
<i class="chart area icon"></i>{{tr "Backtohomepage"}}
<i class="chart area icon"></i>{{tr "BackToHomepage"}}
</a>
{{else}}
<a class="item" href="/server">
<i class="terminal icon"></i>{{tr "AdminPanel"}}
</a>
{{end}}
<button class="item" onclick="showConfirm('确认注销?','注销后您必须重新登录才能使用',logout,{{.Admin.ID}})">
<button class="item" onclick="showConfirm('{{tr "ConfirmLogout"}}','{{}tr "AfterLoggingOutYouHaveToLoginAgain"}',logout,{{.Admin.ID}})">
<i class="logout icon"></i>{{tr "Logout"}}
</button>
</div>