mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 20:58:14 -05:00
improve
This commit is contained in:
parent
5cff336b09
commit
68ecd36c9f
6
resource/l10n/zh-CN.toml
vendored
6
resource/l10n/zh-CN.toml
vendored
@ -433,12 +433,6 @@ other = "列表视图"
|
|||||||
[EnterPassword]
|
[EnterPassword]
|
||||||
other = "输入密码"
|
other = "输入密码"
|
||||||
|
|
||||||
[StatusTips]
|
|
||||||
other = """
|
|
||||||
状态更新和事件报告可能会延迟最多30秒
|
|
||||||
这取决于技术原因。请向下滚动查看过去的活动报告
|
|
||||||
"""
|
|
||||||
|
|
||||||
[Location]
|
[Location]
|
||||||
other = "地区"
|
other = "地区"
|
||||||
|
|
||||||
|
10
resource/template/theme-daynight/home.html
vendored
10
resource/template/theme-daynight/home.html
vendored
@ -42,7 +42,7 @@
|
|||||||
{{if .Admin}}
|
{{if .Admin}}
|
||||||
<li><a href="/server">{{tr "AdminPanel"}}</a></li>
|
<li><a href="/server">{{tr "AdminPanel"}}</a></li>
|
||||||
{{else}}
|
{{else}}
|
||||||
<li><a href="/login">{{tr Login}}</a></li>
|
<li><a href="/login">{{tr "Login"}}</a></li>
|
||||||
{{end}}
|
{{end}}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
@ -133,10 +133,10 @@
|
|||||||
|
|
||||||
<div class="sidebar-container">
|
<div class="sidebar-container">
|
||||||
<ul>
|
<ul>
|
||||||
<li><i class="fas fa-sun" title="白昼模式"></i><span>{{tr "LightMode"}}</span></li>
|
<li><i class="fas fa-sun" title='{{tr "LightMode"}}'></i><span>{{tr "LightMode"}}</span></li>
|
||||||
<li><i class="fas fa-moon" title="暗黑模式"></i><span>{{tr "DarkMode"}}</span></li>
|
<li><i class="fas fa-moon" title='{{tr "DarkMode"}}'></i><span>{{tr "DarkMode"}}</span></li>
|
||||||
<li><i class="fas fa-th" title="网格视图"></i><span>{{tr "GridLayout"}}</span></li>
|
<li><i class="fas fa-th" title='{{tr "GridLayout"}}'></i><span>{{tr "GridLayout"}}</span></li>
|
||||||
<li><i class="fas fa-list-ul" title="列表视图"></i><span>{{tr "ListLayout"}}</span></li>
|
<li><i class="fas fa-list-ul" title='{{tr "ListLayout"}}'></i><span>{{tr "ListLayout"}}</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
@ -86,10 +86,10 @@
|
|||||||
|
|
||||||
<div class="sidebar-container">
|
<div class="sidebar-container">
|
||||||
<ul>
|
<ul>
|
||||||
<li><i class="fas fa-sun" title="白昼模式"></i><span>{{tr "LightMode"}}</span></li>
|
<li><i class="fas fa-sun" title='{{tr "LightMode"}}'></i><span>{{tr "LightMode"}}</span></li>
|
||||||
<li><i class="fas fa-moon" title="暗黑模式"></i><span>{{tr "DarkMode"}}</span></li>
|
<li><i class="fas fa-moon" title='{{tr "DarkMode"}}'></i><span>{{tr "DarkMode"}}</span></li>
|
||||||
<li><i class="fas fa-th" title="网格视图"></i><span>{{tr "GridLayout"}}</span></li>
|
<li><i class="fas fa-th" title='{{tr "GridLayout"}}'></i><span>{{tr "GridLayout"}}</span></li>
|
||||||
<li><i class="fas fa-list-ul" title="列表视图"></i><span>{{tr "ListLayout"}}</span></li>
|
<li><i class="fas fa-list-ul" title='{{tr "ListLayout"}}'></i><span>{{tr "ListLayout"}}</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
11
resource/template/theme-hotaru/home.html
vendored
11
resource/template/theme-hotaru/home.html
vendored
@ -28,14 +28,9 @@
|
|||||||
<body>
|
<body>
|
||||||
<section class="hotaru-cover">
|
<section class="hotaru-cover">
|
||||||
<div class="container" style="text-align: center;">
|
<div class="container" style="text-align: center;">
|
||||||
<h1>
|
<h1 style="line-height: 8rem;">
|
||||||
<strong>{{.Title}}</strong>
|
<strong>{{.Title}}</strong>
|
||||||
</h1>
|
</h1>
|
||||||
<div>
|
|
||||||
<p>
|
|
||||||
<small>{{tr "StatusTips"}}</small>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@ -135,8 +130,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="sidebar-container">
|
<div class="sidebar-container">
|
||||||
<ul>
|
<ul>
|
||||||
<li id='sun'><i class="fas fa-sun" title="白昼模式"></i><span>{{tr "LightMode"}}</span></li>
|
<li id='sun'><i class="fas fa-sun" title='{{tr "LightMode"}}'></i><span>{{tr "LightMode"}}</span></li>
|
||||||
<li id='moon'><i class="fas fa-moon" title="暗黑模式"></i><span>{{tr "DarkMode"}}</span></li>
|
<li id='moon'><i class="fas fa-moon" title='{{tr "DarkMode"}}'></i><span>{{tr "DarkMode"}}</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
|
Loading…
Reference in New Issue
Block a user