添加清空缓存按钮

This commit is contained in:
CN-JS-HuiBai
2026-04-02 19:14:04 +08:00
parent 5192a3b23f
commit 25dcf22b78
3 changed files with 71 additions and 2 deletions

View File

@@ -26,10 +26,14 @@
<section class="video-list-section glass-panel">
<div class="section-header">
<h2>Available Videos</h2>
<button id="refresh-btn" class="icon-btn" title="Refresh List">
<div class="section-actions">
<button id="refresh-btn" class="icon-btn" title="Refresh List">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/><path d="M3 3v5h5"/></svg>
</button>
</div>
<button id="reset-cache-btn" class="icon-btn" title="Reset Download Cache" aria-label="Reset Download Cache">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 4v6h6"/><path d="M21 20v-6h-6"/><path d="M21 10a9 9 0 0 0-15.2-6.8L3 8"/><path d="M3 14a9 9 0 0 0 15.2 6.8L21 16"/></svg>
</button>
</div>
<div class="codec-panel">
<label for="codec-select">编码方式:</label>
<select id="codec-select">