Merge branch 'feature/ui-and-backend-improvements'

This commit is contained in:
shaw
2025-12-27 16:33:57 +08:00
24 changed files with 611 additions and 243 deletions

View File

@@ -161,8 +161,7 @@
<button
v-if="row.status === 'unused'"
@click="handleDelete(row)"
class="rounded-lg p-2 text-gray-500 transition-colors hover:bg-red-50 hover:text-red-600 dark:hover:bg-red-900/20 dark:hover:text-red-400"
:title="t('common.delete')"
class="flex flex-col items-center gap-0.5 rounded-lg p-1.5 text-gray-500 transition-colors hover:bg-red-50 hover:text-red-600 dark:hover:bg-red-900/20 dark:hover:text-red-400"
>
<svg class="h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path
@@ -172,6 +171,7 @@
d="M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"
/>
</svg>
<span class="text-xs">{{ t('common.delete') }}</span>
</button>
<span v-else class="text-gray-400 dark:text-dark-500">-</span>
</div>