Maps/resources/views/map-controls.html
Ivor Barhansky 498801390c Загрузил(а) файлы в 'resources/views'
Signed-off-by: Ivor Barhansky <lopar@noreply.lopar.us>
2022-02-20 23:09:13 +00:00

44 lines
1.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<style>
table {
border-spacing: 0;
}
td {
padding: 0;
}
.game-board {
display: grid;
grid-template-rows: 50px 50px 50px;
grid-template-columns: 50px 50px 50px;
}
.box {
display: flex;
align-items: center;
justify-content: center;
}
</style>
<form method="post" id="movement"></form>
<div class='game-board'>
<div class='box'></div>
<div class="box">
<button type='submit' name='action' value='up' form="movement">🔼</button>
</div>
<div class='box'></div>
<div class='box'>
<button type='submit' name='action' value='left' form='movement'></button>
</div>
<div class='box'>X</div>
<div class='box'>
<button type='submit' name='action' value='right' form='movement'></button>
</div>
<div class='box'></div>
<div class='box'>
<button type='submit' name='action' value='down' form='movement'>🔽</button>
</div>
<div class='box'></div>
</div>
<button type='submit' name='action' value='clear' form='movement'>Сброс</button>