summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-10-19 10:29:48 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-10-21 21:10:48 +0200
commit69f0f17f32d6e50d75e2e004a5b85db42f0de6e8 (patch)
tree2e49be5d4bcfac1bd692f3d24375b39c4131edad /settings/templates
parentf4004d3ab87006500ac6478ec91affbc40a52657 (diff)
downloadnextcloud-server-69f0f17f32d6e50d75e2e004a5b85db42f0de6e8.tar.gz
nextcloud-server-69f0f17f32d6e50d75e2e004a5b85db42f0de6e8.zip
Edit form to guidelines
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/users/part.grouplist.php28
1 files changed, 13 insertions, 15 deletions
diff --git a/settings/templates/users/part.grouplist.php b/settings/templates/users/part.grouplist.php
index 865cc811e38..e68cb0b37ad 100644
--- a/settings/templates/users/part.grouplist.php
+++ b/settings/templates/users/part.grouplist.php
@@ -1,18 +1,16 @@
<ul id="usergrouplist" data-sort-groups="<?php p($_['sortGroups']); ?>">
<!-- Add new group -->
<?php if ($_['isAdmin']) { ?>
- <li id="newgroup-init">
- <a href="#">
- <span><?php p($l->t('Add group'))?></span>
- </a>
+ <li id="newgroup-entry">
+ <a href="#" class="icon-add" id="newgroup-init"><?php p($l->t('Add group'))?></a>
+ <div class="app-navigation-entry-edit" id="newgroup-form">
+ <form>
+ <input type="text" id="newgroupname" placeholder="<?php p($l->t('Add group'))?>">
+ <input type="submit" value="" class="icon-checkmark">
+ </form>
+ </div>
</li>
<?php } ?>
- <li id="newgroup-form" style="display: none">
- <form>
- <input type="text" id="newgroupname" placeholder="<?php p($l->t('Group name')); ?> …" />
- <input type="submit" class="button icon-add" value="" />
- </form>
- </li>
<!-- Everyone -->
<li id="everyonegroup" data-gid="_everyone" data-usercount="" class="isgroup">
<a href="#">
@@ -20,11 +18,11 @@
<?php p($l->t('Everyone')); ?>
</span>
</a>
- <span class="utils">
- <span class="usercount" id="everyonecount">
-
- </span>
- </span>
+ <div class="app-navigation-entry-utils">
+ <ul>
+ <li class="usercount app-navigation-entry-utils-counter" id="everyonecount"></li>
+ </ul>
+ </div>
</li>
<!-- The Admin Group -->