[Client] Improve lobby HTML code

This commit is contained in:
AudricV 2023-03-27 16:01:30 +02:00
parent 4acbb6214a
commit 5966483e85
No known key found for this signature in database
GPG Key ID: DA92EC7905614198

View File

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="fr"> <html lang="fr">
<head> <head>
<meta charset="UTF-8">
<title>Truth Inquiry - Salon</title> <title>Truth Inquiry - Salon</title>
<link rel="stylesheet" href="/static/css/game_ui.css"> <link rel="stylesheet" href="/static/css/game_ui.css">
<link rel="stylesheet" href="/static/css/game_ui_lobby.css"> <link rel="stylesheet" href="/static/css/game_ui_lobby.css">
@ -13,11 +14,10 @@
<link rel="icon" href="/static/images/favicon/favicon_256.png" type="image/png" sizes="512x512"> <link rel="icon" href="/static/images/favicon/favicon_256.png" type="image/png" sizes="512x512">
<meta name="color-scheme" content="dark light"> <meta name="color-scheme" content="dark light">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
</head> </head>
<body class="game_app"> <body class="game_app">
<input type="hidden" id="game_id" name="game_id" value={{gameid}} /> <input type="hidden" id="game_id" name="game_id" value={{gameid}}>
<div class="join_room_view hidden"> <section class="join_room_view hidden">
<h1 class="room_title">Salon</h1> <h1 class="room_title">Salon</h1>
<div class="unjoinded_players_list"> <div class="unjoinded_players_list">
<h2 class="players_title">Joueurs</h2> <h2 class="players_title">Joueurs</h2>
@ -26,8 +26,8 @@
<input type="text" id="game_username" placeholder="Entrez un pseudo" value="" required="required" maxlength="20"> <input type="text" id="game_username" placeholder="Entrez un pseudo" value="" required="required" maxlength="20">
<button id="join_game_button" class="action_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> <p class="game_start_failed hidden">Une erreur s'est produite. Réessayez ultérieurement.</p>
</div> </section>
<div class="room_view hidden"> <section class="room_view hidden">
<div class="room_view_container"> <div class="room_view_container">
<h1 class="room_title">Salon</h1> <h1 class="room_title">Salon</h1>
<div class="room_code_text hidden"> <div class="room_code_text hidden">
@ -57,7 +57,7 @@
</div> </div>
<h3 class="multi_player_mode_waiting_for_host hidden">En attente du démarrage de la partie par l'hôte&nbsp;</h3> <h3 class="multi_player_mode_waiting_for_host hidden">En attente du démarrage de la partie par l'hôte&nbsp;</h3>
</div> </div>
</div> </section>
<div class="alert_dialog_background"></div> <div class="alert_dialog_background"></div>
<div class="unsupported_browser"> <div class="unsupported_browser">
<div id="unsupported_browser_dialog" class="alert_dialog"> <div id="unsupported_browser_dialog" class="alert_dialog">