adminforth 2.4.0-next.62 → 2.4.0-next.64
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.
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
|
|
2
|
+
<div class="overflow-x-auto shadow-resourseFormShadow dark:shadow-darkResourseFormShadow"
|
|
3
|
+
:class="{'rounded-default' : isRounded}"
|
|
4
|
+
>
|
|
5
|
+
<div v-if="groupName && !noTitle" class="text-md font-semibold px-6 py-3 flex flex-1 items-center dark:border-gray-600 text-gray-700 bg-lightFormHeading dark:bg-gray-700 dark:text-gray-400 rounded-t-lg">
|
|
4
6
|
{{ groupName }}
|
|
5
7
|
</div>
|
|
6
8
|
<table class="w-full text-sm text-left rtl:text-right text-gray-500 dark:text-gray-400 table-fixed">
|
|
@@ -55,7 +55,6 @@
|
|
|
55
55
|
name="username"
|
|
56
56
|
id="username"
|
|
57
57
|
ref="usernameInput"
|
|
58
|
-
oninput="setCustomValidity('')"
|
|
59
58
|
@keydown.enter="passwordInput.focus()"
|
|
60
59
|
class="w-full"
|
|
61
60
|
placeholder="name@company.com" required />
|
|
@@ -66,7 +65,6 @@
|
|
|
66
65
|
v-model="password"
|
|
67
66
|
ref="passwordInput"
|
|
68
67
|
autocomplete="current-password"
|
|
69
|
-
oninput="setCustomValidity('')"
|
|
70
68
|
@keydown.enter="login"
|
|
71
69
|
:type="!showPw ? 'password': 'text'" name="password" id="password" placeholder="••••••••" class="w-full" required>
|
|
72
70
|
<template #rightIcon>
|
|
@@ -185,16 +183,6 @@ onMounted(async () => {
|
|
|
185
183
|
|
|
186
184
|
|
|
187
185
|
async function login() {
|
|
188
|
-
|
|
189
|
-
if (!username.value) {
|
|
190
|
-
usernameInput.value.setCustomValidity(t('Please fill out this field.'));
|
|
191
|
-
return;
|
|
192
|
-
}
|
|
193
|
-
if (!password.value) {
|
|
194
|
-
passwordInput.value.setCustomValidity(t('Please fill out this field.'));
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
186
|
if (inProgress.value) {
|
|
199
187
|
return;
|
|
200
188
|
}
|