mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
page comanda e barra navegação resposivo
This commit is contained in:
@@ -17,21 +17,23 @@ Comandas
|
||||
<div class="grid-container ">
|
||||
|
||||
{% for comanda in comandas %}
|
||||
|
||||
<a href="{% url 'viewcomanda' %}?parametro={{ comanda.id }}" style="text-decoration: none;">
|
||||
<article >
|
||||
<header
|
||||
{% if comanda.status == 'OPEN' %}
|
||||
style="background-color: #036800;"
|
||||
{% elif comanda.status == 'PAYING' %}
|
||||
style="background-color: rgb(165, 86, 33);"
|
||||
{% endif %}
|
||||
> {{comanda.name}} | {{comanda.mesa}}</header><br>
|
||||
<p>Aberta ás: {{comanda.dt_open|date:"H:i"}}</p>
|
||||
|
||||
|
||||
</article></a>
|
||||
|
||||
<div class="card-comanda">
|
||||
<a href="{% url 'viewcomanda' %}?parametro={{ comanda.id }}" style="text-decoration: none;">
|
||||
<header
|
||||
{% if comanda.status == 'OPEN' %}
|
||||
style="min-height: 60px;border-radius: 10px 10px 0px 0px; background-color: #036800;"
|
||||
{% elif comanda.status == 'PAYING' %}
|
||||
style="min-height: 60px;border-radius: 10px 10px 0px 0px; background-color: rgb(165, 86, 33);"
|
||||
{% endif %}
|
||||
>
|
||||
{{comanda.name}} | {{comanda.mesa}}
|
||||
</header>
|
||||
<br>
|
||||
<p>
|
||||
Aberta ás: {{comanda.dt_open|date:"H:i"}}
|
||||
</p>
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user