layout base | atualizar page se erro ao arrastar

This commit is contained in:
2025-01-03 16:25:28 -03:00
parent a2d751e88f
commit 0460040af3
6 changed files with 13 additions and 6 deletions

Binary file not shown.

View File

@@ -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 %}

View File

@@ -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 %}

View File

@@ -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;
} } */

View File

@@ -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;
} }

View File

@@ -68,6 +68,7 @@ var resposta = fetch(url, {method: 'POST',
}); });
}else{ }else{
alert('Aqui não pode!!!') alert('Aqui não pode!!!')
location.reload();
} }
} }