--- a/src/pyams_gis/widget/templates/geoarea-input.pt Mon Jul 09 13:41:58 2018 +0200
+++ b/src/pyams_gis/widget/templates/geoarea-input.pt Tue Jul 10 11:17:42 2018 +0200
@@ -6,17 +6,18 @@
data-ams-plugin-pyams_gis-src tales:resource_path('pyams_gis:pyams_gis')"
data-ams-plugin-pyams_gis-async="false">
<div class="col-md-6 pull-right">
- <button class="btn" tal:attributes="href string:#modal_dialog_${name}" data-toggle="modal">
+ <div class="btn btn-default bg-color-silverLight"
+ tal:attributes="href string:#modal_dialog_${name}" data-toggle="modal">
<i class="fa fa-fw fa-lg fa-map-marker hint opaque align-base"
data-ams-hint-gravity="se" data-ams-hint-offset="10"
title="Select area from map" i18n:attributes="title"></i>
- </button>
- <button class="btn"
+ </div>
+ <div class="btn btn-default bg-color-silverLight"
data-ams-click-handler="PyAMS_GIS.area.clear">
<i class="fa fa-fw fa-lg fa-trash hint opaque align-base"
data-ams-hint-gravity="se" data-ams-hint-offset="10"
title="Remove area settings" i18n:attributes="title"></i>
- </button>
+ </div>
<div id="modal_dialog" class="modal fade"
tal:attributes="id string:modal_dialog_${name}"
data-ams-events-handlers='{"show.bs.modal": "PyAMS_GIS.area.init"}'>
--- a/src/pyams_gis/widget/templates/geopoint-input.pt Mon Jul 09 13:41:58 2018 +0200
+++ b/src/pyams_gis/widget/templates/geopoint-input.pt Tue Jul 10 11:17:42 2018 +0200
@@ -6,17 +6,18 @@
data-ams-plugin-pyams_gis-src tales:resource_path('pyams_gis:pyams_gis');"
data-ams-plugin-pyams_gis-async="false">
<div class="col-md-6 pull-right">
- <button class="btn" tal:attributes="href string:#modal_dialog_${name}" data-toggle="modal">
+ <div class="btn btn-default bg-color-silverLight"
+ tal:attributes="href string:#modal_dialog_${name}" data-toggle="modal">
<i class="fa fa-fw fa-lg fa-map-marker hint opaque align-base"
data-ams-hint-gravity="se" data-ams-hint-offset="10"
title="Select location from map" i18n:attributes="title"></i>
- </button>
- <button class="btn"
+ </div>
+ <div class="btn btn-default bg-color-silverLight"
data-ams-click-handler="PyAMS_GIS.position.clear">
<i class="fa fa-fw fa-lg fa-trash hint opaque align-base"
data-ams-hint-gravity="se" data-ams-hint-offset="10"
title="Remove position settings" i18n:attributes="title"></i>
- </button>
+ </div>
<div id="modal_dialog" class="modal fade"
tal:attributes="id string:modal_dialog_${name}"
data-ams-events-handlers='{"show.bs.modal": "PyAMS_GIS.position.init"}'>