update: 代码格式|前端入口移动至用户名下拉菜单

This commit is contained in:
Akkia
2022-05-18 23:37:39 +08:00
parent 1a3343d861
commit e341960223
6 changed files with 28 additions and 57 deletions

View File

@@ -469,21 +469,6 @@ other = "Services"
[ScheduledTasks]
other = "Scheduled Tasks"
[ApiManagement]
other="API"
[IssueNewApiToken]
other="Create Token"
[Token]
other="Token"
[DeleteToken]
other="Delete Token"
[ConfirmToDeleteThisToken]
other="Confirm Delete?"
[YouAreNotAuthorized]
other = "You are not authorized"

View File

@@ -469,21 +469,6 @@ other = "Monitorización del servicio"
[ScheduledTasks]
other = "Tareas programadas"
[ApiManagement]
other="API"
[IssueNewApiToken]
other="Create Token"
[Token]
other="Token"
[DeleteToken]
other="Delete Token"
[ConfirmToDeleteThisToken]
other="Confirm Delete?"
[YouAreNotAuthorized]
other = "Esta página requiere un acceso"

View File

@@ -9,7 +9,6 @@
<a class='item{{if eq .MatchedPath "/monitor"}} active{{end}}' href="/monitor"><i class="rss icon"></i>{{tr "Services"}}</a>
<a class='item{{if eq .MatchedPath "/cron"}} active{{end}}' href="/cron"><i class="clock icon"></i>{{tr "Task"}}</a>
<a class='item{{if eq .MatchedPath "/notification"}} active{{end}}' href="/notification"><i class="bell icon"></i>{{tr "Notification"}}</a>
<a class='item{{if eq .MatchedPath "/api"}} active{{end}}' href="/api"><i class="key icon"></i>API</a>
<a class='item{{if eq .MatchedPath "/setting"}} active{{end}}' href="/setting">
<i class="settings icon"></i>{{tr "Settings"}}
</a>
@@ -30,6 +29,9 @@
<a class="item" href="/">
<i class="chart area icon"></i>{{tr "BackToHomepage"}}
</a>
<a class="item" href="/api">
<i class="chart key icon"></i>API Token
</a>
{{else}}
<a class="item" href="/server">
<i class="terminal icon"></i>{{tr "AdminPanel"}}