diff --git a/front/src/components/auth/Settings.vue b/front/src/components/auth/Settings.vue index 592681700..a1b83cc92 100644 --- a/front/src/components/auth/Settings.vue +++ b/front/src/components/auth/Settings.vue @@ -261,10 +261,6 @@ const changeEmail = async () => { isChangingEmail.value = false } -onMounted(() => { - $('select.dropdown').dropdown() -}) - fetchApps() fetchOwnedApps() diff --git a/front/src/components/common/ContentForm.vue b/front/src/components/common/ContentForm.vue index f67bdda1d..a863fdb43 100644 --- a/front/src/components/common/ContentForm.vue +++ b/front/src/components/common/ContentForm.vue @@ -6,6 +6,9 @@ import { useI18n } from 'vue-i18n' import useLogger from '~/composables/useLogger' +import Textarea from '~/components/ui/Textarea.vue' +import Button from '~/components/ui/Button.vue' + interface Events { (e: 'update:modelValue', value: string): void } @@ -83,22 +86,20 @@ onMounted(async () => { - - - - {{ t('components.common.ContentForm.button.write') }} - - + {{ t('components.common.ContentForm.button.preview') }} - - + { - - - - { {{ t('components.common.ContentForm.help.markdown') }} - - diff --git a/front/src/components/common/RenderedDescription.vue b/front/src/components/common/RenderedDescription.vue index acdc03ce3..ba839f52f 100644 --- a/front/src/components/common/RenderedDescription.vue +++ b/front/src/components/common/RenderedDescription.vue @@ -8,6 +8,9 @@ import { useI18n } from 'vue-i18n' import axios from 'axios' import clip from 'text-clipper' +import Button from '~/components/ui/Button.vue' +import Alert from '~/components/ui/Alert.vue' + interface Events { (e: 'updated', data: unknown): void } @@ -88,9 +91,10 @@ const submit = async () => { - @@ -98,6 +102,8 @@ const submit = async () => { @@ -109,28 +115,23 @@ const submit = async () => { {{ t('components.common.RenderedDescription.empty.noDescription') }} - - - {{ t('components.common.RenderedDescription.button.edit') }} - + - - - {{ t('components.common.RenderedDescription.header.failure') }} - { {{ error }} - + - {{ t('components.common.RenderedDescription.button.cancel') }} - - + {{ t('components.common.RenderedDescription.button.update') }} - - + diff --git a/front/src/components/ui/Link.vue b/front/src/components/ui/Link.vue index f2629b249..f1ee1d4b9 100644 --- a/front/src/components/ui/Link.vue +++ b/front/src/components/ui/Link.vue @@ -64,6 +64,11 @@ onMounted(() => {
{{ t('components.common.ContentForm.help.markdown') }}