This commit is contained in:
naiba 2022-04-29 22:35:17 +08:00 committed by GitHub
parent 5cff336b09
commit 68ecd36c9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 23 deletions

View File

@ -433,12 +433,6 @@ other = "列表视图"
[EnterPassword] [EnterPassword]
other = "输入密码" other = "输入密码"
[StatusTips]
other = """
30
"""
[Location] [Location]
other = "地区" other = "地区"

View File

@ -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>

View File

@ -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>

View File

@ -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>