mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 15:43:14 +01:00
Add missing css height for leaflet
This commit is contained in:
parent
1dca83138a
commit
1612893b17
5 changed files with 10 additions and 20 deletions
|
@ -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}
|
||||||
|
|
|
@ -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 @ <a href="http://openstreetmap.org">OpenStreetMap</a> contributors</a>',
|
attribution: 'Map data @ <a href="http://openstreetmap.org">OpenStreetMap</a> contributors</a>',
|
||||||
maxZoom: 12,
|
maxZoom: 16,
|
||||||
minZoom: 8
|
minZoom: 12
|
||||||
}
|
}
|
||||||
).addTo(map);
|
).addTo(map);
|
|
@ -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
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
|
@ -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
|
|
Loading…
Reference in a new issue