added symbols on cards
BIN
static/backward.png
Normal file
After Width: | Height: | Size: 895 B |
BIN
static/forward x2.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
static/forward x3.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
static/forward.png
Normal file
After Width: | Height: | Size: 846 B |
BIN
static/turn around.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
static/turn left.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
static/turn right.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
|
@ -22,7 +22,18 @@
|
||||||
<div class="row top-buffer">
|
<div class="row top-buffer">
|
||||||
<div class="main-canvas">
|
<div class="main-canvas">
|
||||||
{% for i in range(0,9) %}
|
{% for i in range(0,9) %}
|
||||||
<div class="box card{{ i }}" name="{{ cmds[i].number }}" >{{ cmds[i].action }}
|
{% if 'forward' in cmds[i].action %}
|
||||||
|
<div class="box card{{ i }}" name="{{ cmds[i].number }}" style="background-color: #28a745">
|
||||||
|
{% elif 'backward' in cmds[i].action %}
|
||||||
|
<div class="box card{{ i }}" name="{{ cmds[i].number }}" style="background-color: #E74C3C">
|
||||||
|
{% elif 'left' in cmds[i].action %}
|
||||||
|
<div class="box card{{ i }}" name="{{ cmds[i].number }}" style="background-color: #f3d500">
|
||||||
|
{% elif 'right' in cmds[i].action %}
|
||||||
|
<div class="box card{{ i }}" name="{{ cmds[i].number }}" style="background-color: #2832ad">
|
||||||
|
{% else %}
|
||||||
|
<div class="box card{{ i }}" name="{{ cmds[i].number }}" style="background-color: rgba(128,116,109,0.55)">
|
||||||
|
{% endif %}
|
||||||
|
<img src="static/{{ cmds[i].action }}.png">
|
||||||
<p style="font-size: 10px">{{ cmds[i].priority }}</p>
|
<p style="font-size: 10px">{{ cmds[i].priority }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|