highlight error message & bigger h for history title

This commit is contained in:
axolotle 2021-04-08 13:24:12 +02:00
parent 016b49b94d
commit 128f059724
4 changed files with 8 additions and 7 deletions

View file

@ -98,6 +98,7 @@ div {
height: 1.25rem; height: 1.25rem;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center;
min-width: 70px; min-width: 70px;
} }

View file

@ -414,8 +414,7 @@
"warnings": "{count} warnings", "warnings": "{count} warnings",
"words": { "words": {
"collapse": "Collapse", "collapse": "Collapse",
"default": "Default", "default": "Default"
"dismiss": "Dismiss"
}, },
"wrong_password": "Wrong password", "wrong_password": "Wrong password",
"yes": "Yes", "yes": "Yes",

View file

@ -20,7 +20,8 @@
</p> </p>
<p> <p>
<strong v-t="'api_error.error_message'" /> <span v-html="error.message" /> <strong v-t="'api_error.error_message'" />
<b-alert class="mt-2" variant="danger" v-html="error.message" />
</p> </p>
<template v-if="error.traceback"> <template v-if="error.traceback">
@ -42,7 +43,7 @@
<!-- TODO add copy error ? --> <!-- TODO add copy error ? -->
<b-button <b-button
variant="light" size="sm" variant="light" size="sm"
v-t="'words.dismiss'" @click="dismiss" v-t="'ok'" @click="dismiss"
/> />
</b-card-footer> </b-card-footer>
</div> </div>

View file

@ -10,9 +10,9 @@
@mousedown.left.prevent="onHistoryBarClick" @mousedown.left.prevent="onHistoryBarClick"
@keyup.space.enter.prevent="onHistoryBarKey" @keyup.space.enter.prevent="onHistoryBarKey"
> >
<h6 class="m-0"> <h5 class="m-0">
<icon iname="history" /> <span class="d-none d-sm-inline">{{ $t('history.title') }}</span> <icon iname="history" /> <span class="d-none d-sm-inline font-weight-bold">{{ $t('history.title') }}</span>
</h6> </h5>
<!-- CURRENT/LAST ACTION --> <!-- CURRENT/LAST ACTION -->
<b-button <b-button