diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-08-22 14:29:58 +0200 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2022-08-25 08:38:00 +0200 |
commit | d0473214cd2582ec63f4a5021a8f5927f67bc98f (patch) | |
tree | 455708226929d13d55e24bde90833e1508a38714 /apps/theming/src | |
parent | 708018795863999b674d1e3e900313785893d6a8 (diff) | |
download | nextcloud-server-d0473214cd2582ec63f4a5021a8f5927f67bc98f.tar.gz nextcloud-server-d0473214cd2582ec63f4a5021a8f5927f67bc98f.zip |
Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/theming/src')
-rw-r--r-- | apps/theming/src/UserThemes.vue | 8 | ||||
-rw-r--r-- | apps/theming/src/components/ItemPreview.vue | 8 |
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: { |