Skip to content

Commit

Permalink
Updates to UI
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Feb 25, 2021
1 parent 92f9a2d commit faacb38
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 7 deletions.
4 changes: 3 additions & 1 deletion Lib/lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions View/CoGrouperLites/display.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ echo $this->element('GrouperLite.base-styles');
</div>
</div>
<div class="col-xs-4 col-md-4">
<h6 class="text-center mb-2 mt-2">Groups</h6>
<h6 class="text-center mb-2 mt-2"><i class="fa fa-users"></i>&nbsp; Groups</h6>
<div class="px-4 d-flex flex-column justify-content-center">
<a class="btn btn-primary" href="<?php print $this->Html->url(
array(
Expand Down Expand Up @@ -88,7 +88,7 @@ echo $this->element('GrouperLite.base-styles');
</div>
</div>
<div class="col-xs-4 col-md-4 border-left">
<h6 class="text-center mb-2 mt-2">Email Lists</h6>
<h6 class="text-center mb-2 mt-2"><i class="fa fa-envelope"></i>&nbsp; Email Lists</h6>
<div class="px-4 d-flex flex-column justify-content-center">
<a class="btn btn-secondary" href="<?php print $this->Html->url(
array(
Expand Down
15 changes: 14 additions & 1 deletion View/Elements/Components/navigation-emaillists.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</div>
</div>
<?php if ($isuserowner === 'T') { ?>
<div class="align-self">
<div class="align-self-center">
<?php
$createGroupUrl = $this->Html->url(
array(
Expand All @@ -52,4 +52,17 @@
</a>
</div>
<?php } ?>
<div class="align-self-center ml-auto">
<?php
$gotoGroupsUrl = $this->Html->url(
array(
'controller' => 'groupergroups',
'action' => 'groupoptin'
)
);
?>
<a href="<?php echo $gotoGroupsUrl; ?>" class="btn btn-grouper btn btn-link px-3 py-2">
<i class="fa fa-users"></i>&nbsp; <?php echo _txt('pl.grouperlite.nav.groups'); ?>
</a>
</div>
</nav>
15 changes: 14 additions & 1 deletion View/Elements/Components/navigation-groups.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</div>
</div>
<?php if ($isuserowner === 'T') { ?>
<div class="align-self">
<div class="align-self-center">
<?php
$createGroupUrl = $this->Html->url(
array(
Expand All @@ -52,4 +52,17 @@
</a>
</div>
<?php } ?>
<div class="align-self-center ml-auto">
<?php
$gotoEmailListsUrl = $this->Html->url(
array(
'controller' => 'groupergroups',
'action' => 'emaillistsoptin'
)
);
?>
<a href="<?php echo $gotoEmailListsUrl; ?>" class="btn btn-grouper btn btn-link px-3 py-2">
<i class="fa fa-envelope"></i>&nbsp; <?php echo _txt('pl.grouperlite.nav.emaillists'); ?>
</a>
</div>
</nav>
3 changes: 2 additions & 1 deletion View/GrouperGroups/base.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ $this->Html->addCrumb(_txt('pl.grouperlite.crumb.root'), array('controller' => '
<div class="d-flex align-items-center mb-4">
<?php print $this->Html->image('GrouperLite.Grouper.jpg', array('class' => 'img-fluid mr-2', 'style' => 'height: 50px')); ?>
<h2><?php echo $title; ?></h2>
<!--<div class="ml-auto"><a href="#">Why Grouper?</a></div>-->
</div>
<?php echo $this->fetch('content'); ?>
</div>
</div>
2 changes: 1 addition & 1 deletion webroot/css/co-grouper-plugin.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit faacb38

Please sign in to comment.