From d6c2e25385c8663782577be6ae6086472bc63eaa Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Thu, 1 Apr 2021 12:13:33 -0700 Subject: [PATCH] Adjusted UI per client comments --- .../Elements/Components/navigation-groups.ctp | 33 ++++++++++--------- View/Elements/base-styles.ctp | 2 +- View/GrouperGroups/emaillistsmanage.ctp | 6 ++-- View/GrouperGroups/groupcreatetemplate.ctp | 2 +- View/GrouperGroups/groupowner.ctp | 4 +-- View/GrouperGroups/templatefields.inc | 20 +++++------ webroot/css/co-grouper-plugin.css | 6 +++- 7 files changed, 39 insertions(+), 34 deletions(-) diff --git a/View/Elements/Components/navigation-groups.ctp b/View/Elements/Components/navigation-groups.ctp index aadcef4..ff546ac 100644 --- a/View/Elements/Components/navigation-groups.ctp +++ b/View/Elements/Components/navigation-groups.ctp @@ -46,27 +46,28 @@ 'action' => 'groupcreate' ) ); + $createGroupUrl = '#'; ?> - +   - -
- Html->url( - array( - 'controller' => 'grouper_groups', - 'action' => 'groupcreatetemplate' - ) - ); - ?> - -   - -
- + +
+ Html->url( + array( + 'controller' => 'grouper_groups', + 'action' => 'groupcreatetemplate' + ) + ); + ?> + +   + +
+
Html->url( diff --git a/View/Elements/base-styles.ctp b/View/Elements/base-styles.ctp index 694c648..d000702 100644 --- a/View/Elements/base-styles.ctp +++ b/View/Elements/base-styles.ctp @@ -20,7 +20,7 @@ max-width: 220px; } - .grouper .btn:hover { + .grouper .btn:not([disabled]):hover { text-decoration: none !important; filter: brightness(1.1); } diff --git a/View/GrouperGroups/emaillistsmanage.ctp b/View/GrouperGroups/emaillistsmanage.ctp index cf9b0fe..7080913 100644 --- a/View/GrouperGroups/emaillistsmanage.ctp +++ b/View/GrouperGroups/emaillistsmanage.ctp @@ -32,11 +32,11 @@ - + */ ?> - + diff --git a/View/GrouperGroups/groupcreatetemplate.ctp b/View/GrouperGroups/groupcreatetemplate.ctp index a30930d..d465236 100644 --- a/View/GrouperGroups/groupcreatetemplate.ctp +++ b/View/GrouperGroups/groupcreatetemplate.ctp @@ -7,7 +7,7 @@ $model = $this->name;
-
+
Form->create(false, array( 'url' => array('controller' => 'grouper_groups', 'action' => 'groupcreatetemplate') diff --git a/View/GrouperGroups/groupowner.ctp b/View/GrouperGroups/groupowner.ctp index 0e1baa1..b4a1cae 100644 --- a/View/GrouperGroups/groupowner.ctp +++ b/View/GrouperGroups/groupowner.ctp @@ -33,11 +33,11 @@ - - diff --git a/View/GrouperGroups/templatefields.inc b/View/GrouperGroups/templatefields.inc index c01d6f0..5b4d338 100644 --- a/View/GrouperGroups/templatefields.inc +++ b/View/GrouperGroups/templatefields.inc @@ -2,7 +2,7 @@
Form->label(false, _txt('pl.grouperlite.form.template.work-group-extension.label'), array( 'for' => 'gsh_input_workingGroupExtension', - 'class' => "col-sm-3 col-form-label" + 'class' => "col-sm-3 col-form-label d-flex align-items-center" )); ?>
Form->input('gsh_input_workingGroupExtension', array( @@ -17,7 +17,7 @@
Form->label(false, _txt('pl.grouperlite.form.template.work-group-disp-extension.label'), array( 'for' => 'gsh_input_workingGroupDisplayExtension', - 'class' => "col-sm-3 col-form-label" + 'class' => "col-sm-3 col-form-label d-flex align-items-center" )); ?>
Form->input('gsh_input_workingGroupDisplayExtension', array( @@ -31,7 +31,7 @@
Form->label(false, _txt('pl.grouperlite.form.template.work-group-description.label'), array( 'for' => 'gsh_input_workingGroupDescription', - 'class' => "col-sm-3 col-form-label" + 'class' => "col-sm-3 col-form-label d-flex align-items-center" )); ?>
Form->input('gsh_input_workingGroupDescription', array( @@ -43,7 +43,7 @@
- +
Form->input( 'gsh_input_isSympa', @@ -52,7 +52,7 @@ 'class' => 'form-check-input', 'legend' => false, 'id' => 'gsh_input_isSympa', - 'before' => '
', + 'before' => '
', 'separator' => '
', 'after' => '
', 'options' => array( @@ -66,7 +66,7 @@
- +
Form->input( 'gsh_input_sympaDomain', @@ -88,7 +88,7 @@
- +
Form->input( 'gsh_input_isSympaModerated', @@ -111,7 +111,7 @@
- +
Form->input( 'gsh_input_isOptin', @@ -151,7 +151,7 @@
-->
- +
Form->input( 'gsh_input_isConfluence', @@ -174,7 +174,7 @@
- +
Form->input( 'gsh_input_isJira', diff --git a/webroot/css/co-grouper-plugin.css b/webroot/css/co-grouper-plugin.css index 9f12e4a..a8aad4d 100644 --- a/webroot/css/co-grouper-plugin.css +++ b/webroot/css/co-grouper-plugin.css @@ -20,7 +20,7 @@ a { color: var(--primary); } -#grouper-plugin .btn.btn-primary:hover { +#grouper-plugin .btn.btn-primary:not([disabled]):hover { background-color: black; border-color: black; } @@ -272,4 +272,8 @@ a.list-group-item-action:hover .fa { .grouper .pagination .muted { color: rgba(255, 255, 255, 0.8); +} + +.radio .form-check-inline label { + margin-bottom: 0; } \ No newline at end of file