|
3 | 3 | <g:set var="orientationClass" value="${isHorizontal ? 'col-md-6' : 'row'}"/>
|
4 | 4 | <g:set var="latValidation" value="data-validation-engine='validate[min[-90],max[90]]'"/>
|
5 | 5 | <g:set var="lngValidation" value="data-validation-engine='validate[min[-180],max[180]]'"/>
|
6 |
| -<g:set var="orientationMainClass" value="${isHorizontal ? 'row' : ''}"/> |
| 6 | +<g:set var="orientationMainClass" value="${isHorizontal ? 'row mx-1' : ''}"/> |
7 | 7 |
|
8 | 8 | <h4 data-validation-engine="validate[funcCall[validator_site_check]" data-prompt-position="inline" data-position-type="inline" data-prompt-target="error-info">
|
9 | 9 | <g:message code="geomap.heading" default="Location"/>
|
|
16 | 16 | <div class="col-md-6">
|
17 | 17 | <!-- ko template: 'site-selector-dropdown-template' -->
|
18 | 18 | <!-- /ko -->
|
19 |
| - <span id="error-info" class="margin-bottom-1"></span> |
| 19 | + <span id="error-info" class="mb-2"></span> |
20 | 20 | <m:map id="${source}Map" width="100%"/>
|
21 | 21 | </div>
|
22 | 22 | </g:if>
|
|
25 | 25 | <!-- ko template: 'site-selector-dropdown-template' -->
|
26 | 26 | <!-- /ko -->
|
27 | 27 |
|
28 |
| - <div class="row margin-bottom-1"> |
29 |
| - <span id="error-info" class="margin-bottom-1"></span> |
| 28 | + <div class="row mb-2 mx-1"> |
| 29 | + <span id="error-info" class="mb-2"></span> |
30 | 30 | <m:map id="${source}Map" width="100%"/>
|
31 | 31 | </div>
|
32 | 32 | </g:if>
|
33 | 33 |
|
34 | 34 | <div class="${orientationClass}">
|
35 |
| - <div class="col-sm-12" data-bind="visible: transients.showDataEntryFields"> |
| 35 | + <div class="${isHorizontal ? '' : 'col-12'}" data-bind="visible: transients.showDataEntryFields"> |
36 | 36 | <!-- ko if: transients.showCentroid() -->
|
37 | 37 |
|
38 | 38 | <div class="form-group row" data-bind="if: data.${source}CentroidLatitude">
|
|
141 | 141 | </div>
|
142 | 142 | </div>
|
143 | 143 |
|
144 |
| - <div class="form-group row margin-bottom-10"> |
| 144 | + <div class="form-group row mb-2"> |
145 | 145 | <div class="col-sm-3">
|
146 | 146 | </div>
|
147 | 147 | <div class="col-sm-9">
|
|
225 | 225 | <label for="bookmarkedLocations">Saved locations</label>
|
226 | 226 | </div>
|
227 | 227 | <div class="col-sm-9">
|
228 |
| - <form class="form-inline"> |
| 228 | + <form class=""> |
229 | 229 | <select name="bookmarkedLocations" id="bookmarkedLocations" class="form-control full-width">
|
230 | 230 | <option value="">-- saved locations --</option>
|
231 | 231 | </select>
|
|
247 | 247 | <textarea id="${source}Locality" type="text" data-bind="value: data.${source}Locality" readonly class="form-control form-control-sm full-width"></textarea>
|
248 | 248 | </g:if>
|
249 | 249 | <g:else>
|
250 |
| - <form class="form-inline"> |
| 250 | + <form> |
251 | 251 | <textarea id="${source}Locality" type="text" data-bind="value: data.${source}Locality" class="form-control form-control-sm full-width"></textarea>
|
252 | 252 | <g:if test="${!autoLocalitySearch}">
|
253 | 253 | <button id="reverseGeocodeLocality" class="btn btn-primary-dark margin-top-1">Search for locality match</button>
|
|
0 commit comments