mirror of
https://github.com/netzmacht/contao-leaflet-geocode-widget.git
synced 2025-11-28 11:43:43 +01:00
Wrap widget by extra wizard div (Fix #1).
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.5.0",
|
"php": ">=5.5.0",
|
||||||
"contao/core-bundle": "~4.3",
|
"contao/core-bundle": "^4.4.2",
|
||||||
"contao-community-alliance/composer-plugin": "~2.4 || ~3.0",
|
"contao-community-alliance/composer-plugin": "~2.4 || ~3.0",
|
||||||
"netzmacht/contao-leaflet-libraries": "~1.0"
|
"netzmacht/contao-leaflet-libraries": "~1.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$GLOBALS['TL_CSS'][] = 'assets/leaflet/libs/leaflet/leaflet.css';
|
$GLOBALS['TL_CSS'][] = 'assets/leaflet/libs/leaflet/leaflet.css';
|
||||||
$GLOBALS['TL_CSS'][] = 'assets/leaflet/libs/control-geocoder/Control.Geocoder.css';
|
$GLOBALS['TL_CSS'][] = 'assets/leaflet/libs/control-geocoder/Control.Geocoder.css';
|
||||||
|
|
||||||
$GLOBALS['TL_JAVASCRIPT'][] = 'assets/leaflet/libs/leaflet/leaflet.js';
|
$GLOBALS['TL_JAVASCRIPT'][] = 'assets/leaflet/libs/leaflet/leaflet.js';
|
||||||
$GLOBALS['TL_JAVASCRIPT'][] = 'assets/leaflet/libs/control-geocoder/Control.Geocoder.js';
|
$GLOBALS['TL_JAVASCRIPT'][] = 'assets/leaflet/libs/control-geocoder/Control.Geocoder.js';
|
||||||
@@ -9,15 +9,17 @@ $GLOBALS['TL_JAVASCRIPT'][] = 'bundles/leafletgeocodewidget/js/geocode.widget.js
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<input type="text"
|
<div class="wizard">
|
||||||
name="<?= $this->name ?>"
|
<input type="text"
|
||||||
id="ctrl_<?= $this->id ?>"
|
name="<?= $this->name ?>"
|
||||||
class="tl_text tl_leaflet_geocode<?= $this->class ?>"
|
id="ctrl_<?= $this->id ?>"
|
||||||
value="<?= $this->value ?>"<?= $this->attributes ?>
|
class="tl_text tl_leaflet_geocode<?= $this->class ?>"
|
||||||
onfocus="Backend.getScrollOffset()"
|
value="<?= $this->value ?>"<?= $this->attributes ?>
|
||||||
>
|
onfocus="Backend.getScrollOffset()"
|
||||||
|
>
|
||||||
|
|
||||||
<img src="bundles/leafletgeocodewidget/img/map.png" id="ctrl_<?= $this->id ?>_toggle">
|
<img src="bundles/leafletgeocodewidget/img/map.png" id="ctrl_<?= $this->id ?>_toggle">
|
||||||
|
</div>
|
||||||
|
|
||||||
<?= $this->wizard ?>
|
<?= $this->wizard ?>
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
Reference in New Issue
Block a user