From ddc89af02bb4d8a8302eca86c656c817c16857e6 Mon Sep 17 00:00:00 2001 From: anonymous <anonymous> Date: Wed, 23 Jan 2019 13:18:12 +0100 Subject: [PATCH] ODPSH-28: style expandend map --- ckanext/odsh/fanstatic/odsh_spatial_query.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ckanext/odsh/fanstatic/odsh_spatial_query.js b/ckanext/odsh/fanstatic/odsh_spatial_query.js index 4673ecfb..152bd6f4 100644 --- a/ckanext/odsh/fanstatic/odsh_spatial_query.js +++ b/ckanext/odsh/fanstatic/odsh_spatial_query.js @@ -19,9 +19,12 @@ this.ckan.module('odsh-spatial-query', function ($, _) }, template: { buttons: [ + '<div id="dataset-map-edit-buttons-text">', + 'Wählen Sie mit dem rechten Quadrat Ihren gesuchten Bereich aus und bestätigen Sie mit "Anwenden"', + '</div>', '<div id="dataset-map-edit-buttons">', - '<a href="javascript:;" class="btn cancel">Abbrechen</a> ', - '<a href="javascript:;" class="btn apply disabled">Anwenden</a>', + '<a href="javascript:;" class="btn btn-arrow-right cancel">Abbrechen</a> ', + '<a href="javascript:;" class="btn btn-primary btn-arrow-right apply disabled">Anwenden</a>', '</div>' ].join('') }, @@ -134,7 +137,6 @@ this.ckan.module('odsh-spatial-query', function ($, _) rectangle: { shapeOptions: module.options.style } } }); - console.log(drawControl) L.drawLocal.draw.toolbar.buttons.rectangle='Rechteck ziehen' // Initialize the draw control map.addControl(drawControl); -- GitLab