Minor styling improvements, and fix for new project setup.
This commit is contained in:
parent
910d1b3d21
commit
10bda9949a
5 changed files with 21 additions and 6 deletions
3
.vscode/extensions.json
vendored
3
.vscode/extensions.json
vendored
|
@ -1,7 +1,8 @@
|
||||||
{
|
{
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
"prisma.prisma",
|
"prisma.prisma",
|
||||||
"dbaeumer.vscode-eslint"
|
"dbaeumer.vscode-eslint",
|
||||||
|
"vue.volar"
|
||||||
],
|
],
|
||||||
"unwantedRecommendations": [
|
"unwantedRecommendations": [
|
||||||
"octref.vetur",
|
"octref.vetur",
|
||||||
|
|
|
@ -58,7 +58,7 @@ router.post('/generate-registration-options', async(req, res) =>
|
||||||
}
|
}
|
||||||
|
|
||||||
//Check if the registrationToken matches the setting
|
//Check if the registrationToken matches the setting
|
||||||
const registrationTokenSetting = await getSetting('REGISTRATION_TOKEN');
|
const registrationTokenSetting = await getSetting('REGISTRATION_TOKEN') || 'INITIAL_REGISTRATION_TOKEN_PLEASE_CHANGE_ME';
|
||||||
|
|
||||||
if (registrationTokenSetting !== registrationToken && !req.session.loggedInUserId)
|
if (registrationTokenSetting !== registrationToken && !req.session.loggedInUserId)
|
||||||
{
|
{
|
||||||
|
|
|
@ -39,3 +39,15 @@ a:not(.q-link):not(.q-btn) {
|
||||||
color: $blue-5;
|
color: $blue-5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.body--light {
|
||||||
|
background: #efefef;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-outline {
|
||||||
|
-webkit-text-stroke: 1px black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-shadow {
|
||||||
|
text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
|
@ -196,7 +196,7 @@
|
||||||
<q-fab
|
<q-fab
|
||||||
v-model="isChatVisible"
|
v-model="isChatVisible"
|
||||||
icon="chat"
|
icon="chat"
|
||||||
class="bg-theme"
|
class="bg-theme text-white"
|
||||||
direction="up"
|
direction="up"
|
||||||
@click="toggleChat"
|
@click="toggleChat"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -95,6 +95,7 @@
|
||||||
<q-badge
|
<q-badge
|
||||||
:color="getStatusColor(statusProps.row.status)"
|
:color="getStatusColor(statusProps.row.status)"
|
||||||
:label="statusProps.row.status"
|
:label="statusProps.row.status"
|
||||||
|
class="text-bold text-shadow text-subtitle2 text-uppercase"
|
||||||
/>
|
/>
|
||||||
</q-td>
|
</q-td>
|
||||||
</template>
|
</template>
|
||||||
|
@ -103,6 +104,7 @@
|
||||||
<q-badge
|
<q-badge
|
||||||
:color="getPriorityColor(priorityProps.row.priority)"
|
:color="getPriorityColor(priorityProps.row.priority)"
|
||||||
:label="priorityProps.row.priority"
|
:label="priorityProps.row.priority"
|
||||||
|
class="text-bold text-shadow text-subtitle2 text-uppercase"
|
||||||
/>
|
/>
|
||||||
</q-td>
|
</q-td>
|
||||||
</template>
|
</template>
|
||||||
|
@ -111,6 +113,7 @@
|
||||||
<q-badge
|
<q-badge
|
||||||
:color="getSeverityColor(severityProps.row.severity)"
|
:color="getSeverityColor(severityProps.row.severity)"
|
||||||
:label="severityProps.row.severity"
|
:label="severityProps.row.severity"
|
||||||
|
class="text-bold text-shadow text-subtitle2 text-uppercase"
|
||||||
/>
|
/>
|
||||||
</q-td>
|
</q-td>
|
||||||
</template>
|
</template>
|
||||||
|
@ -120,12 +123,11 @@
|
||||||
class="text-center"
|
class="text-center"
|
||||||
>
|
>
|
||||||
<q-btn
|
<q-btn
|
||||||
size="sm"
|
size="md"
|
||||||
color="info"
|
color="info"
|
||||||
icon="summarize"
|
icon="summarize"
|
||||||
round
|
round
|
||||||
flat
|
flat
|
||||||
dense
|
|
||||||
@click.stop="showTicketSummary(actionsProps.row.id)"
|
@click.stop="showTicketSummary(actionsProps.row.id)"
|
||||||
:title="'Show summary for ticket ' + 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 === 'trivial') return 'grey';
|
||||||
if (lowerSeverity === 'text') return 'blue-grey';
|
if (lowerSeverity === 'text') return 'blue-grey';
|
||||||
if (lowerSeverity === 'tweak') return 'light-blue';
|
if (lowerSeverity === 'tweak') return 'light-blue';
|
||||||
if (lowerSeverity === 'minor') return 'lime';
|
if (lowerSeverity === 'minor') return 'lime-9';
|
||||||
if (lowerSeverity === 'major') return 'amber';
|
if (lowerSeverity === 'major') return 'amber';
|
||||||
if (lowerSeverity === 'crash') return 'deep-orange';
|
if (lowerSeverity === 'crash') return 'deep-orange';
|
||||||
if (lowerSeverity === 'block') return 'red';
|
if (lowerSeverity === 'block') return 'red';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue