indentation code + mini modif ^^
This commit is contained in:
parent
423fb52c7b
commit
cd9bb39432
@ -23,12 +23,11 @@
|
||||
</div></div>
|
||||
|
||||
<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">
|
||||
<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" -->
|
||||
<table class="table table-striped">
|
||||
<table class="table ">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Nom</th>
|
||||
@ -57,7 +56,6 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Modal -->
|
||||
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
@ -110,7 +108,7 @@
|
||||
@section('page-scripts')
|
||||
<script>
|
||||
$('.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>
|
||||
|
@ -78,7 +78,7 @@
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
// Gestion du tactile, debut du toucher
|
||||
document.getElementById('imgRef').addEventListener("touchstart", function(event) {
|
||||
absorbEvent_(event);
|
||||
timer = setInterval(function(){ decompte() } , 1000); //intervalle, decompte de 1 secondes
|
||||
@ -86,6 +86,7 @@
|
||||
return false;
|
||||
});
|
||||
|
||||
// Gestion du tactile, fin du toucher
|
||||
document.getElementById('imgRef').addEventListener("touchend", function() {
|
||||
clearTimeout(redirect);
|
||||
document.getElementById("decompte").innerHTML =""; //on efface le contenu
|
||||
@ -93,5 +94,6 @@
|
||||
clearInterval(timer); // on stop le decompte si on relache la souris
|
||||
return false;
|
||||
});
|
||||
|
||||
</script>
|
||||
@endsection
|
||||
|
Reference in New Issue
Block a user