Skip to content

Commit

Permalink
Dev: Added hover effect and fixed buttons in table (view permissions …
Browse files Browse the repository at this point in the history
…view)
  • Loading branch information
thedirtypanda committed Jul 14, 2021
1 parent a89db93 commit 16bc4db
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php if(!empty($oExistingUsers)) : ?>
<h3 class="pagetitle h2"><?php eT('Current permissions:') ?></h3>
<table class='table table-striped table-security'>
<table class='table striped hoverAction' style="cursor: pointer;">
<thead>
<tr>
<th><?= eT("Action") ?></th>
Expand All @@ -16,7 +16,7 @@
<tr>
<td>
<?php if ($model->hasPermission('permission', 'update')) : ?>
<a href="<?= $this->createUrl("surveysGroupsPermission/viewUser",array('id'=>$model->gsid, 'to' => $oUser->uid));?>">
<a href="<?= $this->createUrl("surveysGroupsPermission/viewUser",array('id'=>$model->gsid, 'to' => $oUser->uid));?>" class="btn btn-default btn-sm" role="button">
<span class="fa fa-pencil text-success" aria-hidden="true" title="<?= gT("Edit permissions") ?>"><span>
<span class="sr-only"><?= gT("Edit permissions") ?></span>
</a>
Expand All @@ -27,7 +27,7 @@
'uid' => $oUser->uid
)); ?>
<?php /* @see https://bugs.limesurvey.org/view.php?id=16792 */ ?>
<a
<a class="btn btn-default btn-sm" role="button"
data-target='#confirmation-modal' data-toggle='modal'
data-message='<?= gT("Are you sure you want to remove all permissions for this user?") ?>'
data-href='<?= $deleteUrl ?>'
Expand Down

0 comments on commit 16bc4db

Please sign in to comment.