added new features to the admin panel
This commit is contained in:
@@ -37,28 +37,30 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="userTable" class="tab-pane fade">
|
<div id="userTable" class="tab-pane fade">
|
||||||
<table class="table table-striped">
|
<div class="container">
|
||||||
<thead>
|
<table class="table table-striped">
|
||||||
<th>Name</th>
|
<thead>
|
||||||
<th>Role</th>
|
<th>Name</th>
|
||||||
<th>Permissions</th>
|
<th>Role</th>
|
||||||
<th>Action</th>
|
<th>Permissions</th>
|
||||||
</thead>
|
<th>Action</th>
|
||||||
<tbody>
|
</thead>
|
||||||
@foreach($userArr as $user)
|
<tbody>
|
||||||
<tr>
|
@foreach($userArr as $user)
|
||||||
<td>{{ $user['name'] }}</td>
|
<tr>
|
||||||
<td>{{ $user['role'] }}</td>
|
<td>{{ $user['name'] }}</td>
|
||||||
<td>
|
<td>{{ $user['role'] }}</td>
|
||||||
@foreach($user['permissions'] as $perm)
|
<td>
|
||||||
{{ implode(', ', $perm) }}
|
@foreach($user['permissions'] as $perm)
|
||||||
|
{{ implode(', ', $perm) }}
|
||||||
|
@endforeach
|
||||||
|
</td>
|
||||||
|
<td>Remove, Modify</td>
|
||||||
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
</td>
|
</tbody>
|
||||||
<td>Remove, Modify</td>
|
<table>
|
||||||
</tr>
|
</div>
|
||||||
@endforeach
|
|
||||||
</tbody>
|
|
||||||
<table>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="permissions" class="tab-pane fade">
|
<div id="permissions" class="tab-pane fade">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
Reference in New Issue
Block a user