diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-10-16 18:00:56 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-10-21 21:10:45 +0200 |
commit | f4004d3ab87006500ac6478ec91affbc40a52657 (patch) | |
tree | 6bf95b03cfabbaf4fb39caee46586d2b4a9ddef6 /settings/templates | |
parent | 3709d3eeae4660579b15c8f30314654c43990841 (diff) | |
download | nextcloud-server-f4004d3ab87006500ac6478ec91affbc40a52657.tar.gz nextcloud-server-f4004d3ab87006500ac6478ec91affbc40a52657.zip |
User settings app-navigation to css guidelines
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/users/part.grouplist.php | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/settings/templates/users/part.grouplist.php b/settings/templates/users/part.grouplist.php index 5dfd7836f6a..865cc811e38 100644 --- a/settings/templates/users/part.grouplist.php +++ b/settings/templates/users/part.grouplist.php @@ -31,9 +31,11 @@ <?php foreach($_["adminGroup"] as $adminGroup): ?> <li data-gid="admin" data-usercount="<?php if($adminGroup['usercount'] > 0) { p($adminGroup['usercount']); } ?>" class="isgroup"> <a href="#"><span class="groupname"><?php p($l->t('Admins')); ?></span></a> - <span class="utils"> - <span class="usercount"><?php if($adminGroup['usercount'] > 0) { p($adminGroup['usercount']); } ?></span> - </span> + <div class="app-navigation-entry-utils"> + <ul> + <li class="app-navigation-entry-utils-counter"><?php if($adminGroup['usercount'] > 0) { p($adminGroup['usercount']); } ?></li> + </ul> + </div> </li> <?php endforeach; ?> @@ -41,9 +43,11 @@ <?php $disabledUsersGroup = $_["disabledUsersGroup"] ?> <li data-gid="_disabledUsers" data-usercount="<?php if($disabledUsersGroup['usercount'] > 0) { p($disabledUsersGroup['usercount']); } ?>" class="isgroup"> <a href="#"><span class="groupname"><?php p($l->t('Disabled')); ?></span></a> - <span class="utils"> - <span class="usercount"><?php if($disabledUsersGroup['usercount'] > 0) { p($disabledUsersGroup['usercount']); } ?></span> - </span> + <div class="app-navigation-entry-utils"> + <ul> + <li class="app-navigation-entry-utils-counter"><?php if($disabledUsersGroup['usercount'] > 0) { p($disabledUsersGroup['usercount']); } ?></li> + </ul> + </div> </li> <!--List of Groups--> @@ -52,14 +56,16 @@ <a href="#" class="dorename"> <span class="groupname"><?php p($group['name']); ?></span> </a> - <span class="utils"> - <span class="usercount"><?php if($group['usercount'] > 0) { p($group['usercount']); } ?></span> - <?php if($_['isAdmin']): ?> - <a href="#" class="action delete" original-title="<?php p($l->t('Delete'))?>"> - <img src="<?php print_unescaped(image_path('core', 'actions/delete.svg')) ?>" /> - </a> - <?php endif; ?> - </span> + <div class="app-navigation-entry-utils"> + <ul> + <?php if($_['isAdmin']): ?> + <li class="app-navigation-entry-utils-menu-button delete"> + <button class="icon-delete"></button> + </li> + <?php endif; ?> + <li class="app-navigation-entry-utils-counter"><?php if($group['usercount'] > 0) { p($group['usercount']); } ?></li> + </ul> + </div> </li> <?php endforeach; ?> </ul> |