feat: 优化现有页面为 shadcn 风格

This commit is contained in:
meijiali
2026-07-06 17:07:31 +08:00
parent 44d459fc50
commit d25fbaa198
8 changed files with 519 additions and 144 deletions
+8 -4
View File
@@ -8,15 +8,19 @@
</ol></nav>
{% endblock %}
{% block content %}
<div class="d-flex justify-content-between align-items-center mb-3">
<h1 class="h3 mb-0">{{ hotspot.title }} 汇总报告</h1>
<div class="page-heading">
<div>
<p class="section-kicker">热点报告</p>
<h1>{{ hotspot.title }} 汇总报告</h1>
</div>
<span class="badge text-bg-light border">热点 #{{ hotspot.rank }}</span>
</div>
{% if report %}
{% include "partials/report_panel.html" %}
{% else %}
<div class="text-center text-muted py-5">
<div class="empty-state text-muted py-5">
<div class="spinner-border text-warning mb-3" role="status"></div>
<p>报告生成中,请稍候...</p>
<p class="mb-0">报告生成中,请稍候...</p>
</div>
{% endif %}
{% endblock %}