fix: uses progress bar to show download progress

This commit is contained in:
2025-05-14 11:33:20 -05:00
parent 74506f6928
commit eecd5444a6
2 changed files with 9 additions and 6 deletions

View File

@@ -31,9 +31,9 @@
{{ entity.title }}
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-end text-gray-800 dark:text-gray-50">
<span class="p-1.5 bg-purple-600 rounded-full">
<span class="mw-4 inline-block text-center text-gray-50">{{ entity.progress }}</span>
</span>
<div class="border-2 border-green-700 rounded-md w-full h-6 align-middle overflow-hidden">
<div class="text-green-700 rounded-sm text-bold text-gray-950 text-center bg-green-600 h-5" style="width:{{ entity.progress }}%">{{ entity.progress }}%</div>
</div>
</td>
</template>
</turbo-stream>