mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-16 21:55:37 -05:00
Styling stuff
This commit is contained in:
@@ -38,6 +38,11 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@for (mail of processedMails; track mail.id) {
|
@for (mail of processedMails; track mail.id) {
|
||||||
|
<ng-template #statusTooltip>
|
||||||
|
<div class="small text-light font-monospace">
|
||||||
|
{{mail.status}}
|
||||||
|
</div>
|
||||||
|
</ng-template>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<div class="form-check m-0 ms-2 me-n2">
|
<div class="form-check m-0 ms-2 me-n2">
|
||||||
@@ -51,13 +56,13 @@
|
|||||||
<td>
|
<td>
|
||||||
@switch (mail.status) {
|
@switch (mail.status) {
|
||||||
@case ('SUCCESS') {
|
@case ('SUCCESS') {
|
||||||
<i-bs name="check-circle" title="SUCCESS" class="text-success" [ngbTooltip]="mail.status"></i-bs>
|
<i-bs name="check-circle" title="SUCCESS" class="text-success" [ngbTooltip]="statusTooltip"></i-bs>
|
||||||
}
|
}
|
||||||
@case ('FAILED') {
|
@case ('FAILED') {
|
||||||
<i-bs name="exclamation-triangle" title="FAILED" class="text-danger" [ngbTooltip]="mail.status"></i-bs>
|
<i-bs name="exclamation-triangle" title="FAILED" class="text-danger" [ngbTooltip]="statusTooltip"></i-bs>
|
||||||
}
|
}
|
||||||
@default {
|
@default {
|
||||||
<i-bs name="question-circle" title="{{ mail.status }}" class="text-muted" [ngbTooltip]="mail.status"></i-bs>
|
<i-bs name="slash-circle" title="{{ mail.status }}" class="text-muted" [ngbTooltip]="statusTooltip"></i-bs>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
|
Reference in New Issue
Block a user