summaryrefslogtreecommitdiffstats
path: root/apps/settings
diff options
context:
space:
mode:
authorVanessa Pertsch <vanessa.pertsch@posteo.de>2022-02-24 14:38:29 +0100
committerVanessa Pertsch <vanessa.pertsch@posteo.de>2022-02-24 16:59:57 +0100
commit49a7d9b7d3f798bed864a15efb0d7c19905c0b97 (patch)
treec8e22be8b70ab3b0f28bce27eee79771115a7902 /apps/settings
parentaf5479467eca1fc281d65bfddb348f52df3dd880 (diff)
downloadnextcloud-server-49a7d9b7d3f798bed864a15efb0d7c19905c0b97.tar.gz
nextcloud-server-49a7d9b7d3f798bed864a15efb0d7c19905c0b97.zip
use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com> Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
Diffstat (limited to 'apps/settings')
-rw-r--r--apps/settings/css/settings.scss4
-rw-r--r--apps/settings/src/components/AppList.vue8
2 files changed, 7 insertions, 5 deletions
diff --git a/apps/settings/css/settings.scss b/apps/settings/css/settings.scss
index d9073b9a138..87478983644 100644
--- a/apps/settings/css/settings.scss
+++ b/apps/settings/css/settings.scss
@@ -1040,7 +1040,7 @@ span.version {
background-color: var(--color-main-background);
position: fixed;
z-index: 1;
- height: $header-height;
+ height: $header-height + 10px;
}
&.installed {
@@ -1048,7 +1048,7 @@ span.version {
display: table;
width: 100%;
height: auto;
- margin-top: $header-height;
+ margin-top: $header-height + 10px;
}
margin-bottom: 100px;
diff --git a/apps/settings/src/components/AppList.vue b/apps/settings/src/components/AppList.vue
index 6f82d0c52e1..31d85e51092 100644
--- a/apps/settings/src/components/AppList.vue
+++ b/apps/settings/src/components/AppList.vue
@@ -26,12 +26,12 @@
<template v-if="useListView">
<div v-if="showUpdateAll" class="counter">
{{ n('settings', '%n app has an update available', '%n apps have an update available', counter) }}
- <button v-if="showUpdateAll"
+ <Button v-if="showUpdateAll"
id="app-list-update-all"
- class="primary"
+ type="primary"
@click="updateAll">
{{ t('settings', 'Update all') }}
- </button>
+ </Button>
</div>
<div v-if="!showUpdateAll" class="counter">
{{ t('settings', 'All apps are up-to-date.') }}
@@ -104,11 +104,13 @@
import AppItem from './AppList/AppItem'
import PrefixMixin from './PrefixMixin'
import pLimit from 'p-limit'
+import Button from '@nextcloud/vue/dist/Components/Button'
export default {
name: 'AppList',
components: {
AppItem,
+ Button,
},
mixins: [PrefixMixin],
props: ['category', 'app', 'search'],