You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.5 KiB
59 lines
1.5 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="../css/style.css">
|
|
<script src="https://unpkg.com/konva@6.0.0/konva.min.js"></script>
|
|
<script src="../js/func.js"></script>
|
|
<link href="https://use.fontawesome.com/releases/v5.0.4/css/all.css" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css2?family=Bitter:wght@700&display=swap" rel="stylesheet">
|
|
<meta charset="utf-8" />
|
|
<title>Make It True</title>
|
|
</head>
|
|
|
|
<body>
|
|
<header>
|
|
<nav>
|
|
<ul class="nav_links">
|
|
<li><a href="#">Play</a></li>
|
|
<li><a href="#">Aide</a></li>
|
|
<li><a href="#">Editeur</a></li>
|
|
<li><a href="#">Records</a></li>
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
<div class="container">
|
|
<div class="btn_play">
|
|
<ul>
|
|
<li>
|
|
<div class="message">
|
|
<a>Je veux jouer à </a>
|
|
|
|
<select id="jeu-select">
|
|
<option value="aleatoire">Aléatoire</option>
|
|
<option value="perso">Niveau Perso</option>
|
|
</select>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<a onclick="play()"><i class="far fa-play-circle"></i></a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<script>
|
|
document.location.href="../../vue/index.html"
|
|
function play(){
|
|
var e = document.getElementById("jeu-select");
|
|
var strUser = e.options[e.selectedIndex].value;
|
|
switch(strUser){
|
|
case "aleatoire":
|
|
window.location.href = "jeu.html";
|
|
break;
|
|
case "perso" :
|
|
window.location.href = "perso.html";
|
|
break;
|
|
}
|
|
}
|
|
</script>
|
|
</html> |