Added game rules

This commit is contained in:
H4CK3R-01
2021-06-21 21:03:41 +02:00
committed by H4CK3R-01
parent 36bb93279a
commit e3689bff5c
4 changed files with 113 additions and 23 deletions

View File

@@ -16,37 +16,55 @@
</head>
<body>
<header>
<div></div>
<div class="spielanleitung"><span
onclick="document.getElementById('modal').style.display = 'block';">Spielanleitung</span></div>
<div class="title">PM-Game</div>
<div class="build"><span>DATE_TO_BE_REPLACED</span><span><a href="COMMIT_LINK_TO_BE_REPLACED" target="_blank">COMMIT_TO_BE_REPLACED</a></span>
</div>
</header>
<main>
<div id="login">
<form>
<h2 id="error"></h2>
<label for="username">Benutzername: </label>
<input id="username" name="username" placeholder="Benutzername" type="text">
<div id="main">
<div id="login">
<form>
<h2 id="error"></h2>
<label for="username">Benutzername: </label>
<input id="username" name="username" placeholder="Benutzername" type="text">
<label for="room">Raumnummer: </label>
<input id="room" name="room" placeholder="Raumnummer" type="text">
<label for="room">Raumnummer: </label>
<input id="room" name="room" placeholder="Raumnummer" type="text">
<button id="ok" type="button">Bestätigen</button>
</form>
</div>
<div id="game">
</div>
<div id="chat">
<div id="messages_received"></div>
<div id="message_add">
<form onsubmit="sendMessage(); return false;">
<label for="message_input"></label>
<textarea id="message_input" name="message" placeholder="Type here..."></textarea>
<button id="message_send" type="submit">Send</button>
<button id="ok" type="button">Bestätigen</button>
</form>
</div>
<div id="game">
</div>
<div id="chat">
<div id="messages_received"></div>
<div id="message_add">
<form onsubmit="sendMessage(); return false;">
<label for="message_input"></label>
<textarea id="message_input" name="message" placeholder="Type here..."></textarea>
<button id="message_send" type="submit">Send</button>
</form>
</div>
</div>
</div>
<div id="modal">
<div id="content">
<div id="modal_header">
<h3 id="modal_title">Spielanleitung</h3>
<span><i class="material-icon"
onclick="document.getElementById('modal').style.display = 'none';">close</i></span>
</div>
<div class="divider"></div>
<iframe height="678"
id="spielanleitung"
src="data/Spielanleitung.pdf"
width="500">
</iframe>
</div>
</div>
</main>
<footer>