forked from orson/bachemap
upgrayeds
This commit is contained in:
parent
21d39f24d5
commit
209985120f
@ -11,7 +11,7 @@
|
||||
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"
|
||||
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo="
|
||||
crossorigin=""></script>
|
||||
<script type="text/javascript" src="https://stamen-maps.a.ssl.fastly.net/js/tile.stamen.js?v1.3.0"></script>
|
||||
<!--<script type="text/javascript" src="https://stamen-maps.a.ssl.fastly.net/js/tile.stamen.js?v1.3.0"></script>-->
|
||||
|
||||
|
||||
<!--<link rel="stylesheet" href="{{ url_for('static', filename='leaflet.css') }}">
|
||||
|
||||
@ -7,9 +7,46 @@
|
||||
|
||||
{% if pins %}
|
||||
{% for pin in pins %}
|
||||
<p>
|
||||
{{pin}}
|
||||
</p>
|
||||
|
||||
<table border="1" cellpadding="5" cellspacing="0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Field</th>
|
||||
<th>Value</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>_id</td>
|
||||
<td>{{ pin._id }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Time</td>
|
||||
<td>{{ pin.time }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Photo</td>
|
||||
<td>{{ pin.photo }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Latitude</td>
|
||||
<td>{{ pin.lat }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Longitude</td>
|
||||
<td>{{ pin.lng }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Type of Pin</td>
|
||||
<td>{{ pin.typeofpin }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Added By</td>
|
||||
<td>{{ pin.added_by }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
//var youarehere = L.marker([latlng.lat, latlng.lng]).addTo(map);
|
||||
|
||||
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
//L.tileLayer('https://{s}.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png', {
|
||||
attribution: '© OpenStreetMap contributors'
|
||||
}).addTo(map);
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
|
||||
|
||||
</head>
|
||||
<body style="background-color: rgb(205, 243, 148); color: black;">
|
||||
<body style="background-color: rgb(205, 243, 148); color: black;overflow-y: scroll;">
|
||||
<nav style="z-index: 5; height: 7vh;">
|
||||
<ul>
|
||||
<li><h2>El Bachemapa</h2>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user