diff --git a/Controller/GrouperGroupsController.php b/Controller/GrouperGroupsController.php
index 3f91687..b81bd38 100644
--- a/Controller/GrouperGroupsController.php
+++ b/Controller/GrouperGroupsController.php
@@ -44,8 +44,8 @@ class GrouperGroupsController extends GrouperLiteAppController
//page navigation unless change record count and go back to lower number on Display record selection!! Sucks!
public $paginate = array(
//Default records per page.
- 'limit' => 20,
- 'maxlimit' => 60,
+ 'limit' => 2,
+ 'maxlimit' => 4,
'page' => 1
);
diff --git a/Lib/lang.php b/Lib/lang.php
index b464443..9067788 100644
--- a/Lib/lang.php
+++ b/Lib/lang.php
@@ -84,4 +84,6 @@
'pl.grouperlite.form.group.action.save' => 'Save Group',
'pl.grouperlite.search.tags.text' => 'Search',
+
+ 'pl.grouperlite.pagination.counter' => 'Viewing {:start}-{:end} of {:count}'
);
\ No newline at end of file
diff --git a/View/Elements/pagination.ctp b/View/Elements/pagination.ctp
index 2987efe..50b4069 100644
--- a/View/Elements/pagination.ctp
+++ b/View/Elements/pagination.ctp
@@ -1,4 +1,5 @@
-
+ ?>
+
+
+
+
+
\ No newline at end of file
diff --git a/View/GrouperGroups/emaillistsoptin.ctp b/View/GrouperGroups/emaillistsoptin.ctp
index 05075cc..2554c1d 100644
--- a/View/GrouperGroups/emaillistsoptin.ctp
+++ b/View/GrouperGroups/emaillistsoptin.ctp
@@ -15,13 +15,13 @@
Html->link(
- isset($group['name']) ? $group['domain'].':'.$group['name'] : "No Name",
- array(
- 'controller' => 'groupergroups',
- 'action' => 'emaillistinfo',
- '?' => array('groupname' => urlencode($group['name']))
- )
- ) ?>
+ isset($group['name']) ? $group['domain'] . ':' . $group['name'] : "No Name",
+ array(
+ 'controller' => 'groupergroups',
+ 'action' => 'emaillistinfo',
+ '?' => array('groupname' => urlencode($group['name']))
+ )
+ ) ?>
@@ -32,4 +32,4 @@
-
+
\ No newline at end of file
diff --git a/View/GrouperGroups/groupoptin.ctp b/View/GrouperGroups/groupoptin.ctp
index 209a7c2..3cfda3b 100644
--- a/View/GrouperGroups/groupoptin.ctp
+++ b/View/GrouperGroups/groupoptin.ctp
@@ -35,7 +35,12 @@
- element("pagination"); ?>
+ element( "pagination", array(
+ 'goto' => false,
+ 'limit' => true,
+ 'numbers' => true,
+ 'counter' => true
+ )); ?>
diff --git a/webroot/css/co-grouper-plugin.css b/webroot/css/co-grouper-plugin.css
index 8ee6b0e..910199b 100644
--- a/webroot/css/co-grouper-plugin.css
+++ b/webroot/css/co-grouper-plugin.css
@@ -205,10 +205,58 @@ a.list-group-item-action:hover .fa {
opacity: 1;
}
-.grouper #pagination {
- background: var(--primary);
-}
-
.grouper #pagination label {
margin-bottom: 0;
+}
+
+.grouper .pagination {
+ margin: 0;
+ background-color: var(--primary);
+ color: white;
+ padding: 2px;
+}
+
+.grouper .pagination a {
+ color: white;
+}
+
+.grouper .pagination .pagination-element:not(.pagination-numbers):not(.pagination-limit) {
+ border-right: 1px solid rgba(255, 255, 255, 0.5);
+ padding: 0.5rem 3rem;
+}
+
+.grouper .pagination .pagination-element.pagination-limit {
+ padding: 0 3rem;
+}
+
+.grouper .pagination .pagination-element.pagination-numbers .pagination-numbers-list>span {
+ border-right: 1px solid rgba(255, 255, 255, 0.5);
+ padding: 0.5rem 1rem;
+}
+
+.grouper .pagination .pagination-element.pagination-numbers .pagination-numbers-link:not(:empty) {
+ border-right: 1px solid rgba(255, 255, 255, 0.5);
+ padding: 0.5rem 1rem;
+}
+
+.grouper .pagination .pagination-element.pagination-numbers .pagination-numbers-list .current.pagination-numbers-item {
+ background: white;
+ color: var(--primary);
+}
+
+.grouper .pagination .pagination-element.pagination-form * {
+ margin: 0 0.5rem 0 0;
+}
+
+.grouper .pagination .btn {
+ padding: 0.2rem 1rem;
+ filter: brightness(120%);
+}
+
+.grouper .pagination label {
+ margin: 0;
+}
+
+.grouper .pagination .muted {
+ color: rgba(255, 255, 255, 0.8);
}
\ No newline at end of file