1
0
forked from orson/bachemap

fixed scrolling in secondbase, better add_pin interface

This commit is contained in:
kprftw 2024-09-05 20:32:27 -06:00
parent d0619d5fb3
commit 75eedcb44d
6 changed files with 33 additions and 12 deletions

View File

@ -1,16 +1,19 @@
blinker==1.8.1
certifi==2024.8.30
charset-normalizer==3.3.2
click==8.1.7
dnspython==2.6.1
Flask==3.0.3
Flask-Login==0.6.3
Flask-PyMongo==2.3.0
Flask-WTF==1.2.1
idna==3.8
itsdangerous==2.2.0
Jinja2==3.1.3
leaflet==0.0.3
MarkupSafe==2.1.5
pymongo==4.8.0
python-dateutil==2.9.0.post0
six==1.16.0
pymongo==4.7.1
requests==2.32.3
urllib3==2.2.2
Werkzeug==3.0.2
WTForms==3.1.2

View File

@ -123,6 +123,18 @@ path-derping {
padding: 1rem;
border: black;
border-width: 1px;
-webkit-animation: cssAnimation 7s forwards;
animation: cssAnimation 7s forwards;
}
@keyframes cssAnimation {
0% {opacity: 1;}
90% {opacity: 1;}
100% {opacity: 0;}
}
@-webkit-keyframes cssAnimation {
0% {opacity: 1;}
90% {opacity: 1;}
100% {opacity: 0;}
}
#pinner-top {
@ -142,3 +154,8 @@ main {
align-items: center;
justify-content: center;
}
#lng, #lat {
font-size: 0.8rem;
background-color: grey;
}

View File

@ -9,11 +9,12 @@
{{ form.photo.label }}
{{ form.photo() }}
{{ form.typeofpin }}
<label>Coordenadas</label>
<div role="group">
<label for="lat">Latitud:</label>
<input type="text" id="lat" name="lat" readonly>
<label for="lng">Longitud:</label>
<input type="text" id="lng" name="lng" readonly>
<input type="text" id="lat" name="lat" readonly>
<input type="text" id="lng" name="lng" readonly>
</div>
<table style="background-color: rgba(0,0,0,0);">
<tr style="background-color: transparent;">
<td style="background-color:transparent">{{ form.submit() }}</td>

View File

@ -34,7 +34,6 @@
<li><button><a href="/quienes">Somos</a></button></li>
{% if current_user.is_authenticated %}
<li><button><a href="/dashboard">Perfil</a></button></li>
<li><button style="background-color: rgb(241, 165, 0);"><a href="/logout">Salir</a></button></li>
{% endif %}
</ul>
</nav>

View File

@ -44,7 +44,7 @@
attribution: '© OpenStreetMap contributors',
detectRetina: true,
tileSize: 256,
maxZoom: 19,
maxZoom: 21,
maxNativeZoom: 18,
//zoomOffset: 1,
}).addTo(map);

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html data-theme="light" lang="es" style="background-color: rgb(205, 243, 148); color: black;">
<html data-theme="light" lang="es" style="background-color: rgb(205, 243, 148); color: black; overflow-y:scroll">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
@ -20,6 +20,7 @@
<ul>
<li><button id="pinner-top"><a href="/">Al mapa</a></button></li>
<li><button><a href="/quienes">Somos</a></button></li>
<li><button style="background-color: rgb(241, 165, 0);"><a href="/logout">Salir</a></button></li>
</ul>
</nav>
{% with messages = get_flashed_messages() %}