mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
layout base | atualizar page se erro ao arrastar
This commit is contained in:
Binary file not shown.
@@ -19,12 +19,17 @@ RRB&C - Mapa de Mesas
|
|||||||
#mapa {
|
#mapa {
|
||||||
width: 1400px;
|
width: 1400px;
|
||||||
height: 800px;
|
height: 800px;
|
||||||
|
border-radius: 15px;
|
||||||
|
/* margin: 15; */
|
||||||
|
|
||||||
background-image: url("{% static 'midia/mapMesa.webp' %}" );
|
background-image: url("{% static 'midia/mapMesa.webp' %}" );
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<h1>Mapa de Mesas</h1>
|
||||||
|
|
||||||
<div id="mapa" >
|
<div id="mapa" >
|
||||||
|
|
||||||
{% for eixo in eixosXY %}
|
{% for eixo in eixosXY %}
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<link rel="stylesheet" href="{% static 'pico.css' %}">
|
<link rel="stylesheet" href="{% static 'pico.css' %}">
|
||||||
|
<link rel="stylesheet" href="{% static 'base.css' %}">
|
||||||
{% block 'head' %}
|
{% block 'head' %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 15px;
|
||||||
|
padding: 15px;
|
||||||
font-family: Arial, sans-serif;
|
font-family: Arial, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar {
|
/* .sidebar {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
background-color: #f1f1f1;
|
background-color: #f1f1f1;
|
||||||
@@ -14,7 +15,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
margin-left: 220px; /* Ajustar para a largura da sidebar + padding */
|
margin-left: 220px;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -32,4 +33,4 @@ li a {
|
|||||||
|
|
||||||
li a:hover {
|
li a:hover {
|
||||||
background-color: #ccc;
|
background-color: #ccc;
|
||||||
}
|
} */
|
||||||
|
|||||||
@@ -62,7 +62,6 @@
|
|||||||
background-color: rgb(75, 75, 75);
|
background-color: rgb(75, 75, 75);
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
margin: 15px;
|
|
||||||
min-height: 300px;
|
min-height: 300px;
|
||||||
max-width: 1370px;
|
max-width: 1400px;
|
||||||
}
|
}
|
||||||
@@ -68,6 +68,7 @@ var resposta = fetch(url, {method: 'POST',
|
|||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
alert('Aqui não pode!!!')
|
alert('Aqui não pode!!!')
|
||||||
|
location.reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user