Skip to content

Commit

Permalink
Update button styles in members.php and staff.php
Browse files Browse the repository at this point in the history
  • Loading branch information
HashJProgramming committed Feb 9, 2024
1 parent 1927895 commit ec1401d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions functions/views/members.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<td><?=$row['birthdate']?></td>
<td><?=$row['start_date']?></td>
<td class="text-center">
<button class="btn btn-warning btn-sm d-none d-sm-inline-block mx-1 my-1" type="button" data-bs-target="#update" data-bs-toggle="modal" data-id="<?=$row['id']?>" data-fullname="<?=$row['fullname']?>" data-address="<?=$row['address']?>" data-phone="<?=$row['phone']?>" data-sex="<?=$row['sex']?>" data-type="<?=$row['type']?>" data-birthdate="<?=$row['birthdate']?>" data-start_date="<?=$row['start_date']?>"><i class="fas fa-check-circle fa-sm text-white-50"></i>&nbsp;Update</button>
<button class="btn btn-danger btn-sm d-none d-sm-inline-block mx-1 my-1 <?php echo ($_SESSION['level'] == 1) ? 'd-none' : ''; ?>" type="button" data-bs-target="#remove" data-bs-toggle="modal" data-id="<?=$row['id']?>"><i class="fas fa-trash-alt fa-sm text-white-50"></i>&nbsp;Remove</button></td>
<button class="btn btn-warning btn-sm mx-1 my-1" type="button" data-bs-target="#update" data-bs-toggle="modal" data-id="<?=$row['id']?>" data-fullname="<?=$row['fullname']?>" data-address="<?=$row['address']?>" data-phone="<?=$row['phone']?>" data-sex="<?=$row['sex']?>" data-type="<?=$row['type']?>" data-birthdate="<?=$row['birthdate']?>" data-start_date="<?=$row['start_date']?>"><i class="fas fa-check-circle fa-sm text-white-50"></i>&nbsp;Update</button>
<button class="btn btn-danger btn-sm mx-1 my-1 <?php echo ($_SESSION['level'] == 1) ? 'd-none' : ''; ?>" type="button" data-bs-target="#remove" data-bs-toggle="modal" data-id="<?=$row['id']?>"><i class="fas fa-trash-alt fa-sm text-white-50"></i>&nbsp;Remove</button></td>
</tr>
<?php
}
4 changes: 2 additions & 2 deletions functions/views/staff.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<td><?=$row['phone']? : 'None'?></td>
<td><?=$row['created_at']?></td>
<td class="text-center">
<button class="btn btn-warning btn-sm d-none d-sm-inline-block mx-1 my-1" type="button" data-bs-target="#update" data-bs-toggle="modal" data-id="<?=$row['id']?>" data-fullname="<?=$row['fullname']?>" data-address="<?=$row['address']?>" data-phone="<?=$row['phone']?>" data-username="<?=$row['username']?>"><i class="fas fa-check-circle fa-sm text-white-50"></i>&nbsp;Update</button>
<button class="btn btn-danger btn-sm d-none d-sm-inline-block mx-1 my-1" type="button" data-bs-target="#remove" data-bs-toggle="modal" data-id="<?=$row['id']?>"><i class="fas fa-trash-alt fa-sm text-white-50"></i>&nbsp;Remove</button></td>
<button class="btn btn-warning btn-sm mx-1 my-1" type="button" data-bs-target="#update" data-bs-toggle="modal" data-id="<?=$row['id']?>" data-fullname="<?=$row['fullname']?>" data-address="<?=$row['address']?>" data-phone="<?=$row['phone']?>" data-username="<?=$row['username']?>"><i class="fas fa-check-circle fa-sm text-white-50"></i>&nbsp;Update</button>
<button class="btn btn-danger btn-sm mx-1 my-1" type="button" data-bs-target="#remove" data-bs-toggle="modal" data-id="<?=$row['id']?>"><i class="fas fa-trash-alt fa-sm text-white-50"></i>&nbsp;Remove</button></td>
</tr>
<?php
}

0 comments on commit ec1401d

Please sign in to comment.