mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-12-03 05:23:49 +01:00
Add styles for the mcw (Fix #51).
This commit is contained in:
@@ -268,7 +268,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_control'] = [
|
||||
['netzmacht.contao_leaflet.listeners.dca.control', 'saveLayerRelations'],
|
||||
],
|
||||
'eval' => [
|
||||
'tl_class' => 'clr',
|
||||
'tl_class' => 'leaflet-mcw leaflet-mcw-control-layers',
|
||||
'columnFields' => [
|
||||
'layer' => [
|
||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_control']['layer'],
|
||||
|
||||
@@ -810,6 +810,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = [
|
||||
'inputType' => 'multiColumnWizard',
|
||||
'options_callback' => ['netzmacht.contao_leaflet.listeners.dca.layer', 'getIcons'],
|
||||
'eval' => [
|
||||
'tl_class' => 'leaflet-mcw leaflet-mcw-amenity-icons',
|
||||
'columnFields' => [
|
||||
'amenity' => [
|
||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_layer']['amenity'],
|
||||
|
||||
@@ -195,6 +195,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_map'] = [
|
||||
'eval' => [
|
||||
'multiple' => true,
|
||||
'doNotSaveEmpty' => true,
|
||||
'tl_class' => 'leaflet-mcw leaflet-mcw-map-layers',
|
||||
'columnFields' => [
|
||||
'reference' => [
|
||||
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_map']['reference'],
|
||||
@@ -206,7 +207,6 @@ $GLOBALS['TL_DCA']['tl_leaflet_map'] = [
|
||||
'tl_class' => 'w50',
|
||||
'chosen' => true,
|
||||
'includeBlankOption' => true,
|
||||
'style' => 'width: 300px',
|
||||
],
|
||||
'sql' => "int(10) unsigned NOT NULL default '0'",
|
||||
],
|
||||
|
||||
@@ -326,6 +326,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_vector'] = [
|
||||
'inputType' => 'multiColumnWizard',
|
||||
'search' => false,
|
||||
'eval' => [
|
||||
'tl_class' => 'leaflet-mcw',
|
||||
'mandatory' => true,
|
||||
'alwaysSave' => true,
|
||||
'flatArray' => true,
|
||||
|
||||
Reference in New Issue
Block a user