forked from orson/bachemap
fixed scrolling in secondbase, better add_pin interface
This commit is contained in:
parent
d0619d5fb3
commit
75eedcb44d
@ -1,16 +1,19 @@
|
|||||||
blinker==1.8.1
|
blinker==1.8.1
|
||||||
|
certifi==2024.8.30
|
||||||
|
charset-normalizer==3.3.2
|
||||||
click==8.1.7
|
click==8.1.7
|
||||||
dnspython==2.6.1
|
dnspython==2.6.1
|
||||||
Flask==3.0.3
|
Flask==3.0.3
|
||||||
Flask-Login==0.6.3
|
Flask-Login==0.6.3
|
||||||
Flask-PyMongo==2.3.0
|
Flask-PyMongo==2.3.0
|
||||||
Flask-WTF==1.2.1
|
Flask-WTF==1.2.1
|
||||||
|
idna==3.8
|
||||||
itsdangerous==2.2.0
|
itsdangerous==2.2.0
|
||||||
Jinja2==3.1.3
|
Jinja2==3.1.3
|
||||||
leaflet==0.0.3
|
leaflet==0.0.3
|
||||||
MarkupSafe==2.1.5
|
MarkupSafe==2.1.5
|
||||||
pymongo==4.8.0
|
pymongo==4.7.1
|
||||||
python-dateutil==2.9.0.post0
|
requests==2.32.3
|
||||||
six==1.16.0
|
urllib3==2.2.2
|
||||||
Werkzeug==3.0.2
|
Werkzeug==3.0.2
|
||||||
WTForms==3.1.2
|
WTForms==3.1.2
|
||||||
|
|||||||
@ -123,6 +123,18 @@ path-derping {
|
|||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
border: black;
|
border: black;
|
||||||
border-width: 1px;
|
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 {
|
#pinner-top {
|
||||||
@ -142,3 +154,8 @@ main {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#lng, #lat {
|
||||||
|
font-size: 0.8rem;
|
||||||
|
background-color: grey;
|
||||||
|
}
|
||||||
@ -9,11 +9,12 @@
|
|||||||
{{ form.photo.label }}
|
{{ form.photo.label }}
|
||||||
{{ form.photo() }}
|
{{ form.photo() }}
|
||||||
{{ form.typeofpin }}
|
{{ form.typeofpin }}
|
||||||
|
<label>Coordenadas</label>
|
||||||
|
<div role="group">
|
||||||
|
|
||||||
<label for="lat">Latitud:</label>
|
<input type="text" id="lat" name="lat" readonly>
|
||||||
<input type="text" id="lat" name="lat" readonly>
|
<input type="text" id="lng" name="lng" readonly>
|
||||||
<label for="lng">Longitud:</label>
|
</div>
|
||||||
<input type="text" id="lng" name="lng" readonly>
|
|
||||||
<table style="background-color: rgba(0,0,0,0);">
|
<table style="background-color: rgba(0,0,0,0);">
|
||||||
<tr style="background-color: transparent;">
|
<tr style="background-color: transparent;">
|
||||||
<td style="background-color:transparent">{{ form.submit() }}</td>
|
<td style="background-color:transparent">{{ form.submit() }}</td>
|
||||||
|
|||||||
@ -34,7 +34,6 @@
|
|||||||
<li><button><a href="/quienes">Somos</a></button></li>
|
<li><button><a href="/quienes">Somos</a></button></li>
|
||||||
{% if current_user.is_authenticated %}
|
{% if current_user.is_authenticated %}
|
||||||
<li><button><a href="/dashboard">Perfil</a></button></li>
|
<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 %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@ -44,7 +44,7 @@
|
|||||||
attribution: '© OpenStreetMap contributors',
|
attribution: '© OpenStreetMap contributors',
|
||||||
detectRetina: true,
|
detectRetina: true,
|
||||||
tileSize: 256,
|
tileSize: 256,
|
||||||
maxZoom: 19,
|
maxZoom: 21,
|
||||||
maxNativeZoom: 18,
|
maxNativeZoom: 18,
|
||||||
//zoomOffset: 1,
|
//zoomOffset: 1,
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!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>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
@ -20,6 +20,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li><button id="pinner-top"><a href="/">Al mapa</a></button></li>
|
<li><button id="pinner-top"><a href="/">Al mapa</a></button></li>
|
||||||
<li><button><a href="/quienes">Somos</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>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
{% with messages = get_flashed_messages() %}
|
{% with messages = get_flashed_messages() %}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user