refactor(10-12): migrate view-level SVGs to AppIcon
- CloudStorageView: cloud icon - SettingsView: checkCircle, exclamationCircle, x (x2) - AccountView: checkMark (TOTP enabled indicator) - AdminAiView: chevronDown (accordion) - AdminUsersView: copy, check, refresh - SettingsAccountTab: checkMark (TOTP enabled) - TotpEnrollment: checkMark (verified state) - CloudCredentialModal: x, chevronRight - DocumentView: warning (cloud delete modal) - SharedView: document icon
This commit is contained in:
@@ -122,9 +122,7 @@
|
||||
class="bg-white rounded-2xl shadow-xl p-6 max-w-sm w-full mx-4"
|
||||
>
|
||||
<div class="flex items-center gap-2 mb-2">
|
||||
<svg class="w-5 h-5 text-amber-500 shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z" />
|
||||
</svg>
|
||||
<AppIcon name="warning" class="w-5 h-5 text-amber-500 shrink-0" />
|
||||
<h2 id="cloud-delete-modal-title" class="text-lg font-semibold text-gray-900">Cloud delete failed</h2>
|
||||
</div>
|
||||
<p class="text-sm text-gray-600 mb-4">
|
||||
@@ -149,6 +147,7 @@
|
||||
import { ref, computed, onMounted } from 'vue'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { formatDate, formatSize } from '../utils/formatters.js'
|
||||
import AppIcon from '../components/ui/AppIcon.vue'
|
||||
import TopicBadge from '../components/topics/TopicBadge.vue'
|
||||
import DocumentPreviewModal from '../components/documents/DocumentPreviewModal.vue'
|
||||
import { useDocumentsStore } from '../stores/documents.js'
|
||||
|
||||
Reference in New Issue
Block a user