diff --git a/dashboard/src/components/ApiTokens.vue b/dashboard/src/components/ApiTokens.vue index 70980ce0b..e07514fb0 100644 --- a/dashboard/src/components/ApiTokens.vue +++ b/dashboard/src/components/ApiTokens.vue @@ -6,7 +6,7 @@ const t = i18n.t; import moment from 'moment-timezone'; import { ref, onMounted, computed, useTemplateRef } from 'vue'; -import { Button, Menu, Dialog, InputDialog, FormGroup, Radiobutton, TableView, TextInput } from '@cloudron/pankow'; +import { Button, Menu, Dialog, InputDialog, FormGroup, Radiobutton, TableView, TextInput, InputGroup } from '@cloudron/pankow'; import { copyToClipboard, prettyLongDate } from '@cloudron/pankow/utils'; import { TOKEN_TYPES } from '../constants.js'; import Section from './Section.vue'; @@ -89,9 +89,9 @@ async function onSubmitAddApiToken(){ await refreshApiTokens(); } -function onCopyApiTokenToClipboard(apiToken) { +function onCopyToClipboard(apiToken) { copyToClipboard(apiToken); - window.pankow.notify({ type: 'success', text: 'Token copied!' }); + window.pankow.notify({ type: 'success', text: 'API Token copied!' }); } function onReset() { @@ -165,10 +165,10 @@ onMounted(async () => {

{{ $t('profile.createApiToken.description') }}

-
- -
+ + +
@@ -205,17 +205,3 @@ onMounted(async () => { - - diff --git a/dashboard/src/components/AppPasswords.vue b/dashboard/src/components/AppPasswords.vue index a178a3c18..b3fa2cbef 100644 --- a/dashboard/src/components/AppPasswords.vue +++ b/dashboard/src/components/AppPasswords.vue @@ -6,7 +6,7 @@ const t = i18n.t; import moment from 'moment-timezone'; import { ref, onMounted, useTemplateRef, computed } from 'vue'; -import { Button, Menu, Dialog, SingleSelect, FormGroup, TextInput, TableView, InputDialog } from '@cloudron/pankow'; +import { Button, Menu, Dialog, SingleSelect, FormGroup, TextInput, TableView, InputDialog, InputGroup } from '@cloudron/pankow'; import { prettyLongDate, copyToClipboard } from '@cloudron/pankow/utils'; import Section from './Section.vue'; import AppPasswordsModel from '../models/AppPasswordsModel.js'; @@ -191,10 +191,10 @@ onMounted(async () => {

{{ $t('profile.createAppPassword.description') }}

-
- + +
+

{{ $t('profile.createAppPassword.copyNow') }}

@@ -220,17 +220,3 @@ onMounted(async () => { - - diff --git a/dashboard/src/views/UserDirectoryLdapServerView.vue b/dashboard/src/views/UserDirectoryLdapServerView.vue index 192c8af10..3e450a85c 100644 --- a/dashboard/src/views/UserDirectoryLdapServerView.vue +++ b/dashboard/src/views/UserDirectoryLdapServerView.vue @@ -1,7 +1,7 @@