Backup UI: align badges in the Destinations table to the top of the row
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KC7BXv32Jwj8mY5sKX8u2F
This commit is contained in:
1 parent
b61989bd22
commit
87d8bbcd8c
15 files changed
+33
-33
No files matched your search
@@ -40,7 +40,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr v-for="d in destinations" :key="d.id">
|
||||
<td>
|
||||
<td class="align-top">
|
||||
<div class="fw-semibold" style="color: var(--text-heading);">{{ d.name }}</div>
|
||||
<div class="text-muted small">{{ destinationSummary(d) }}</div>
|
||||
<div v-if="typeInfo(d.type)?.pins_host_key" class="small mt-1">
|
||||
@@ -55,13 +55,13 @@
|
||||
<span class="status-badge status-warning"><i class="fas fa-triangle-exclamation me-1"></i>No TLS: clear text</span>
|
||||
</div>
|
||||
</td>
|
||||
<td><span class="status-badge status-client">{{ typeLabel(d.type) }}</span></td>
|
||||
<td>
|
||||
<td class="align-top"><span class="status-badge status-client">{{ typeLabel(d.type) }}</span></td>
|
||||
<td class="align-top">
|
||||
<span :class="['status-badge', d.enabled ? 'status-valid' : 'status-secondary']">
|
||||
{{ d.enabled ? 'Enabled' : 'Disabled' }}
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<td class="align-top">
|
||||
<span v-if="d.last_status" :class="['status-badge', d.last_status === 'ok' ? 'status-valid' : 'status-expired']"
|
||||
:title="d.last_message">
|
||||
{{ d.last_status === 'ok' ? 'OK' : 'Failed' }}
|
||||
@@ -69,7 +69,7 @@
|
||||
<span v-else class="text-muted small">never used</span>
|
||||
<div v-if="d.last_at" class="text-muted small">{{ formatTime(d.last_at) }}</div>
|
||||
</td>
|
||||
<td>
|
||||
<td class="align-top">
|
||||
<button class="btn btn-sm btn-link text-primary p-0 me-2" title="Test connection"
|
||||
@click="testDestination(d)" :disabled="testingId === d.id">
|
||||
<i v-if="testingId === d.id" class="fas fa-spinner fa-spin"></i>
|
||||
|
||||
Reference in new issue
Block a user