update froutend and readme

This commit is contained in:
Geek66666
2026-04-13 13:07:33 +08:00
parent 6bf23eabf8
commit 4ee9a229c1
5 changed files with 283 additions and 91 deletions
+4
View File
@@ -183,6 +183,10 @@
<p class="status-text" id="login-status"></p>
</div>
</div>
<footer class="page-repo-footer page-repo-footer-admin">
<span>GitHub</span>
<a href="https://github.com/Geek66666/nim4cc" target="_blank" rel="noreferrer">https://github.com/Geek66666/nim4cc</a>
</footer>
<script src="/static/admin.js" charset="utf-8" defer></script>
</body>
</html>
+4
View File
@@ -46,6 +46,10 @@
<p class="panel-hint" id="dashboard-empty"></p>
</section>
</main>
<footer class="page-repo-footer">
<span>GitHub</span>
<a href="https://github.com/Geek66666/nim4cc" target="_blank" rel="noreferrer">https://github.com/Geek66666/nim4cc</a>
</footer>
<script src="/static/public.js" charset="utf-8" defer></script>
</body>
</html>
+4
View File
@@ -51,6 +51,10 @@
<p class="panel-hint" id="catalog-empty"></p>
</section>
</main>
<footer class="page-repo-footer">
<span>GitHub</span>
<a href="https://github.com/Geek66666/nim4cc" target="_blank" rel="noreferrer">https://github.com/Geek66666/nim4cc</a>
</footer>
<script src="/static/models.js" charset="utf-8" defer></script>
</body>
</html>
+39
View File
@@ -488,6 +488,35 @@ body {
margin-top: 16px;
}
.page-repo-footer {
width: min(1560px, calc(100vw - 56px));
margin: 0 auto 28px;
padding: 0 4px;
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
flex-wrap: wrap;
color: var(--muted);
font-size: 14px;
}
.page-repo-footer a {
color: var(--cyan-deep);
text-decoration: none;
word-break: break-all;
}
.page-repo-footer a:hover {
text-decoration: underline;
}
.page-repo-footer-admin {
position: relative;
z-index: 1;
margin-top: 22px;
}
@media (max-width: 1200px) {
.timeline-header,
.health-row-card,
@@ -502,6 +531,10 @@ body {
width: min(100vw - 24px, 1560px);
}
.page-repo-footer {
width: min(100vw - 24px, 1560px);
}
.health-summary-grid,
.catalog-summary-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -570,4 +603,10 @@ body {
width: 34px;
height: 34px;
}
.page-repo-footer {
margin-bottom: 22px;
font-size: 13px;
text-align: center;
}
}