indentation code + mini modif ^^

This commit is contained in:
Jerome Morjon 2015-03-20 21:58:10 +01:00
parent 423fb52c7b
commit cd9bb39432
2 changed files with 39 additions and 39 deletions

View File

@ -23,12 +23,11 @@
</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-striped"> <table class="table ">
<thead> <thead>
<tr> <tr>
<th>Nom</th> <th>Nom</th>
@ -57,7 +56,6 @@
</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>

View File

@ -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,6 +86,7 @@
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
@ -93,5 +94,6 @@
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