Add missing css height for leaflet

This commit is contained in:
Joerg Reichert 2019-06-10 15:04:02 +02:00
parent 1dca83138a
commit 1612893b17
5 changed files with 10 additions and 20 deletions

View file

@ -17,6 +17,7 @@
@import 'foundation_and_overrides'; @import 'foundation_and_overrides';
@import 'objects/search-result'; @import 'objects/search-result';
@import 'objects/geo';
.left {float:left} .left {float:left}
.right {float:right} .right {float:right}

View file

@ -15,11 +15,11 @@ html
h3#title = 'Karte' h3#title = 'Karte'
div#map/ div#map/
javascript: javascript:
var map = L.map('map').setView([51.4437366804, 11.865234375], 9); var map = L.map('map').setView([51.3399028, 12.3742236], 12);
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
{ {
attribution: 'Map data &#64; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors</a>', attribution: 'Map data &#64; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors</a>',
maxZoom: 12, maxZoom: 16,
minZoom: 8 minZoom: 12
} }
).addTo(map); ).addTo(map);

View file

@ -6,17 +6,6 @@ html
= javascript_include_tag 'vendor/modernizr' = javascript_include_tag 'vendor/modernizr'
= csrf_meta_tags = csrf_meta_tags
= auto_discovery_link_tag(:rss, params.merge(format: :rss)) = auto_discovery_link_tag(:rss, params.merge(format: :rss))
javascript:
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//analytics.leipzig.codefor.de/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
body body
.row .row

View file

@ -10,8 +10,13 @@ web:
ELASTICSEARCH_URL: 'http://elasticsearch:9200' ELASTICSEARCH_URL: 'http://elasticsearch:9200'
elasticsearch: elasticsearch:
image: elasticsearch:5.4.3 image: elasticsearch:5.4.3
command:
- sh
- -c
- "./bin/elasticsearch-plugin install http://xbib.org/repository/org/xbib/elasticsearch/plugin/elasticsearch-analysis-decompound/5.4.3.0/elasticsearch-analysis-decompound-5.4.3.0-plugin.zip;
./bin/elasticsearch-plugin install https://github.com/royrusso/elasticsearch-HQ/zipball/master;
/docker-entrypoint.sh elasticsearch"
ports: ports:
- "9200:9200" - "9200:9200"
volumes: volumes:
- .:/apps - .:/apps
entrypoint: /apps/docker-entrypoint-es-plugins.sh

View file

@ -1,5 +0,0 @@
#!/bin/bash
./bin/elasticsearch-plugin install http://xbib.org/repository/org/xbib/elasticsearch/plugin/elasticsearch-analysis-decompound/5.4.3.0/elasticsearch-analysis-decompound-5.4.3.0-plugin.zip
exec /docker-entrypoint.sh elasticsearch