mirror of
https://github.com/AlecM33/Werewolf.git
synced 2026-01-01 16:59:29 +01:00
Added modal for role descriptions, learning page, fixed cron job
This commit is contained in:
57
views/create_game.html
Normal file
57
views/create_game.html
Normal file
@@ -0,0 +1,57 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Werewolf</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel = "stylesheet" type = "text/css" href = "../static/styles.css" />
|
||||
<script src="/socket.io/socket.io.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="modal hidden" id="role-modal">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h2>Role descriptions</h2>
|
||||
<span id="close" class="close">×</span>
|
||||
</div>
|
||||
<div id="modal-body" class="modal-body">
|
||||
<div id="roles"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="app-content">
|
||||
<div id="create-game-container">
|
||||
<h2 class="app-header-secondary">Create A Game</h2>
|
||||
<label>
|
||||
Name
|
||||
<span>
|
||||
<input id="name" type="text"/>
|
||||
<p id="name-error"></p>
|
||||
</span>
|
||||
</label>
|
||||
<label>
|
||||
Time (Minutes, Optional)
|
||||
<input id="time" type="number"/>
|
||||
</label>
|
||||
<div id="card-select-header">
|
||||
<span>
|
||||
<button id="reset-btn" class="app-btn">Reset Deck</button>
|
||||
<button id="role-btn" class="app-btn">View Role Info</button>
|
||||
</span>
|
||||
<span>
|
||||
<h3 id="game-size">0 Players</h3>
|
||||
<p id="size-error"></p>
|
||||
</span>
|
||||
</div>
|
||||
<div id="card-select">
|
||||
|
||||
</div>
|
||||
<a href="/">
|
||||
<button class="app-btn">Back</button>
|
||||
</a>
|
||||
<button id="create-btn" class="app-btn">Create</button>
|
||||
</div>
|
||||
</div>
|
||||
<script type="module" src="/static/setup.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user