47 lines
1.1 KiB
HTML
47 lines
1.1 KiB
HTML
<html lang="fr">
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<title>Kikikoz</title>
|
|
<script type="module">
|
|
import {default as init, ajoute, ajoute_kp, next} from './pkg/kikikoz.js';
|
|
|
|
async function run() {
|
|
await init()
|
|
}
|
|
|
|
run()
|
|
window.ajoute = ajoute;
|
|
window.ajoute_kp = ajoute_kp;
|
|
window.next = next;
|
|
</script>
|
|
<link rel="stylesheet" href="kikikoz.css"/>
|
|
</head>
|
|
<body>
|
|
<h1>Kikikoz</h1>
|
|
<p class="prochain">
|
|
<span id="prochain" class="personne">Personne</span> <button onclick="next()">Hop!</button>
|
|
</p>
|
|
|
|
<section id="queues">
|
|
<section class="queue courante" id="queue_a">
|
|
<h3>Queue A</h3>
|
|
<ol>
|
|
|
|
</ol>
|
|
<p class="finisseur">Ajouter: <input type="text" onkeypress='ajoute_kp(event, "queue_a")'/>
|
|
<button onclick='ajoute("queue_a")'>+</button></p>
|
|
</section>
|
|
|
|
<section class="queue attente" id="queue_b">
|
|
<h3>Queue B</h3>
|
|
<ol>
|
|
|
|
</ol>
|
|
<p class="finisseur">Ajouter: <input type="text" onkeypress='ajoute_kp(event, "queue_b")'/>
|
|
<button onclick='ajoute("queue_b")'>+</button></p>
|
|
</section>
|
|
</section>
|
|
|
|
</body>
|
|
</html>
|