indentation code + mini modif ^^
This commit is contained in:
parent
423fb52c7b
commit
cd9bb39432
@ -22,42 +22,40 @@
|
|||||||
@endif
|
@endif
|
||||||
</div></div>
|
</div></div>
|
||||||
|
|
||||||
<div class="panel panel-primary">
|
<div class="panel panel-primary">
|
||||||
<div class="panel-heading">Panel Administrateur<a class="btn btn-danger btn-xs pull-right" href="{{ URL::to('logout') }}">Se déconnecter</a></div>
|
<div class="panel-heading">Panneau Administrateur<a class="btn btn-danger btn-xs pull-right" href="{{ URL::to('logout') }}">Se déconnecter</a></div>
|
||||||
|
<div class="panel-body">
|
||||||
<div class="panel-body">
|
<button type="button" class="btn btn-primary addRef" data-toggle="modal" data-target="#myModal"> + Ajouter un référent</button>
|
||||||
<button type="button" class="btn btn-primary addRef" data-toggle="modal" data-target="#myModal">Ajouter un référent</button>
|
<!-- class="table table-hover table-bordered" -->
|
||||||
<!-- class="table table-hover table-bordered" -->
|
<table class="table ">
|
||||||
<table class="table table-striped">
|
<thead>
|
||||||
<thead>
|
<tr>
|
||||||
<tr>
|
<th>Nom</th>
|
||||||
<th>Nom</th>
|
<th>Prénom</th>
|
||||||
<th>Prénom</th>
|
<th>Email</th>
|
||||||
<th>Email</th>
|
<th>Etablissement</th>
|
||||||
<th>Etablissement</th>
|
<th></th>
|
||||||
<th></th>
|
</tr>
|
||||||
</tr>
|
</thead>
|
||||||
</thead>
|
<tbody>
|
||||||
<tbody>
|
@foreach ($users as $user)
|
||||||
@foreach ($users as $user)
|
<tr>
|
||||||
<tr>
|
<td>{{$user->nom}}</td>
|
||||||
<td>{{$user->nom}}</td>
|
<td>{{$user->prenom}}</td>
|
||||||
<td>{{$user->prenom}}</td>
|
<td>{{$user->email}}</td>
|
||||||
<td>{{$user->email}}</td>
|
<td>{{$user->etablissement}}</td>
|
||||||
<td>{{$user->etablissement}}</td>
|
<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 confirm"><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>
|
@endforeach
|
||||||
@endforeach
|
</tbody>
|
||||||
</tbody>
|
</table>
|
||||||
</table>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Modal -->
|
<!-- Modal -->
|
||||||
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
@ -110,7 +108,7 @@
|
|||||||
@section('page-scripts')
|
@section('page-scripts')
|
||||||
<script>
|
<script>
|
||||||
$('.confirm').click(function(e) {
|
$('.confirm').click(function(e) {
|
||||||
if (!confirm('Voulez-vous vraiment confirmer la supression ?')) e.preventDefault();
|
if (!confirm('Supprimer définitivement ce référent ?')) e.preventDefault();
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Gestion du tactile, debut du toucher
|
||||||
document.getElementById('imgRef').addEventListener("touchstart", function(event) {
|
document.getElementById('imgRef').addEventListener("touchstart", function(event) {
|
||||||
absorbEvent_(event);
|
absorbEvent_(event);
|
||||||
timer = setInterval(function(){ decompte() } , 1000); //intervalle, decompte de 1 secondes
|
timer = setInterval(function(){ decompte() } , 1000); //intervalle, decompte de 1 secondes
|
||||||
@ -86,12 +86,14 @@
|
|||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Gestion du tactile, fin du toucher
|
||||||
document.getElementById('imgRef').addEventListener("touchend", function() {
|
document.getElementById('imgRef').addEventListener("touchend", function() {
|
||||||
clearTimeout(redirect);
|
clearTimeout(redirect);
|
||||||
document.getElementById("decompte").innerHTML =""; //on efface le contenu
|
document.getElementById("decompte").innerHTML =""; //on efface le contenu
|
||||||
i = 3; //on reset le compteur
|
i = 3; //on reset le compteur
|
||||||
clearInterval(timer); // on stop le decompte si on relache la souris
|
clearInterval(timer); // on stop le decompte si on relache la souris
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
@endsection
|
@endsection
|
||||||
|
Reference in New Issue
Block a user