planet-wars/backend/templates/mapbuilder.html.tera

58 lines
1.8 KiB
Text
Raw Permalink Normal View History

2020-03-27 10:31:56 +01:00
{% extends "base" %}
{% block content %}
<link rel="stylesheet" type="text/css" href="style/mapbuilder.css">
2020-03-29 10:29:27 +02:00
<div class="grid_wrapper"><div class="grid"></div></div>
2020-03-27 10:31:56 +01:00
<div class="controls">
2020-03-29 10:29:27 +02:00
<div class="boxed">
<label>Name for map</label>
<input id="mapName" type="text" placeholder="Map Name"></input>
</div>
2020-03-27 10:31:56 +01:00
<div class="boxed">
2020-03-27 15:27:19 +01:00
<label>How many squares</label>
2020-03-27 10:31:56 +01:00
<input class="amountOfSquares" type="number" min="10" max="50" value="20"></input>
<div class="colourButtonWrapper"></div>
</div>
<div class="boxed">
<label for="currentName">Setting parameters</label>
<div class="input_container">
<label for="currentName">Name:</label>
2020-03-29 10:29:27 +02:00
<input id="currentName" type="text" placeholder="Planet Name"></input>
2020-03-27 10:31:56 +01:00
</div>
<div class="input_container">
<label for="currentShipCount">Ship count:</label>
<input id="currentShipCount" type="number" value=20></input>
</div>
</div>
<div class="boxed">
<label>Hovered planet parameters</label>
<div class="input_container">
<label for="name">Name:</label>
<input id="name" type="text" disabled></input>
</div>
<div class="input_container">
<label class="small_label" for="shipCount">Ship count:</label>
<input id="shipCount" type="number" disabled></input>
</div>
<div class="input_container">
<label class="small_label" for="owner">Owner:</label>
<input id="owner" type="number" disabled></input>
</div>
</div>
2020-03-29 10:29:27 +02:00
<div class="buttons">
<button class="confirm">Send Map</button>
<button class="clear">Clear Map</button>
2020-03-27 10:31:56 +01:00
</div>
<p id="error_field" class="hidden">
</p>
</div>
<script src="script/mapbuilder.js"></script>
{% endblock %}