@oniti/quasar-app-extension-vlank-auth 3.2.9 → 3.2.11

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oniti/quasar-app-extension-vlank-auth",
3
- "version": "3.2.9",
3
+ "version": "3.2.11",
4
4
  "description": "Authentification",
5
5
  "author": "François BOUYER <francois@oniti.fr>",
6
6
  "license": "MIT",
@@ -53,7 +53,7 @@
53
53
  label="Mot de passe oublié ?"
54
54
  v-if="$q.config.onitiVlankAuth.disableLostPassword !== true"
55
55
  />
56
- <div class="text-logo">
56
+ <div v-if="getLogoBottomImage()" class="text-logo">
57
57
  <a href="https://www.oniti.fr/"><img alt="Oniti.fr" :src="getLogoBottomImage()" /></a>
58
58
  </div>
59
59
  </q-card>
@@ -95,7 +95,7 @@ const getLogoImage = function () {
95
95
 
96
96
 
97
97
  const getLogoBottomImage = function () {
98
- return require('vlank-auth-logo-text')
98
+ return require('vlank-auth-logo-text') ? require('vlank-auth-logo-text') : null
99
99
  }
100
100
 
101
101
 
@@ -142,10 +142,18 @@ onMounted(() => {
142
142
  }
143
143
 
144
144
  @media(max-width: 768px) {
145
+
146
+ .login-form-container {
147
+ min-width: 350px;
148
+ }
145
149
  .container {
146
- left: 0;
147
- width: 100%;
148
- transform: translate(0, -50%);
150
+ top: 55%;
151
+ .q-card {
152
+ max-width: 5rem !important;
153
+ .logo {
154
+ width: 9rem;
155
+ }
156
+ }
149
157
  }
150
158
  }
151
159
  </style>
@@ -32,7 +32,7 @@
32
32
  label="Retour à l'écran de connexion"
33
33
  @click="onClickBackLogin"
34
34
  />
35
- <div class="text-logo">
35
+ <div v-if="getLogoBottomImage()" class="text-logo">
36
36
  <a href="https://www.oniti.fr/"><img alt="Oniti.fr" :src="getLogoBottomImage()" /></a>
37
37
  </div>
38
38
  </q-card>
@@ -61,7 +61,7 @@ const getLogoImage = function () {
61
61
  }
62
62
 
63
63
  const getLogoBottomImage = function () {
64
- return require('vlank-auth-logo-text')
64
+ return require('vlank-auth-logo-text') ? require('vlank-auth-logo-text') : null
65
65
  }
66
66
 
67
67
  const onClickBackLogin = function () {
@@ -54,7 +54,7 @@
54
54
  unelevated
55
55
  @click="submitPassword"
56
56
  />
57
- <div class="text-logo">
57
+ <div v-if="getLogoBottomImage()" class="text-logo">
58
58
  <a href="https://www.oniti.fr/"><img alt="Oniti.fr" :src="getLogoBottomImage()" /></a>
59
59
  </div>
60
60
  </q-card>
@@ -98,7 +98,7 @@ const getLogoImage = function () {
98
98
  }
99
99
 
100
100
  const getLogoBottomImage = function () {
101
- return require('vlank-auth-logo-text')
101
+ return require('vlank-auth-logo-text') ? require('vlank-auth-logo-text') : null
102
102
  }
103
103
 
104
104
  watch(has_check, (newValue, oldValue) => {