V1
This commit is contained in:
55
dev.html
Normal file
55
dev.html
Normal file
@ -0,0 +1,55 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Sudoku</title>
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
<script type="text/javascript" src="sudoku_dev.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Sudoku</h1>
|
||||
</header>
|
||||
<form id="sudokuForm">
|
||||
<div>
|
||||
<table id="gridTable" class="grid"></table>
|
||||
<script>createGrid()</script>
|
||||
</div>
|
||||
<div id="helpDiv">
|
||||
<fieldset id="helpFieldset">
|
||||
<legend>Aide</legend>
|
||||
<div>
|
||||
<input type="checkbox" id="showAllowedValues" onclick="grid.forEach(box => showAllowedValuesOn(box))"/>
|
||||
<label for="showAllowedValues">Indiquer les valeurs possibles pour chaque case</label>
|
||||
</div>
|
||||
<div>
|
||||
<label for="highlightSelect">Surligner les cases pouvant contenir un :</label>
|
||||
<select id="highlightSelect" onchange="highlightAndTabOrder()">
|
||||
<option></option>
|
||||
<option>1</option>
|
||||
<option>2</option>
|
||||
<option>3</option>
|
||||
<option>4</option>
|
||||
<option>5</option>
|
||||
<option>6</option>
|
||||
<option>7</option>
|
||||
<option>8</option>
|
||||
<option>9</option>
|
||||
</select>
|
||||
</div>
|
||||
<button id="solveButton" type="button" onclick="solve()">Montrer la solution</button>
|
||||
</fieldset>
|
||||
</div>
|
||||
</form>
|
||||
<div>
|
||||
<button id="clearButton" type="button" onclick="erase()">Effacer tout</button>
|
||||
<button type="button" onclick="generateGrid()">Nouvelle partie</button>
|
||||
<button id="customGridButton" type="button" onclick="customGrid()">Grille personnalisée</button>
|
||||
</div>
|
||||
Pour partager cette grille, copiez le lien suivant :<br/>
|
||||
<div id="shareDiv">
|
||||
<a id="shareLink" href="">malingrey.fr<br/>/sudoku/#<br/></a>
|
||||
</div>
|
||||
<script>loadGrid()</script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user