Reflection on how the main page works.

This commit is contained in:
2024-09-19 23:09:59 +02:00
parent 77e149eae1
commit 6122b21d90
3 changed files with 92 additions and 130 deletions

View File

@@ -11,7 +11,23 @@
<link rel="stylesheet" href="static/css/index.css">
</head>
<body>
<div id="app" class="app"></div>
<div id="app" class="app">
<h1 id="app_title">Vote +</h1>
<label for="player_id">Pour qui votes tu?</label>
<select id="player_id"></select>
<label for="nickname">As-tu un surnom à lui donner?</label>
<input type="text" id="nickname">
<label for="reason">Pourquoi votes-tu pour lui?</label>
<textarea id="reason"></textarea>
<div id="app-nav" class="app-nav">
<button id="prev" hidden="hidden" class="left-button">Précédent</button>
<button id="next" class="right-button">Suivant</button>
</div>
</div>
<div id="notification" class="notification" hidden="hidden">
<h1 id="title"></h1>
<h2 id="detail"></h2>
</div>
<div id="footer" class="footer">
<a href="/">Voter</a>
<a href="/results">Résultats</a>