diff --git a/css/settings.css b/css/settings.css new file mode 100644 index 0000000..97d6272 --- /dev/null +++ b/css/settings.css @@ -0,0 +1,9 @@ +input, +select { + width: 33%; + min-width: 250px; +} + +h3 { + margin-top: 25px; +} diff --git a/templates/admin.php b/templates/admin.php index e9aeb12..3eecc2c 100644 --- a/templates/admin.php +++ b/templates/admin.php @@ -2,37 +2,43 @@ /** @var array $_ */ /** @var \OCP\IL10N $l */ script('registration', 'settings'); +style('registration', 'settings'); ?>

t('Registration')); ?>

+ +

t('Registered users default group')); ?>

- - + '.$group.''; } ?> - -

-

- - > -

-

- t('Enter a semicolon-separated list of allowed domains. Example: nextcloud.com;example.com'));?> + +

-
-

- > - -

+

t('Allowed email domains')); ?>

+

+ +

+

+ t('Enter a semicolon-separated list of allowed domains, * for wildcard. Example: %s', ['nextcloud.com;*.example.com']));?> +

- t('Enabling "admin approval" will prevent registrations from mobile and desktop clients to complete as the credentials can not be verified by the client until the user was enabled.'));?> -
+

t('Admin approval')); ?>

+

+ > + +

+ + t('Enabling "admin approval" will prevent registrations from mobile and desktop clients to complete as the credentials can not be verified by the client until the user was enabled.'));?>