Ajout du panneau de configuration (non-fonctionnel)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<meta charset="utf-8"/>
|
||||
<title>Kikikoz</title>
|
||||
<script type="module">
|
||||
import {default as init, ajoute, ajoute_kp, next, intervalle_orateurice} from './pkg/kikikoz.js';
|
||||
import {default as init, ajoute, ajoute_kp, next, intervalle_orateurice, toggle_conf_visible} from './pkg/kikikoz.js';
|
||||
|
||||
async function run() {
|
||||
await init()
|
||||
@@ -14,6 +14,7 @@
|
||||
window.ajoute_kp = ajoute_kp;
|
||||
window.next = next;
|
||||
window.intervalle_orateurice = intervalle_orateurice;
|
||||
window.toggle_conf_visible = toggle_conf_visible;
|
||||
window.setInterval(intervalle_orateurice, 1000);
|
||||
</script>
|
||||
<link rel="stylesheet" href="kikikoz.css"/>
|
||||
@@ -22,8 +23,7 @@
|
||||
<main>
|
||||
<h1>Kikikoz</h1>
|
||||
|
||||
<button>Configuration</button>
|
||||
<p class="orateurice">
|
||||
<p class="orateurice" visible="true">
|
||||
<span id="orateurice" class="personne" onclick="intervalle_orateurice()">Personne</span> <span id="compte"></span> <button onclick="next()">Hop!</button>
|
||||
</p>
|
||||
|
||||
@@ -46,8 +46,9 @@
|
||||
<button onclick='ajoute("queue_b")'>+</button></p>
|
||||
</section>
|
||||
</section>
|
||||
<button onClick="toggle_conf_visible()">Configuration</button>
|
||||
</main>
|
||||
<aside id="configuration">
|
||||
<aside id="configuration" class="hidden">
|
||||
<h2>Configuration</h2>
|
||||
<p> Pas d'options pour le moment, revenez dans une version ultérieure.</p>
|
||||
</aside>
|
||||
|
||||
Reference in New Issue
Block a user