forked from edward/owl-map
Update some versions
This commit is contained in:
parent
47e1280269
commit
d4625fafa1
|
@ -4,9 +4,9 @@
|
||||||
<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" />
|
||||||
<title>Wikidata items linked to OSM</title>
|
<title>Wikidata items linked to OSM</title>
|
||||||
<link rel="stylesheet" href="https://unpkg.com/bootstrap@5.0.1/dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="https://unpkg.com/bootstrap@5.1.3/dist/css/bootstrap.min.css">
|
||||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css">
|
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css">
|
||||||
<link rel="stylesheet" href="https://unpkg.com/fork-awesome@1.1.7/css/fork-awesome.min.css">
|
<link rel="stylesheet" href="https://unpkg.com/fork-awesome@1.2.0/css/fork-awesome.min.css">
|
||||||
<link rel="stylesheet" href="https://unpkg.com/leaflet-extra-markers@1.2.1/dist/css/leaflet.extra-markers.min.css">
|
<link rel="stylesheet" href="https://unpkg.com/leaflet-extra-markers@1.2.1/dist/css/leaflet.extra-markers.min.css">
|
||||||
</head>
|
</head>
|
||||||
{% from "navbar.html" import navbar with context %}
|
{% from "navbar.html" import navbar with context %}
|
||||||
|
@ -14,16 +14,18 @@
|
||||||
{% block nav %}{{ navbar() }}{% endblock %}
|
{% block nav %}{{ navbar() }}{% endblock %}
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|
||||||
<script src="https://unpkg.com/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin="anonymous"></script>
|
<script src="https://unpkg.com/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import { createApp } from "https://cdn.skypack.dev/vue@^3.0.11";
|
import { createApp } from "https://cdn.skypack.dev/vue@^3.2.26";
|
||||||
import App from {{ url_for('static', filename='snowpack/App.vue.js') | tojson }};
|
import App from {{ url_for('static', filename='snowpack/App.vue.js') | tojson }};
|
||||||
|
|
||||||
const props = {
|
const props = {
|
||||||
startLat: {{ lat }},
|
startLat: {{ lat }},
|
||||||
startLon: {{ lon }},
|
startLon: {{ lon }},
|
||||||
startZoom: {{ zoom }},
|
startZoom: {{ zoom }},
|
||||||
startRadius: {{ radius | tojson }},
|
startRadius: {{ (radius or None) | tojson }},
|
||||||
|
startItem: {{ (qid or None) | tojson }},
|
||||||
|
startItemTypeFilter: {{ (item_type_filter or []) | tojson }},
|
||||||
defaultComment: {{ config.DEFAULT_COMMENT | tojson }},
|
defaultComment: {{ config.DEFAULT_COMMENT | tojson }},
|
||||||
username: {{ username | tojson }},
|
username: {{ username | tojson }},
|
||||||
startMode: {{ mode | tojson }},
|
startMode: {{ mode | tojson }},
|
||||||
|
|
Loading…
Reference in a new issue