Fix display of token/password

This commit is contained in:
Girish Ramakrishnan
2025-09-09 09:20:41 +02:00
parent c9e839f1fd
commit ab4607bf0e
4 changed files with 18 additions and 14 deletions
+7 -7
View File
@@ -6,7 +6,7 @@
"packages": {
"": {
"dependencies": {
"@cloudron/pankow": "^3.2.12",
"@cloudron/pankow": "^3.2.13",
"@fontsource/inter": "^5.2.6",
"@fortawesome/fontawesome-free": "^7.0.0",
"@vitejs/plugin-vue": "^6.0.1",
@@ -76,9 +76,9 @@
}
},
"node_modules/@cloudron/pankow": {
"version": "3.2.12",
"resolved": "https://registry.npmjs.org/@cloudron/pankow/-/pankow-3.2.12.tgz",
"integrity": "sha512-mxFp8wH8YzFIm1GRrjLhZru/vTUrAGX91fREplY+nlz+QFx0acS1twKPc34WyNBM6y4cf5xhB6qhb+brzTOPMA==",
"version": "3.2.13",
"resolved": "https://registry.npmjs.org/@cloudron/pankow/-/pankow-3.2.13.tgz",
"integrity": "sha512-fbcaxdiR4808n3UZk5mS3KytifkRSP+8XL9iNAo5hJBhw20ie3VI4LLrI3ROkdHIgrQLYuscpBvHYyfdARwlWw==",
"license": "ISC",
"dependencies": {
"@fontsource/inter": "^5.2.6",
@@ -2973,9 +2973,9 @@
}
},
"@cloudron/pankow": {
"version": "3.2.12",
"resolved": "https://registry.npmjs.org/@cloudron/pankow/-/pankow-3.2.12.tgz",
"integrity": "sha512-mxFp8wH8YzFIm1GRrjLhZru/vTUrAGX91fREplY+nlz+QFx0acS1twKPc34WyNBM6y4cf5xhB6qhb+brzTOPMA==",
"version": "3.2.13",
"resolved": "https://registry.npmjs.org/@cloudron/pankow/-/pankow-3.2.13.tgz",
"integrity": "sha512-fbcaxdiR4808n3UZk5mS3KytifkRSP+8XL9iNAo5hJBhw20ie3VI4LLrI3ROkdHIgrQLYuscpBvHYyfdARwlWw==",
"requires": {
"@fontsource/inter": "^5.2.6",
"@fortawesome/fontawesome-free": "^7.0.0",
+1 -1
View File
@@ -7,7 +7,7 @@
},
"type": "module",
"dependencies": {
"@cloudron/pankow": "^3.2.12",
"@cloudron/pankow": "^3.2.13",
"@fontsource/inter": "^5.2.6",
"@fortawesome/fontawesome-free": "^7.0.0",
"@vitejs/plugin-vue": "^6.0.1",
+5 -3
View File
@@ -164,9 +164,11 @@ onMounted(async () => {
</form>
</div>
<div v-else>
{{ $t('profile.createApiToken.description') }}
<TextInput v-model="addedToken" readonly/>
<Button tool @click="onCopyApiTokenToClipboard(addedToken)" icon="fa fa-clipboard" />
<p>{{ $t('profile.createApiToken.description') }}</p>
<div style="display: flex; width: 100%; gap: 5px">
<TextInput v-model="addedToken" readonly/>
<Button tool @click="onCopyApiTokenToClipboard(addedToken)" icon="fa fa-clipboard" />
</div>
<p>{{ $t('profile.createApiToken.copyNow') }}</p>
</div>
</Transition>
+5 -3
View File
@@ -190,9 +190,11 @@ onMounted(async () => {
</form>
</div>
<div v-else>
{{ $t('profile.createAppPassword.description') }}
<TextInput v-model="addedPassword" readonly/>
<Button tool @click="onCopyToClipboard(addedPassword)" icon="fa fa-clipboard" />
<p>{{ $t('profile.createAppPassword.description') }}</p>
<div style="display: flex; width: 100%; gap: 5px">
<TextInput v-model="addedPassword" readonly/>
<Button tool @click="onCopyToClipboard(addedPassword)" icon="fa fa-clipboard" />
</div>
<p>{{ $t('profile.createAppPassword.copyNow') }}</p>
</div>
</Transition>