[Client] Do a few changes to the lobby template
- Add an ID to start buttons; - Add an invalid input message for the challenge mode; - Turn the room code into a link.
This commit is contained in:
parent
1e7f130081
commit
fe88154d57
@ -11,14 +11,14 @@
|
||||
<div class="join_room_view hidden">
|
||||
<h1 class="room_title">Salon</h1>
|
||||
<input type="text" id="game_username" placeholder="Entrez un pseudo" value="" required="required" maxlength="20">
|
||||
<button class="action_button" id="join_game_button">Rejoindre</button>
|
||||
<button id="join_game_button" class="action_button">Rejoindre</button>
|
||||
<p class="game_start_failed hidden">Une erreur s'est produite. Réessayez ultérieurement.</p>
|
||||
</div>
|
||||
<div class="room_view hidden">
|
||||
<div class="room_view_container">
|
||||
<h1 class="room_title">Salon</h1>
|
||||
<div class="room_code_text hidden">
|
||||
<h3 class="room_code_text_title">Code : <span class="room_code"></span></h3>
|
||||
<h3 class="room_code_text_title">Code : <a href="" class="room_code"></a></h3>
|
||||
<button id="invite_friends_button" class="action_button">Inviter vos amis</button>
|
||||
</div>
|
||||
</div>
|
||||
@ -30,15 +30,16 @@
|
||||
<div class="multi_player_mode_choices hidden">
|
||||
<div class="multi_player_mode_choice">
|
||||
<h3 class="multi_player_mode_choice_title">Jouer au mode Histoire</h3>
|
||||
<button class="action_button">Lancer</button>
|
||||
<button id="multi_player_history_start_button" class="action_button">Lancer</button>
|
||||
</div>
|
||||
<div class="multi_player_mode_choice">
|
||||
<h3 class="multi_player_mode_choice_title">Jouer au mode Challenge</h3>
|
||||
<button class="action_button">Lancer</button>
|
||||
<button id="multi_player_challenge_start_button" class="action_button">Lancer</button>
|
||||
<div class="multi_player_mode_choice_number">
|
||||
<h3 class="rounds_count_title">Nombre de tours :</h3>
|
||||
<input id="rounds_count" type="number" min="5" max="15" value="5">
|
||||
</div>
|
||||
<p class="multi_player_challenge_mode_invalid_input hidden">Nombre de tours invalide. Veuillez entrer un nombre valide entre 5 inclus et 15 inclus.</p>
|
||||
</div>
|
||||
</div>
|
||||
<h3 class="multi_player_mode_waiting_for_host hidden">En attente du démarrage de la partie par l'hôte …</h3>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user