forked from internet2/comanage-grouper-widget
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Styled email list pages, updated color scheme
Showing
22 changed files
with
338 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<nav id="grouper-plugin-tabs" class="nav nav-tabs mb-4 justify-content-start"> | ||
<div class="d-flex nav-tab-group"> | ||
<div class="nav-item"> | ||
<?php | ||
print $this->Html->link( | ||
_txt('pl.grouperlite.nav.emaillists-join'), | ||
array( | ||
'controller' => 'GrouperGroups', | ||
'action' => 'emaillistsoptin' | ||
), | ||
array('class' => array('nav-link', $active == 'emaillistsoptin' ? 'active' : '')) | ||
) | ||
?> | ||
</div> | ||
<div class="nav-item"> | ||
<?php | ||
print $this->Html->link( | ||
_txt('pl.grouperlite.nav.emaillists-member'), | ||
array( | ||
'controller' => 'GrouperGroups', | ||
'action' => 'emaillistsmember' | ||
), | ||
array('class' => array('nav-link', $active == 'emaillistsmember' ? 'active' : '')) | ||
) | ||
?> | ||
</div> | ||
<div class="nav-item"> | ||
<?php | ||
print $this->Html->link( | ||
_txt('pl.grouperlite.nav.emaillists-manage'), | ||
array( | ||
'controller' => 'GrouperGroups', | ||
'action' => 'emaillistsmanage' | ||
), | ||
array('class' => array('nav-link', $active == 'emaillistsmanage' ? 'active' : '')) | ||
) | ||
?> | ||
</div> | ||
</div> | ||
<?php if ($isuserowner === 'T') { ?> | ||
<div class="align-self"> | ||
<?php | ||
$createGroupUrl = $this->Html->url( | ||
array( | ||
'controller' => 'groupergroups', | ||
'action' => 'groupcreateform' | ||
) | ||
); | ||
?> | ||
<a href="<?php echo $createGroupUrl; ?>" class="btn btn-grouper btn btn-link px-3 py-2"> | ||
<i class="fa fa-plus-circle"></i> <?php echo _txt('pl.grouperlite.nav.create-email'); ?> | ||
</a> | ||
</div> | ||
<?php } ?> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
<?php echo $this->Form->create(false, array( | ||
'url' => array('controller' => 'groupergroups', 'action' => $action) | ||
'url' => array('controller' => 'groupergroups', 'action' => $action), | ||
'class' => 'd-flex justify-content-center' | ||
)); ?> | ||
<?php print $this->Form->hidden('GroupName', array('default' => $group)); ?> | ||
<button class="btn btn-block btn-<?php echo $member ? 'danger' : 'success'; ?>" type="submit"> | ||
<?php echo $member ? _txt('pl.grouperlite.action.leave-group') : _txt('pl.grouperlite.action.join-group') ?> | ||
<?php echo $member ? _txt('pl.grouperlite.action.leave') : _txt('pl.grouperlite.action.join') ?> | ||
<i class="fa fa-<?php echo $member ? 'user-times' : 'users'; ?> fa-sm"></i> | ||
</button> | ||
<?php echo $this->Form->end(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.