Décompte du temps de parole

This commit is contained in:
2020-12-17 18:59:29 +01:00
parent 42a5629c42
commit 6bea1ee4a1
7 changed files with 86 additions and 75 deletions

View File

@@ -3,7 +3,7 @@
<meta charset="utf-8"/>
<title>Kikikoz</title>
<script type="module">
import {default as init, ajoute, ajoute_kp, next} from './pkg/kikikoz.js';
import {default as init, ajoute, ajoute_kp, next, intervalle_orateurice} from './pkg/kikikoz.js';
async function run() {
await init()
@@ -13,13 +13,14 @@
window.ajoute = ajoute;
window.ajoute_kp = ajoute_kp;
window.next = next;
window.setInterval(intervalle_orateurice, 1000);
</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 class="orateurice">
<span id="orateurice" class="personne" onclick="intervalle_orateurice()">Personne</span> <span id="compte"></span> <button onclick="next()">Hop!</button>
</p>
<section id="queues">