-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
460 additions
and
114 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<table class="table table-striped w-100"> | ||
<thead> | ||
<tr> | ||
<th class="attr descr">Attribute name</th> | ||
<th class="attr definition">Attribute description</th> | ||
<th class="attr action">Action</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php foreach ($attributes as $attr): ?> | ||
<tr> | ||
<td><?php echo $attr['displayName']; ?></td> | ||
<td><?php echo $attr['description'] ?></td> | ||
<td> | ||
<a href="<?php echo $baseUrl.$attr['uuid']; ?>" class="btn btn-primary btn-raised btn-block" target="_blank" role="button"> | ||
View <i class="fa fa-external-link"></i> | ||
</a> | ||
</td> | ||
</tr> | ||
<?php endforeach; ?> | ||
</tbody> | ||
</table> |
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,42 @@ | ||
<div class="row no-gutters bg-lighter align-items-center p-2"> | ||
<div class="col-sm-3 font-weight-bold">Display Name:</div> | ||
<div class="col-sm-9 form-control-plaintext"> | ||
<?php echo $group['displayName']; ?> | ||
</div> | ||
</div> | ||
<div class="row no-gutters bg-light align-items-center p-2"> | ||
<div class="col-sm-3 font-weight-bold">Grouper Name:</div> | ||
<div class="col-sm-9 form-control-plaintext"> | ||
<?php echo $group['name']; ?> | ||
</div> | ||
</div> | ||
<div class="row no-gutters bg-lighter align-items-center p-2"> | ||
<div class="col-sm-3 font-weight-bold">Display Extension:</div> | ||
<div class="col-sm-9 form-control-plaintext"> | ||
<?php echo $group['displayExtension']; ?> | ||
</div> | ||
</div> | ||
<div class="row no-gutters bg-light align-items-center p-2"> | ||
<div class="col-sm-3 font-weight-bold">Extension:</div> | ||
<div class="col-sm-9 form-control-plaintext"> | ||
<?php echo $group['extension']; ?> | ||
</div> | ||
</div> | ||
<div class="row no-gutters bg-lighter align-items-center p-2"> | ||
<div class="col-sm-3 font-weight-bold">Enabled:</div> | ||
<div class="col-sm-9 form-control-plaintext"> | ||
<?php echo $group['enabled']; ?> | ||
</div> | ||
</div> | ||
<div class="row no-gutters bg-light align-items-center p-2"> | ||
<div class="col-sm-3 font-weight-bold">Type of Group:</div> | ||
<div class="col-sm-9 form-control-plaintext"> | ||
<?php echo $group['typeOfGroup']; ?> | ||
</div> | ||
</div> | ||
<div class="row no-gutters bg-lighter align-items-center p-2"> | ||
<div class="col-sm-3 font-weight-bold">UUID:</div> | ||
<div class="col-sm-9 form-control-plaintext"> | ||
<?php echo $group['uuid']; ?> | ||
</div> | ||
</div> |
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,5 @@ | ||
<ul class="list-group list-group-flush"> | ||
<?php foreach ($subscribers as $sub): ?> | ||
<li class="list-group-item"><?php echo $sub['name']; ?> - <?php echo $sub['email']; ?></li> | ||
<?php endforeach; ?> | ||
</ul> |
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,95 @@ | ||
<?php $this->extend('/GrouperGroups/base'); ?> | ||
<?php | ||
$baseUrl = 'https://grouper.staging.at.internet2.edu/grouper/'; | ||
$path = 'grouperUi/app/UiV2Main.index'; | ||
$groupOperation = '?operation=UiV2Group.viewGroup&groupId='; | ||
$groupUrlBase = $baseUrl.$path.$groupOperation; | ||
$attrOperation = '?operation=UiV2AttributeDefName.viewAttributeDefName&attributeDefNameId='; | ||
$attrUrlBase = $baseUrl.$path.$attrOperation; | ||
?> | ||
|
||
<div> | ||
<div class="border-bottom py-4 mb-4 d-flex justify-content-between"> | ||
<h2><strong>Group: </strong><?php echo $groupergroupsdetail['displayName']; ?></h2> | ||
<div> | ||
<a href="<?php echo $groupUrlBase.$groupergroupsdetail['uuid']; ?>" class="btn btn-primary btn-raised" target="_blank" role="button"> | ||
View Group in Grouper | ||
<i class="fa fa-external-link"></i> | ||
</a> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-xl-6 col-xs-12 group-details"> | ||
<h3>Group Properties</h3> | ||
<div class="form-group row no-gutters bg-lighter"> | ||
<label for="folder" class="col-sm-3 col-form-label font-weight-bold">Display Name:</label> | ||
<div class="col-sm-9 form-control-plaintext"> | ||
<?php echo $groupergroupsdetail['displayName']; ?> | ||
</div> | ||
</div> | ||
<div class="form-group row no-gutters bg-light"> | ||
<label for="folder" class="col-sm-3 col-form-label font-weight-bold">Grouper Name:</label> | ||
<div class="col-sm-9 form-control-plaintext"> | ||
<?php echo $groupergroupsdetail['name']; ?> | ||
</div> | ||
</div> | ||
<div class="form-group row no-gutters bg-lighter"> | ||
<label for="folder" class="col-sm-3 col-form-label font-weight-bold">Display Extension:</label> | ||
<div class="col-sm-9 form-control-plaintext"> | ||
<?php echo $groupergroupsdetail['displayExtension']; ?> | ||
</div> | ||
</div> | ||
<div class="form-group row no-gutters bg-light"> | ||
<label for="folder" class="col-sm-3 col-form-label font-weight-bold">Extension:</label> | ||
<div class="col-sm-9 form-control-plaintext"> | ||
<?php echo $groupergroupsdetail['extension']; ?> | ||
</div> | ||
</div> | ||
<div class="form-group row no-gutters bg-lighter"> | ||
<label for="name" class="col-sm-3 col-form-label font-weight-bold">Enabled:</label> | ||
<div class="col-sm-9 form-control-plaintext"> | ||
<?php echo $groupergroupsdetail['enabled']; ?> | ||
</div> | ||
</div> | ||
<div class="form-group row no-gutters bg-light"> | ||
<label for="folder" class="col-sm-3 col-form-label font-weight-bold">Type of Group:</label> | ||
<div class="col-sm-9 form-control-plaintext"> | ||
<?php echo $groupergroupsdetail['typeOfGroup']; ?> | ||
</div> | ||
</div> | ||
<div class="form-group row no-gutters bg-lighter"> | ||
<label for="name" class="col-sm-3 col-form-label font-weight-bold">UUID:</label> | ||
<div class="col-sm-9 form-control-plaintext"> | ||
<?php echo $groupergroupsdetail['uuid']; ?> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-xl-6 col-xs-12"> | ||
<div class="table-responsive"> | ||
<h3>Attributes</h3> | ||
<table class="table table-striped w-100"> | ||
<thead> | ||
<tr> | ||
<th class="attr descr">Attribute name</th> | ||
<th class="attr definition">Attribute description</th> | ||
<th class="attr action">Action</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php foreach ($groupergroupsdetail['attributes'] as $attr): ?> | ||
<tr> | ||
<td><a href="/"><?php echo $attr['displayName']; ?></a></td> | ||
<td><?php echo $attr['description'] ?></td> | ||
<td> | ||
<a href="<?php echo $attrUrlBase.$attr['uuid']; ?>" class="btn btn-primary btn-raised btn-block" target="_blank" role="button"> | ||
View <i class="fa fa-external-link"></i> | ||
</a> | ||
</td> | ||
</tr> | ||
<?php endforeach; ?> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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,39 @@ | ||
<?php $this->extend('/GrouperGroups/base'); ?> | ||
<?php echo $this->element('Components/navigation', array('active' => 'emaillistsmanaged', 'create' => true)); ?> | ||
<?php echo $this->element('Components/search', array('active' => 'emaillistsmanaged')); ?> | ||
<div class=""> | ||
<table class="table table-striped w-100"> | ||
<thead> | ||
<tr> | ||
<th class="group name">Name</th> | ||
<th class="group descr">Description</th> | ||
<th class="group status">Status</th> | ||
<th class="group action">Action</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td><?php echo $this->Html->link( | ||
isset($group['name']) ? $group['name'] : "No Name", | ||
array( | ||
'controller' => 'groupergroups', | ||
'action' => 'emaillistinfo', | ||
'?' => array('groupname' => urlencode($group['name'])) | ||
) | ||
) ?></td> | ||
<td><?php echo isset($group['description']) ? $group['description'] : "No Description"; ?></td> | ||
<td><?php echo isset($group['enabled']) && $group['enabled'] === 'T' ? 'Enabled' : 'Disabled'; ?></td> | ||
<td class="text-right"> | ||
<button class="btn btn-raised btn-primary"> | ||
Edit Group | ||
<i class="fa fa-edit fa-sm"></i> | ||
</button> | ||
<button class="btn btn-raised btn-danger"> | ||
Disable Group | ||
<i class="fa fa-trash fa-sm"></i> | ||
</button> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> |
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,36 @@ | ||
<?php $this->extend('/GrouperGroups/base'); ?> | ||
<?php echo $this->element('Components/navigation', array('active' => 'emaillistsoptin')); ?> | ||
<?php echo $this->element('Components/search', array('active' => 'emaillistsoptin')); ?> | ||
<div class=""> | ||
<table class="table table-striped w-100"> | ||
<thead> | ||
<tr> | ||
<th class="group name">Name</th> | ||
<th class="group descr">Description</th> | ||
<th class="group status">Status</th> | ||
<th class="group action">Action</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td><?php echo $this->Html->link( | ||
isset($group['name']) ? $group['name'] : "No Name", | ||
array( | ||
'controller' => 'groupergroups', | ||
'action' => 'emaillistinfo', | ||
'?' => array('groupname' => urlencode($group['name'])) | ||
) | ||
) ?></td> | ||
<td><?php echo isset($group['description']) ? $group['description'] : "No Description"; ?></td> | ||
<td><?php echo isset($group['enabled']) && $group['enabled'] === 'T' ? 'Enabled' : 'Disabled'; ?></td> | ||
<td> | ||
<?php echo $this->element('Components/optAction', array( | ||
'member' => $group['member'], | ||
'action' => $group['member'] ? 'leavegroup' : 'joingroup', | ||
'group' => $group['name'] | ||
)); ?> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> |
Oops, something went wrong.