2020-03-26 20:25:33 +01:00
|
|
|
{% extends "base" %}
|
|
|
|
|
|
|
|
{% block content %}
|
2020-04-01 20:49:50 +02:00
|
|
|
<link rel="stylesheet" href="/style/collapsable.css">
|
|
|
|
<link rel="stylesheet" href="/style/state.css">
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
|
|
|
2020-03-26 20:25:33 +01:00
|
|
|
<div class="main">
|
2020-03-31 11:48:35 +02:00
|
|
|
<div class="lobby_wrapper">
|
|
|
|
<div class="refresh" onclick="refresh_state()"></div>
|
2020-04-01 20:49:50 +02:00
|
|
|
<div id="lobby" class="lobby"></div>
|
2020-03-28 19:07:55 +01:00
|
|
|
</div>
|
2020-03-26 20:25:33 +01:00
|
|
|
<div class="creator">
|
|
|
|
<h1>Start new game</h1>
|
|
|
|
<div class="input_container">
|
|
|
|
<label for="name">Name:</label>
|
|
|
|
<input id="name" type="text"></input>
|
|
|
|
</div>
|
|
|
|
<label>Select Map</label>
|
|
|
|
<div class="map_select">
|
|
|
|
{% include "maps" %}
|
|
|
|
</div>
|
|
|
|
<div class="input_container number">
|
|
|
|
<label for="turns">Max turns:</label>
|
2020-04-08 13:22:28 +02:00
|
|
|
<input id="turns" type="number" value=1000></input>
|
2020-03-26 20:25:33 +01:00
|
|
|
</div>
|
|
|
|
<div class="input_container number">
|
|
|
|
<label for="nop">Number of players:</label>
|
|
|
|
<input id="nop" type="number" value=2></input>
|
|
|
|
</div>
|
2020-03-27 10:31:56 +01:00
|
|
|
<button onclick="start_game()">
|
2020-03-26 20:25:33 +01:00
|
|
|
Start
|
|
|
|
</button>
|
|
|
|
<div id="map_holder">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-03-29 10:45:27 +02:00
|
|
|
<script src="script/lobby.js"></script>
|
2020-03-26 20:25:33 +01:00
|
|
|
{% endblock %}
|