From faacb3813c6c206a19c50c45a8fe80686a2395e0 Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Thu, 25 Feb 2021 12:35:03 -0700 Subject: [PATCH] Updates to UI --- Lib/lang.php | 4 +++- View/CoGrouperLites/display.ctp | 4 ++-- .../Elements/Components/navigation-emaillists.ctp | 15 ++++++++++++++- View/Elements/Components/navigation-groups.ctp | 15 ++++++++++++++- View/GrouperGroups/base.ctp | 3 ++- webroot/css/co-grouper-plugin.css | 2 +- 6 files changed, 36 insertions(+), 7 deletions(-) diff --git a/Lib/lang.php b/Lib/lang.php index 6a9ae6d..b464443 100644 --- a/Lib/lang.php +++ b/Lib/lang.php @@ -17,6 +17,8 @@ 'pl.grouperlite.nav.emaillists-manage' => 'Email lists I manage', 'pl.grouperlite.nav.create-group' => 'Create group', 'pl.grouperlite.nav.create-email' => 'Create email list', + 'pl.grouperlite.nav.emaillists' => 'Email Lists', + 'pl.grouperlite.nav.groups' => 'Groups', 'pl.grouperlite.title.root' => 'Grouper Collaborations:', 'pl.grouperlite.title.groupinfo' => 'Group configuration and attributes', @@ -46,7 +48,7 @@ 'pl.grouperlite.table.description' => 'Description', 'pl.grouperlite.table.status' => 'Status', 'pl.grouperlite.table.action' => 'Action', - 'pl.grouperlite.table.open' => 'Open?', + 'pl.grouperlite.table.open' => 'Access', 'pl.grouperlite.table.groups' => 'Groups', 'pl.grouperlite.value.descr.zerostate' => 'No Description', diff --git a/View/CoGrouperLites/display.ctp b/View/CoGrouperLites/display.ctp index ffd633f..6d1e03e 100644 --- a/View/CoGrouperLites/display.ctp +++ b/View/CoGrouperLites/display.ctp @@ -48,7 +48,7 @@ echo $this->element('GrouperLite.base-styles');
-
Groups
+
  Groups
-
Email Lists
+
  Email Lists
+ +
+ Html->url( + array( + 'controller' => 'groupergroups', + 'action' => 'groupoptin' + ) + ); + ?> + +   + +
\ No newline at end of file diff --git a/View/Elements/Components/navigation-groups.ctp b/View/Elements/Components/navigation-groups.ctp index 0a0268b..636e6c4 100644 --- a/View/Elements/Components/navigation-groups.ctp +++ b/View/Elements/Components/navigation-groups.ctp @@ -38,7 +38,7 @@
-
+
Html->url( array( @@ -52,4 +52,17 @@
+
+ Html->url( + array( + 'controller' => 'groupergroups', + 'action' => 'emaillistsoptin' + ) + ); + ?> + +   + +
\ No newline at end of file diff --git a/View/GrouperGroups/base.ctp b/View/GrouperGroups/base.ctp index 6a835bd..6b393b3 100644 --- a/View/GrouperGroups/base.ctp +++ b/View/GrouperGroups/base.ctp @@ -13,6 +13,7 @@ $this->Html->addCrumb(_txt('pl.grouperlite.crumb.root'), array('controller' => '
Html->image('GrouperLite.Grouper.jpg', array('class' => 'img-fluid mr-2', 'style' => 'height: 50px')); ?>

+
fetch('content'); ?> -
+
\ No newline at end of file diff --git a/webroot/css/co-grouper-plugin.css b/webroot/css/co-grouper-plugin.css index da3c6ea..8ee6b0e 100644 --- a/webroot/css/co-grouper-plugin.css +++ b/webroot/css/co-grouper-plugin.css @@ -114,7 +114,7 @@ a { #grouper-plugin .input-group.input-group-search input.form-control { font-size: 1.25rem; - padding: 1.6rem 1rem; + padding: 1.3rem 1rem; } #grouper-plugin .input-group.input-group-search .input-group-append .btn.btn-outline-secondary {