mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 05:25:40 +00:00
imagem planta baixa inserido
This commit is contained in:
Binary file not shown.
@@ -30,15 +30,15 @@ RRB&C - DashBoard
|
||||
|
||||
<div class="card">
|
||||
<h4> Mais Vendidos </h4>
|
||||
<table >
|
||||
<tr>
|
||||
<th style="text-align: left;">Produto</th>
|
||||
<th style="text-align: left;">Quantidade</th>
|
||||
<table style="background-color: rgba(0, 255, 255, 0);">
|
||||
<tr style="background-color: rgba(0, 255, 255, 0);">
|
||||
<th style="text-align: left;background-color: rgba(0, 255, 255, 0.089);">Produto</th>
|
||||
<th style="text-align: left;background-color: rgba(0, 255, 255, 0.075);">Quantidade</th>
|
||||
</tr>
|
||||
{% for produto in produtos_mais_vendidos %}
|
||||
<tr>
|
||||
<td> {{ produto.nome }} </td>
|
||||
<td> {{ produto.quantidade }} </td>
|
||||
<td style="background-color: rgba(0, 255, 255, 0);"> {{ produto.nome }} </td>
|
||||
<td style="background-color: rgba(0, 255, 255, 0);"> {{ produto.quantidade }} </td>
|
||||
</tr>
|
||||
|
||||
{% endfor %}
|
||||
|
||||
Binary file not shown.
@@ -14,7 +14,17 @@ RRB&C - Mapa de Mesas
|
||||
|
||||
{% block 'body' %}
|
||||
|
||||
<div id="mapa" style="position: relative">
|
||||
<style>
|
||||
#mapa {
|
||||
width: 1400px;
|
||||
height: 800px;
|
||||
background-image: url("{% static 'midia/mapMesa.webp' %}" );
|
||||
background-size: cover;
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="mapa" >
|
||||
|
||||
{% for eixo in eixosXY %}
|
||||
<div
|
||||
|
||||
@@ -13,8 +13,8 @@ def mesas(request):
|
||||
|
||||
def mapMesas(request):
|
||||
eixosXY = []
|
||||
for i in range(0,25):
|
||||
for j in range(0,15):
|
||||
for i in range(0,27):
|
||||
for j in range(0,16):
|
||||
item = {'x':j*50, 'y':i*50}
|
||||
eixosXY.append(item)
|
||||
|
||||
|
||||
@@ -45,12 +45,7 @@
|
||||
}
|
||||
|
||||
|
||||
#mapa {
|
||||
width: 1200px;
|
||||
height: 800px;
|
||||
background-image: url('https://payload.cargocollective.com/1/22/714749/12741186/FAENG-ANTES_1216.png');
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
.elemento {
|
||||
position: absolute;
|
||||
|
||||
@@ -51,8 +51,8 @@ var resposta = fetch(url, {method: 'GET', headers: {'Content-Type': 'applicati
|
||||
},}).then(response => response.json())
|
||||
.then(data => {
|
||||
console.log(data);
|
||||
if(data.status == 'ok'){
|
||||
alert('Mesa movida com sucesso!')
|
||||
if(data.status != 'ok'){
|
||||
alert('Erro ao salvar local:', error)
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
|
||||
BIN
gestaoRaul/templates/static/midia/mapMesa.webp
Normal file
BIN
gestaoRaul/templates/static/midia/mapMesa.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 MiB |
Reference in New Issue
Block a user