summaryrefslogtreecommitdiffstats
path: root/apps/settings/src
diff options
context:
space:
mode:
authorVanessa Pertsch <vanessa.pertsch@posteo.de>2022-02-24 15:11:10 +0100
committernextcloud-command <nextcloud-command@users.noreply.github.com>2022-03-01 07:37:35 +0000
commit800f5f1be16b48f0627796e4916bc964ee44aea7 (patch)
tree9f06f059f9cf78da686308ba5f9488d8c908b00f /apps/settings/src
parentae8a4706cf227edea7f30f2ab34a878fb782e564 (diff)
downloadnextcloud-server-800f5f1be16b48f0627796e4916bc964ee44aea7.tar.gz
nextcloud-server-800f5f1be16b48f0627796e4916bc964ee44aea7.zip
use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com> Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/settings/src')
-rw-r--r--apps/settings/src/components/AuthTokenSetupDialogue.vue18
1 files changed, 12 insertions, 6 deletions
diff --git a/apps/settings/src/components/AuthTokenSetupDialogue.vue b/apps/settings/src/components/AuthTokenSetupDialogue.vue
index 2ad2ae670dd..a65da9552a3 100644
--- a/apps/settings/src/components/AuthTokenSetupDialogue.vue
+++ b/apps/settings/src/components/AuthTokenSetupDialogue.vue
@@ -26,11 +26,10 @@
:disabled="loading"
:placeholder="t('settings', 'App name')"
@keydown.enter="submit">
- <button class="button"
- :disabled="loading"
+ <Button :disabled="loading"
@click="submit">
{{ t('settings', 'Create new app password') }}
- </button>
+ </Button>
</div>
<div v-else>
{{ t('settings', 'Use the credentials below to configure your app or device.') }}
@@ -59,10 +58,9 @@
class="icon icon-clippy"
@mouseover="hoveringCopyButton = true"
@mouseleave="hoveringCopyButton = false" />
- <button class="button"
- @click="reset">
+ <Button @click="reset">
{{ t('settings', 'Done') }}
- </button>
+ </Button>
</div>
<div class="app-password-row">
<span class="app-password-label" />
@@ -80,11 +78,13 @@
import QR from '@chenfengyuan/vue-qrcode'
import confirmPassword from '@nextcloud/password-confirmation'
import { getRootUrl } from '@nextcloud/router'
+import Button from '@nextcloud/vue/dist/Components/Button'
export default {
name: 'AuthTokenSetupDialogue',
components: {
QR,
+ Button,
},
props: {
add: {
@@ -203,4 +203,10 @@ export default {
width: 245px;
font-family: monospace;
}
+
+ .button-vue{
+ display:inline-block;
+ margin: 3px 3px 3px 3px;
+ }
+
</style>