adminforth 3.14.2 → 3.14.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
|
|
55
55
|
<div v-if="coreStore?.config?.defaultUserExists && !isLocalhost" class="p-4 mb-4 text-white rounded-lg bg-red-700/80 fill-white text-sm">
|
|
56
56
|
<IconExclamationCircleOutline class="inline-block align-text-bottom mr-0,5 w-5 h-5" />
|
|
57
|
-
Default user <strong>"adminforth"</strong> detected. Delete it and create your own account.
|
|
57
|
+
{{ $t('Default user') }} <strong>"adminforth"</strong> {{ $t('detected. Delete it and create your own account.') }}
|
|
58
58
|
</div>
|
|
59
59
|
|
|
60
60
|
<ul class="af-sidebar-container space-y-2 font-medium" >
|
|
@@ -329,10 +329,12 @@ import { Tooltip } from '@/afcl';
|
|
|
329
329
|
import type { AnnouncementBadgeResponse } from '@/types/Common';
|
|
330
330
|
import { useAdminforth } from '@/adminforth';
|
|
331
331
|
import { IconExclamationCircleOutline} from '@iconify-prerendered/vue-flowbite';
|
|
332
|
+
import { useI18n } from 'vue-i18n';
|
|
332
333
|
|
|
333
334
|
const isLocalhost = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1' || window.location.hostname === '::1';
|
|
334
335
|
|
|
335
336
|
const { menu } = useAdminforth();
|
|
337
|
+
const { t } = useI18n();
|
|
336
338
|
|
|
337
339
|
interface Props {
|
|
338
340
|
sideBarOpen: boolean;
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
'background-image': 'url(' + loadFile(coreStore.config?.loginBackgroundImage) + ')',
|
|
5
5
|
'background-size': 'cover',
|
|
6
6
|
'background-position': 'center',
|
|
7
|
-
'background-blend-mode': coreStore.config?.removeBackgroundBlendMode ? 'normal' : 'darken'
|
|
7
|
+
'background-blend-mode': coreStore.config?.removeBackgroundBlendMode ? 'normal' : 'darken',
|
|
8
|
+
'background-color': 'rgba(0, 0, 0, 0.4)',
|
|
8
9
|
}: {}"
|
|
9
10
|
>
|
|
10
11
|
|