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]
|
||||
other = "输入密码"
|
||||
|
||||
[StatusTips]
|
||||
other = """
|
||||
状态更新和事件报告可能会延迟最多30秒
|
||||
这取决于技术原因。请向下滚动查看过去的活动报告
|
||||
"""
|
||||
|
||||
[Location]
|
||||
other = "地区"
|
||||
|
||||
|
10
resource/template/theme-daynight/home.html
vendored
10
resource/template/theme-daynight/home.html
vendored
@ -42,7 +42,7 @@
|
||||
{{if .Admin}}
|
||||
<li><a href="/server">{{tr "AdminPanel"}}</a></li>
|
||||
{{else}}
|
||||
<li><a href="/login">{{tr Login}}</a></li>
|
||||
<li><a href="/login">{{tr "Login"}}</a></li>
|
||||
{{end}}
|
||||
</ul>
|
||||
</nav>
|
||||
@ -133,10 +133,10 @@
|
||||
|
||||
<div class="sidebar-container">
|
||||
<ul>
|
||||
<li><i class="fas fa-sun" title="白昼模式"></i><span>{{tr "LightMode"}}</span></li>
|
||||
<li><i class="fas fa-moon" title="暗黑模式"></i><span>{{tr "DarkMode"}}</span></li>
|
||||
<li><i class="fas fa-th" title="网格视图"></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-sun" title='{{tr "LightMode"}}'></i><span>{{tr "LightMode"}}</span></li>
|
||||
<li><i class="fas fa-moon" title='{{tr "DarkMode"}}'></i><span>{{tr "DarkMode"}}</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='{{tr "ListLayout"}}'></i><span>{{tr "ListLayout"}}</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
</main>
|
||||
|
@ -86,10 +86,10 @@
|
||||
|
||||
<div class="sidebar-container">
|
||||
<ul>
|
||||
<li><i class="fas fa-sun" title="白昼模式"></i><span>{{tr "LightMode"}}</span></li>
|
||||
<li><i class="fas fa-moon" title="暗黑模式"></i><span>{{tr "DarkMode"}}</span></li>
|
||||
<li><i class="fas fa-th" title="网格视图"></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-sun" title='{{tr "LightMode"}}'></i><span>{{tr "LightMode"}}</span></li>
|
||||
<li><i class="fas fa-moon" title='{{tr "DarkMode"}}'></i><span>{{tr "DarkMode"}}</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='{{tr "ListLayout"}}'></i><span>{{tr "ListLayout"}}</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
11
resource/template/theme-hotaru/home.html
vendored
11
resource/template/theme-hotaru/home.html
vendored
@ -28,14 +28,9 @@
|
||||
<body>
|
||||
<section class="hotaru-cover">
|
||||
<div class="container" style="text-align: center;">
|
||||
<h1>
|
||||
<h1 style="line-height: 8rem;">
|
||||
<strong>{{.Title}}</strong>
|
||||
</h1>
|
||||
<div>
|
||||
<p>
|
||||
<small>{{tr "StatusTips"}}</small>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@ -135,8 +130,8 @@
|
||||
</div>
|
||||
<div class="sidebar-container">
|
||||
<ul>
|
||||
<li id='sun'><i class="fas fa-sun" title="白昼模式"></i><span>{{tr "LightMode"}}</span></li>
|
||||
<li id='moon'><i class="fas fa-moon" title="暗黑模式"></i><span>{{tr "DarkMode"}}</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='{{tr "DarkMode"}}'></i><span>{{tr "DarkMode"}}</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
<footer>
|
||||
|
Loading…
Reference in New Issue
Block a user