Improve auth and download UI states

This commit is contained in:
2026-07-21 15:10:47 +08:00
parent fac2a2a2d2
commit f599647fbd
12 changed files with 72 additions and 12 deletions
+2 -2
View File
@@ -15,7 +15,7 @@
<span class="material-symbols-outlined text-lg">refresh</span>
重新分析
</a>
<a href="{{ result.excel_url }}" class="ui-btn ui-btn-primary">
<a href="{{ result.excel_url }}" class="ui-btn ui-btn-primary" data-download-action data-download-pending="导出中...">
<span class="material-symbols-outlined text-lg">download</span>
导出结果表
</a>
@@ -40,7 +40,7 @@
<div class="flex justify-between gap-4"><dt class="text-textSub">样本数量</dt><dd class="font-bold">{{ result.sample_count }}</dd></div>
<div class="flex justify-between gap-4"><dt class="text-textSub">输出文件</dt><dd class="font-bold">电子表格</dd></div>
</dl>
<a href="{{ result.excel_url }}" class="ui-btn ui-btn-secondary mt-5 w-full text-primary">
<a href="{{ result.excel_url }}" class="ui-btn ui-btn-secondary mt-5 w-full text-primary" data-download-action data-download-pending="下载中...">
<span class="material-symbols-outlined text-lg">table_view</span>
查看完整样本列表
</a>