feat(admin): complete admin management and add edit functionality
This commit is contained in:
@@ -80,7 +80,6 @@
|
||||
<table class="table text-nowrap table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><input class="form-check-input check-all" type="checkbox" id="all-admins"></th>
|
||||
<th>تصویر</th>
|
||||
<th>نام</th>
|
||||
<th>نام خانوادگی</th>
|
||||
@@ -96,13 +95,10 @@
|
||||
<tbody>
|
||||
<?php $__empty_1 = true; $__currentLoopData = $admins; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $admin): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
|
||||
<tr>
|
||||
<td>
|
||||
<input class="form-check-input" type="checkbox" value="<?php echo e($admin->id); ?>">
|
||||
</td>
|
||||
<td>
|
||||
<span class="avatar avatar-md avatar-square bg-light">
|
||||
<?php if($admin->file): ?>
|
||||
<img src="<?php echo e(getFileUrl($admin->file_id)); ?>" class="w-100 h-100" alt="<?php echo e($admin->username); ?>">
|
||||
<?php if($admin->avatar && $admin->avatar->file): ?>
|
||||
<img src="<?php echo e(getFileUrl($admin->avatar->file_id)); ?>" class="w-100 h-100" alt="<?php echo e($admin->username); ?>"
|
||||
<?php else: ?>
|
||||
<img src="<?php echo e(asset('assets/admin/images/faces/DefaultAvatar.jpg')); ?>"
|
||||
class="w-100 h-100" alt="<?php echo e($admin->username); ?>">
|
||||
|
||||
Reference in New Issue
Block a user