|
|
|
@ -1,4 +1,3 @@
|
|
|
|
|
<!-- Ambroise GABERT -->
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="fr">
|
|
|
|
|
<head>
|
|
|
|
@ -15,7 +14,7 @@
|
|
|
|
|
<!-- Navbar -->
|
|
|
|
|
<nav class="navbar navbar-expand-lg navbar-light" id="barre_nav">
|
|
|
|
|
<div id="titre">
|
|
|
|
|
<img id="image_ballon" src="image_ballon.jpg" width="30" height="30" alt="">
|
|
|
|
|
<img id="image_ballon" src="ballon.png" width="30" height="30" alt="">
|
|
|
|
|
<a class="navbar-brand text-white" href="#">BASKET</a>
|
|
|
|
|
</div>
|
|
|
|
|
<button class="navbar-toggler bg-light" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
@ -35,11 +34,11 @@
|
|
|
|
|
Nouvelle page
|
|
|
|
|
</a>
|
|
|
|
|
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
|
|
|
|
|
<a class="dropdown-item" href="#">HAUT TERRAIN</a>
|
|
|
|
|
<a class="dropdown-item" id="demo" href="#" onclick="afficherDemiTerrainDroit()">TERRAIN DROIT</a>
|
|
|
|
|
<div class="dropdown-divider"></div>
|
|
|
|
|
<a class="dropdown-item " href="#">BAS TERRAIN</a>
|
|
|
|
|
<a class="dropdown-item " href="#" onclick="afficherDemiTerrainGauche()">TERRAIN GAUCHE</a>
|
|
|
|
|
<div class="dropdown-divider"></div>
|
|
|
|
|
<a class="dropdown-item " href="#">FULL TERRAIN</a>
|
|
|
|
|
<a class="dropdown-item " href="#" onclick="afficherFullTerrain()" >FULL TERRAIN</a>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item dropdown">
|
|
|
|
@ -62,7 +61,7 @@
|
|
|
|
|
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block bg-light sidebar collapse">
|
|
|
|
|
<nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block sidebar collapse">
|
|
|
|
|
<div class="row list-group list-group">
|
|
|
|
|
<div >
|
|
|
|
|
<div class="list-group list-group-horizontal" id="bouton" role="tablist">
|
|
|
|
@ -76,7 +75,7 @@
|
|
|
|
|
<div class="tab-content" id="nav-tabContent">
|
|
|
|
|
<div class="tab-pane fade show active" id="list-home" role="tabpanel" aria-labelledby="list-home-list">
|
|
|
|
|
<div class="sidebar-sticky pt-3">
|
|
|
|
|
<h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
|
|
|
|
|
<h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted font-weight-bold">
|
|
|
|
|
<span>AJOUTER JOUEUR</span>
|
|
|
|
|
<a class="d-flex align-items-center text-muted" href="#" aria-label="Add a new report">
|
|
|
|
|
<span data-feather="plus-circle"></span>
|
|
|
|
@ -84,19 +83,19 @@
|
|
|
|
|
</h6>
|
|
|
|
|
<ul class="nav flex-column" id="ul">
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a class="nav-link" href="#">
|
|
|
|
|
<a class="nav-link" onclick="ajouterjoueur()" href="#">
|
|
|
|
|
<span data-feather="file"></span>
|
|
|
|
|
ATTAQUANT
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a class="nav-link" href="#">
|
|
|
|
|
<li class="nav-item" id="bouttonadd">
|
|
|
|
|
<a class="nav-link " onclick="ajouteradversaire()" href="#">
|
|
|
|
|
<span data-feather="shopping-cart"></span>
|
|
|
|
|
DEFENSEUR
|
|
|
|
|
DÉFENSEUR
|
|
|
|
|
</a>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted">
|
|
|
|
|
<h6 class="sidebar-heading d-flex justify-content-between align-items-center px-3 mt-4 mb-1 text-muted font-weight-bold">
|
|
|
|
|
<span>ACTIONS</span>
|
|
|
|
|
<a class="d-flex align-items-center text-muted" href="#" aria-label="Add a new report">
|
|
|
|
|
<span data-feather="plus-circle"></span>
|
|
|
|
@ -104,7 +103,7 @@
|
|
|
|
|
</h6>
|
|
|
|
|
<ul class="nav flex-column mb-2" id="ul">
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a class="nav-link" href="#">
|
|
|
|
|
<a class="nav-link" onclick="triggerfairepasse()"href="#">
|
|
|
|
|
<span data-feather="file-text"></span>
|
|
|
|
|
PASSE
|
|
|
|
|
</a>
|
|
|
|
@ -112,19 +111,19 @@
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a class="nav-link" href="#">
|
|
|
|
|
<span data-feather="file-text"></span>
|
|
|
|
|
DEPLACER
|
|
|
|
|
DÉPLACER
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a class="nav-link" href="#">
|
|
|
|
|
<span data-feather="file-text"></span>
|
|
|
|
|
DRIBLER
|
|
|
|
|
DRIBBLER
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a class="nav-link" href="#">
|
|
|
|
|
<span data-feather="file-text"></span>
|
|
|
|
|
ECRAN
|
|
|
|
|
ÉCRAN
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
@ -133,6 +132,18 @@
|
|
|
|
|
TIRER
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a class="nav-link" onclick="retourarriere()" href="#">
|
|
|
|
|
<span data-feather="file-text"></span>
|
|
|
|
|
RETOUR ARRIERE
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a class="nav-link" onclick="triggerdonnerlaballe()" href="#">
|
|
|
|
|
<span data-feather="file-text"></span>
|
|
|
|
|
DONNER LA BALLE
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -157,14 +168,58 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
<button type="button" class="btn btn-warning fixed-bottom font-weight-bold" >+</button>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="boutons">
|
|
|
|
|
<button type="button" class="btn btn-warning">
|
|
|
|
|
<img src="flèche_gauche.png" height="30">
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
<button type="button" class="btn btn-warning">
|
|
|
|
|
<img src="flèche_droite.png" height="30">
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="divTerrains">
|
|
|
|
|
<canvas id="terrain" style="display:block;"></canvas>
|
|
|
|
|
<script src ="Terrains/Horizontal/entier.js"></script>
|
|
|
|
|
|
|
|
|
|
<canvas id="demiTerrainDroit" style="display:none;"></canvas>
|
|
|
|
|
<script src ="Terrains/Horizontal/demiDroit.js"></script>
|
|
|
|
|
|
|
|
|
|
<canvas id="demiTerrainGauche" style="display:none;"></canvas>
|
|
|
|
|
<script src ="Terrains/Horizontal/demiGauche.js"></script>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
function afficherFullTerrain() {
|
|
|
|
|
document.getElementById("terrain").style.display = "block";
|
|
|
|
|
document.getElementById("demiTerrainDroit").style.display = "none";
|
|
|
|
|
document.getElementById("demiTerrainGauche").style.display = "none";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function afficherDemiTerrainDroit() {
|
|
|
|
|
document.getElementById("terrain").style.display = "none";
|
|
|
|
|
document.getElementById("demiTerrainDroit").style.display = "block";
|
|
|
|
|
document.getElementById("demiTerrainGauche").style.display = "none";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function afficherDemiTerrainGauche() {
|
|
|
|
|
document.getElementById("terrain").style.display = "none";
|
|
|
|
|
document.getElementById("demiTerrainDroit").style.display = "none";
|
|
|
|
|
document.getElementById("demiTerrainGauche").style.display = "block";
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<button type="button" class="btn btn-warning fixed-bottom font-weight-bold">+</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Optional JavaScript -->
|
|
|
|
|
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
|
|
|
|
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js" integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s" crossorigin="anonymous"></script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
<!-- Optional JavaScript -->
|
|
|
|
|
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
|
|
|
|
<script src="rectest.js"></script>
|
|
|
|
|
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js" integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s" crossorigin="anonymous"></script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|