Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-08-22 15:29:58 +0300
committerVincent Petry <vincent@nextcloud.com>2022-08-25 09:38:00 +0300
commitd0473214cd2582ec63f4a5021a8f5927f67bc98f (patch)
tree455708226929d13d55e24bde90833e1508a38714 /apps/theming
parent708018795863999b674d1e3e900313785893d6a8 (diff)
Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/theming')
-rw-r--r--apps/theming/src/UserThemes.vue8
-rw-r--r--apps/theming/src/components/ItemPreview.vue8
2 files changed, 8 insertions, 8 deletions
diff --git a/apps/theming/src/UserThemes.vue b/apps/theming/src/UserThemes.vue
index 381cb142a71..8e7f1d54e37 100644
--- a/apps/theming/src/UserThemes.vue
+++ b/apps/theming/src/UserThemes.vue
@@ -1,5 +1,5 @@
<template>
- <SettingsSection class="theming" :title="t('themes', 'Appearance and accessibility')">
+ <NcSettingsSection class="theming" :title="t('themes', 'Appearance and accessibility')">
<p v-html="description" />
<p v-html="descriptionDetail" />
@@ -23,14 +23,14 @@
type="font"
@change="changeFont" />
</div>
- </SettingsSection>
+ </NcSettingsSection>
</template>
<script>
import { generateOcsUrl } from '@nextcloud/router'
import { loadState } from '@nextcloud/initial-state'
import axios from '@nextcloud/axios'
-import SettingsSection from '@nextcloud/vue/dist/Components/SettingsSection'
+import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection'
import ItemPreview from './components/ItemPreview'
@@ -43,7 +43,7 @@ export default {
name: 'UserThemes',
components: {
ItemPreview,
- SettingsSection,
+ NcSettingsSection,
},
data() {
diff --git a/apps/theming/src/components/ItemPreview.vue b/apps/theming/src/components/ItemPreview.vue
index 90fee453ddf..015a7480c72 100644
--- a/apps/theming/src/components/ItemPreview.vue
+++ b/apps/theming/src/components/ItemPreview.vue
@@ -7,25 +7,25 @@
<span v-if="enforced" class="theming__preview-warning" role="note">
{{ t('theming', 'Theme selection is enforced') }}
</span>
- <CheckboxRadioSwitch class="theming__preview-toggle"
+ <NcCheckboxRadioSwitch class="theming__preview-toggle"
:checked.sync="checked"
:disabled="enforced"
:name="name"
:type="switchType">
{{ theme.enableLabel }}
- </CheckboxRadioSwitch>
+ </NcCheckboxRadioSwitch>
</div>
</div>
</template>
<script>
import { generateFilePath } from '@nextcloud/router'
-import CheckboxRadioSwitch from '@nextcloud/vue/dist/Components/CheckboxRadioSwitch'
+import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch'
export default {
name: 'ItemPreview',
components: {
- CheckboxRadioSwitch,
+ NcCheckboxRadioSwitch,
},
props: {
enforced: {