diff --git a/dashboard/src/components/ExternalLdap.vue b/dashboard/src/components/ExternalLdap.vue index 53c1e86de..bd6b4c131 100644 --- a/dashboard/src/components/ExternalLdap.vue +++ b/dashboard/src/components/ExternalLdap.vue @@ -11,6 +11,8 @@ import { TASK_TYPES } from '../constants.js'; const userDirectoryModel = UserDirectoryModel.create(); const tasksModel = TasksModel.create(); +const subscriptionRequiredDialog = inject('subscriptionRequiredDialog'); + const availableProviders = [ { name: 'Active Directory', value: 'ad' }, { name: 'Cloudron', value: 'cloudron' }, @@ -301,11 +303,17 @@ onMounted(async () => { -
+
+ +

{{ $t('users.externalLdap.description') }}

diff --git a/dashboard/src/components/Section.vue b/dashboard/src/components/Section.vue index 87ee0ab7c..0ab9a9bee 100644 --- a/dashboard/src/components/Section.vue +++ b/dashboard/src/components/Section.vue @@ -6,12 +6,16 @@ defineProps({ type: Boolean, default: true, }, + disabled: { + type: Boolean, + default: false, + }, }); @@ -27,6 +34,7 @@ defineProps({ .section { margin-bottom: 30px; + position: relative; } .section-header { @@ -72,4 +80,18 @@ defineProps({ padding-right: 25px; } +.section-overlay { + display: none; +} + +.section[disabled] .section-overlay { + display: block; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + backdrop-filter: blur(2px); +} + \ No newline at end of file