added new features to the admin panel

This commit is contained in:
2019-05-20 01:09:52 -05:00
parent 30d2b3679a
commit 96f8fa3375

View File

@@ -38,28 +38,30 @@
</div>
<div id="userTable" class="tab-pane fade">
<div class="container">
<table class="table table-striped">
<thead>
<th>Name</th>
<th>Role</th>
<th>Permissions</th>
<th>Action</th>
</thead>
<tbody>
@foreach($userArr as $user)
<tr>
<td>{{ $user['name'] }}</td>
<td>{{ $user['role'] }}</td>
<td>
@foreach($user['permissions'] as $perm)
{{ implode(', ', $perm) }}
<div class="row">
<table class="table table-striped">
<thead>
<th>Name</th>
<th>Role</th>
<th>Permissions</th>
<th>Action</th>
</thead>
<tbody>
@foreach($userArr as $user)
<tr>
<td>{{ $user['name'] }}</td>
<td>{{ $user['role'] }}</td>
<td>
@foreach($user['permissions'] as $perm)
{{ implode(', ', $perm) }}
@endforeach
</td>
<td>Remove, Modify</td>
</tr>
@endforeach
</td>
<td>Remove, Modify</td>
</tr>
@endforeach
</tbody>
<table>
</tbody>
<table>
</div>
</div>
</div>
<div id="permissions" class="tab-pane fade">