mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
Instead of pre-rendering all multiselects with lots of group entries, the current groups are now displayed as simple labels. Behind the labels there is a pencil icon like for other fields. When clicking the pencil icon, the dropdown will be spawned and will open itself. Upon closing of the dropdown, the label comes back with the updated selection and the dropdown is destroyed.
25 lines
1.3 KiB
PHP
25 lines
1.3 KiB
PHP
<div id="controls">
|
|
<form id="newuser" autocomplete="off">
|
|
<input id="newusername" type="text"
|
|
placeholder="<?php p($l->t('Username'))?>"
|
|
autocomplete="off" autocapitalize="off" autocorrect="off" />
|
|
<input
|
|
type="password" id="newuserpassword"
|
|
placeholder="<?php p($l->t('Password'))?>"
|
|
autocomplete="off" autocapitalize="off" autocorrect="off" />
|
|
<input id="newemail" type="text" style="display:none"
|
|
placeholder="<?php p($l->t('E-Mail'))?>"
|
|
autocomplete="off" autocapitalize="off" autocorrect="off" />
|
|
<div class="groups"><div class="groupsListContainer multiselect button" data-placeholder="<?php p($l->t('Groups'))?>"><span class="title groupsList"></span><span class="icon-triangle-s"></span></div></div>
|
|
<input type="submit" class="button" value="<?php p($l->t('Create'))?>" />
|
|
</form>
|
|
<?php if((bool)$_['recoveryAdminEnabled']): ?>
|
|
<div class="recoveryPassword">
|
|
<input id="recoveryPassword"
|
|
type="password"
|
|
placeholder="<?php p($l->t('Admin Recovery Password'))?>"
|
|
title="<?php p($l->t('Enter the recovery password in order to recover the users files during password change'))?>"
|
|
alt="<?php p($l->t('Enter the recovery password in order to recover the users files during password change'))?>"/>
|
|
</div>
|
|
<?php endif; ?>
|
|
</div>
|