commit
This commit is contained in:
parent
2b1529105b
commit
3a526c2d0a
BIN
SRC/public/imgs/adminbg.jpg
Normal file
BIN
SRC/public/imgs/adminbg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.2 MiB |
@ -4,14 +4,20 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row"><div class="col-md-12">
|
<div class="row"><div class="col-md-12">
|
||||||
@if (session('message_add'))
|
@if (session('message_add'))
|
||||||
<div class="alert alert-success">
|
<div class="alert alert-success alert-dismissible fade in">
|
||||||
{{ Session::get('message_add') }}
|
{{ Session::get('message_add') }}
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if (session('message_delete'))
|
@if (session('message_delete'))
|
||||||
<div class="alert alert-danger">
|
<div class="alert alert-danger alert-dismissible fade in">
|
||||||
{{ Session::get('message_delete') }}
|
{{ Session::get('message_delete') }}
|
||||||
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
||||||
|
<span aria-hidden="true">×</span>
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
</div></div>
|
</div></div>
|
||||||
@ -42,7 +48,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<div class="btn-group" role="group" aria-label="...">
|
<div class="btn-group" role="group" aria-label="...">
|
||||||
<a href="{{ URL::to('admin/logAs', $user->id) }}" class="btn btn-primary"><span class="glyphicon glyphicon-zoom-in"></span></a>
|
<a href="{{ URL::to('admin/logAs', $user->id) }}" class="btn btn-primary"><span class="glyphicon glyphicon-zoom-in"></span></a>
|
||||||
<a href="{{ URL::to('admin/deleteUser', $user->id) }}" class="btn btn-danger"><span class="glyphicon glyphicon-trash"></span></a>
|
<a href="{{ URL::to('admin/deleteUser', $user->id) }}" class="btn btn-danger confirm"><span class="glyphicon glyphicon-trash"></span></a>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -100,3 +106,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
|
|
||||||
|
@section('page-scripts')
|
||||||
|
<script>
|
||||||
|
$('.confirm').click(function(e) {
|
||||||
|
if (!confirm('Voulez-vous vraiment confirmer la supression ?')) e.preventDefault();
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
@endsection
|
Reference in New Issue
Block a user