From 36f63dab7341d31c6e4acd0fdb3717ef44d64ebf Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Wed, 7 Jul 2021 09:26:01 -0700 Subject: [PATCH] Updated layout --- Lib/lang.php | 1 + View/GrouperGroups/groupmember.ctp | 69 +++++----- View/GrouperGroups/groupoptin.ctp | 172 +++++++++++++------------ View/GrouperGroups/groupowner.ctp | 196 +++++++++++++++-------------- 4 files changed, 237 insertions(+), 201 deletions(-) diff --git a/Lib/lang.php b/Lib/lang.php index 0eaeaea..3071470 100644 --- a/Lib/lang.php +++ b/Lib/lang.php @@ -52,6 +52,7 @@ 'pl.grouperlite.table.name' => 'Name', 'pl.grouperlite.table.description' => 'Description', + 'pl.grouperlite.table.role' => 'Role', 'pl.grouperlite.table.status' => 'Status', 'pl.grouperlite.table.action' => 'Action', 'pl.grouperlite.table.open' => 'Access', diff --git a/View/GrouperGroups/groupmember.ctp b/View/GrouperGroups/groupmember.ctp index 9074a6d..6c51d8d 100644 --- a/View/GrouperGroups/groupmember.ctp +++ b/View/GrouperGroups/groupmember.ctp @@ -2,6 +2,15 @@ Html->addCrumb(_txt('pl.grouperlite.nav.memberships')); ?> element('GrouperLite.Components/navigation-groups', array('active' => 'groupmember')); ?> element('GrouperLite.Components/search', array('active' => 'groupmember')); ?> + 'pl.grouperlite.table.name', + 'role' => 'pl.grouperlite.table.role', + 'description' => 'pl.grouperlite.table.description', + 'action' => 'pl.grouperlite.table.action' +]; +$numColumns = count($columns); +?> 0 || count($wgmemberships) > 0) : ?>
element("pagination", array( @@ -14,12 +23,15 @@ - - - + $label) : ?> + + + + + $group) : ?> + + + - + $group) : ?> + + + + + + +
Ad-hoc groups
element('GrouperLite.Components/optAction', array( @@ -40,35 +53,35 @@
- - - $group) : ?> - - - - - - - -
- element('GrouperLite.Components/optAction', array( - 'member' => $group['optOut'], - 'action' => 'leavegroup', - 'group' => $group['name'], - 'idx' => $key - )) : ''; ?> -
+
+
+ element('GrouperLite.Components/optAction', array( + 'member' => $group['optOut'], + 'action' => 'leavegroup', + 'group' => $group['name'], + 'idx' => $key + )) : ''; ?> +
diff --git a/View/GrouperGroups/groupoptin.ctp b/View/GrouperGroups/groupoptin.ctp index d275e14..c7a6f36 100644 --- a/View/GrouperGroups/groupoptin.ctp +++ b/View/GrouperGroups/groupoptin.ctp @@ -2,89 +2,101 @@ Html->addCrumb(_txt('pl.grouperlite.nav.groups-can-join')); ?> element('GrouperLite.Components/navigation-groups', array('active' => 'groupoptin')); ?> element('GrouperLite.Components/search', array('active' => 'groupoptin')); ?> + 'pl.grouperlite.table.name', + 'role' => 'pl.grouperlite.table.role', + 'description' => 'pl.grouperlite.table.description', + 'action' => 'pl.grouperlite.table.action' +]; +$numColumns = count($columns); +?> 0 || count($wgoptins) > 0) : ?> -
- element("pagination", array( - 'goto' => false, - 'limit' => false, - 'numbers' => false, - 'counter' => true, - 'class' => 'counter' - )); ?> - - +
+ element("pagination", array( + 'goto' => false, + 'limit' => false, + 'numbers' => false, + 'counter' => true, + 'class' => 'counter' + )); ?> +
+ + + $label) : ?> + + + + + + + + + $group) : ?> + + + + + + + + + + + + + + $group) : ?> - - - + + + + - - - $group) : ?> - - - - - - - - - - - - -
Ad-hoc groups
+ + element('GrouperLite.Components/optAction', array( + 'member' => $group['member'], + 'action' => 'joingroup', + 'group' => $group['name'], + 'idx' => $key + )); ?> +
+ +
+ + element('GrouperLite.Components/optAction', array( + 'member' => $group['member'], + 'action' => 'joingroup', + 'group' => $group['name'], + 'idx' => $key + )); ?> +
- - element('GrouperLite.Components/optAction', array( - 'member' => $group['member'], - 'action' => 'joingroup', - 'group' => $group['name'], - 'idx' => $key - )); ?> -
- - - $group) : ?> - - - - - - - -
- - element('GrouperLite.Components/optAction', array( - 'member' => $group['member'], - 'action' => 'joingroup', - 'group' => $group['name'], - 'idx' => $key - )); ?> -
-
- element("pagination", array( - 'goto' => false, - 'limit' => true, - 'numbers' => true, - 'counter' => false - )); ?> -
+ + + + + element("pagination", array( + 'goto' => false, + 'limit' => true, + 'numbers' => true, + 'counter' => false + )); ?> +
-
-

-
+
+

+
\ No newline at end of file diff --git a/View/GrouperGroups/groupowner.ctp b/View/GrouperGroups/groupowner.ctp index 05b7892..9277e68 100644 --- a/View/GrouperGroups/groupowner.ctp +++ b/View/GrouperGroups/groupowner.ctp @@ -2,102 +2,112 @@ Html->addCrumb(_txt('pl.grouperlite.nav.groups-presided')); ?> element('Components/navigation-groups', array('active' => 'groupowner')); ?> element('Components/search', array('active' => 'groupowner')); ?> - + 'pl.grouperlite.table.name', + 'role' => 'pl.grouperlite.table.role', + 'description' => 'pl.grouperlite.table.description', + 'status' => 'pl.grouperlite.table.status', + 'action' => 'pl.grouperlite.table.action' +]; +$numColumns = count($columns); +?> 0 || count($wgowners) > 0) : ?> -
- element("pagination", array( - 'goto' => false, - 'limit' => false, - 'numbers' => false, - 'counter' => true, - 'class' => 'counter' - )); ?> - - +
+ element("pagination", array( + 'goto' => false, + 'limit' => false, + 'numbers' => false, + 'counter' => true, + 'class' => 'counter' + )); ?> +
+ + + $label) : ?> + + + + + + + + + + + + + + + + + + + + + + + + $group) : ?> - - - - + + + + + - - - - - - - - - - - - - - - - -
Ad-hoc groups
+ + + + + +
+ +
+ + + + + +
- - - - - -
- - - $group) : ?> - - - - - - - - -
- - - - - -
-
- element("pagination", array( - 'goto' => false, - 'limit' => true, - 'numbers' => true, - 'counter' => false - )); ?> -
+ + + + + element("pagination", array( + 'goto' => false, + 'limit' => true, + 'numbers' => true, + 'counter' => false + )); ?> + -
-

-
+
+

+
\ No newline at end of file