Minor styling improvements, and fix for new project setup.

This commit is contained in:
Cameron Redmore 2025-04-26 23:41:46 +01:00
parent 910d1b3d21
commit 10bda9949a
5 changed files with 21 additions and 6 deletions

View file

@ -95,6 +95,7 @@
<q-badge
:color="getStatusColor(statusProps.row.status)"
:label="statusProps.row.status"
class="text-bold text-shadow text-subtitle2 text-uppercase"
/>
</q-td>
</template>
@ -103,6 +104,7 @@
<q-badge
:color="getPriorityColor(priorityProps.row.priority)"
:label="priorityProps.row.priority"
class="text-bold text-shadow text-subtitle2 text-uppercase"
/>
</q-td>
</template>
@ -111,6 +113,7 @@
<q-badge
:color="getSeverityColor(severityProps.row.severity)"
:label="severityProps.row.severity"
class="text-bold text-shadow text-subtitle2 text-uppercase"
/>
</q-td>
</template>
@ -120,12 +123,11 @@
class="text-center"
>
<q-btn
size="sm"
size="md"
color="info"
icon="summarize"
round
flat
dense
@click.stop="showTicketSummary(actionsProps.row.id)"
:title="'Show summary for ticket ' + actionsProps.row.id"
/>
@ -394,7 +396,7 @@ const getSeverityColor = (severity) =>
if (lowerSeverity === 'trivial') return 'grey';
if (lowerSeverity === 'text') return 'blue-grey';
if (lowerSeverity === 'tweak') return 'light-blue';
if (lowerSeverity === 'minor') return 'lime';
if (lowerSeverity === 'minor') return 'lime-9';
if (lowerSeverity === 'major') return 'amber';
if (lowerSeverity === 'crash') return 'deep-orange';
if (lowerSeverity === 'block') return 'red';