aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/src
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/src')
-rw-r--r--apps/theming/src/AdminTheming.vue6
-rw-r--r--apps/theming/src/components/admin/FileInputField.vue6
2 files changed, 6 insertions, 6 deletions
diff --git a/apps/theming/src/AdminTheming.vue b/apps/theming/src/AdminTheming.vue
index bb26dcc0f30..f922143e04d 100644
--- a/apps/theming/src/AdminTheming.vue
+++ b/apps/theming/src/AdminTheming.vue
@@ -58,15 +58,15 @@
<FileInputField v-for="field in fileInputFields"
:key="field.name"
:aria-label="field.ariaLabel"
+ :data-admin-theming-setting-file="field.name"
:default-mime-value="field.defaultMimeValue"
:display-name="field.displayName"
:mime-name="field.mimeName"
:mime-value.sync="field.mimeValue"
:name="field.name"
- data-admin-theming-setting-background
@update:theming="$emit('update:theming')" />
- <div class="admin-theming__preview">
- <div class="admin-theming__preview-logo" />
+ <div class="admin-theming__preview" data-admin-theming-preview>
+ <div class="admin-theming__preview-logo" data-admin-theming-preview-logo />
</div>
</div>
</NcSettingsSection>
diff --git a/apps/theming/src/components/admin/FileInputField.vue b/apps/theming/src/components/admin/FileInputField.vue
index ba046ec8b31..c15d1ee2c8e 100644
--- a/apps/theming/src/components/admin/FileInputField.vue
+++ b/apps/theming/src/components/admin/FileInputField.vue
@@ -27,7 +27,7 @@
<NcButton type="secondary"
:id="id"
:aria-label="ariaLabel"
- data-admin-theming-setting-background-picker
+ data-admin-theming-setting-file-picker
@click="activateLocalFilePicker">
<template #icon>
<Upload :size="20" />
@@ -37,7 +37,7 @@
<NcButton v-if="showReset"
type="tertiary"
:aria-label="t('theming', 'Reset to default')"
- data-admin-theming-setting-background-reset
+ data-admin-theming-setting-file-reset
@click="undo">
<template #icon>
<Undo :size="20" />
@@ -46,7 +46,7 @@
<NcButton v-if="showRemove"
type="tertiary"
:aria-label="t('theming', 'Remove background image')"
- data-admin-theming-setting-background-remove
+ data-admin-theming-setting-file-remove
@click="removeBackground">
<template #icon>
<Delete :size="20" />