Première version qui marche
This commit is contained in:
42
index.html
Normal file
42
index.html
Normal file
@@ -0,0 +1,42 @@
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Kikikoz</title>
|
||||
<script type="module">
|
||||
import {default as init, greet, ajoute, next} from './pkg/kikikoz.js';
|
||||
|
||||
async function run() {
|
||||
await init()
|
||||
}
|
||||
|
||||
run()
|
||||
window.greet = greet;
|
||||
window.ajoute = ajoute;
|
||||
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 class="queue" id="queue_prio">
|
||||
<h3>Personnes prioritaires</h3>
|
||||
<ol>
|
||||
|
||||
</ol>
|
||||
<p>Ajouter: <input type="text"/><button onclick='ajoute("queue_prio")'>x</button></p>
|
||||
</section>
|
||||
|
||||
<section class="queue" id="queue_non_prio">
|
||||
<h3>Personnes non prioritaires</h3>
|
||||
<ol>
|
||||
|
||||
</ol>
|
||||
<p>Ajouter: <input type="text"/><button onclick='ajoute("queue_non_prio")'>x</button></p>
|
||||
</section>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user