| Line 80... |
Line 80... |
| 80 |
<div id="formulaire" class="row mb-3 bloc-top">
|
80 |
<div id="formulaire" class="row mb-3 bloc-top">
|
| 81 |
<form id="form-observateur" role="form" autocomplete="on">
|
81 |
<form id="form-observateur" role="form" autocomplete="on">
|
| 82 |
<h2><?php echo $observateur['titre']; ?></h2>
|
82 |
<h2><?php echo $observateur['titre']; ?></h2>
|
| 83 |
<div id="tb-observateur" data-mode="<?php echo $conf_mode; ?>">
|
83 |
<div id="tb-observateur" data-mode="<?php echo $conf_mode; ?>">
|
| 84 |
<div class="navbar-default mb-3" id="tb-navbar">
|
84 |
<div class="navbar-default mb-3" id="tb-navbar">
|
| 85 |
<div class="nav navbar-nav navbar-right row">
|
85 |
<div class="nav navbar-nav navbar-right row control-group">
|
| 86 |
<div id="bouton-connexion" class="volet col-md-6 col-sm-8">
|
86 |
<div id="bouton-connexion" class="volet col-md-6 col-sm-8">
|
| 87 |
<label for="bouton-connexion"><?php echo $observateur['compte']; ?></label>
|
87 |
<label for="bouton-connexion"><?php echo $observateur['compte']; ?></label>
|
| 88 |
<a id="connexion" href="<?php echo $authTpl; ?>" class="btn btn-success mr-1 mb-1" taget="_blank"><?php echo $observateur['connexion']; ?></a>
|
88 |
<a id="connexion" href="<?php echo $authTpl; ?>" class="btn btn-success mr-1 mb-1" taget="_blank"><?php echo $observateur['connexion']; ?></a>
|
| 89 |
<a id="bouton-inscription" href="https://beta.tela-botanica.org/test/inscription" class="btn btn-primary mr-1 mb-1" taget="_blank"><?php echo $observateur['inscription']; ?></a>
|
89 |
<a id="bouton-inscription" href="https://beta.tela-botanica.org/test/inscription" class="btn btn-primary mr-1 mb-1" taget="_blank"><?php echo $observateur['inscription']; ?></a>
|
| 90 |
</div>
|
90 |
</div>
|
| Line 177... |
Line 177... |
| 177 |
<div class="mb-3">
|
177 |
<div class="mb-3">
|
| 178 |
<label for="geolocalisation" class="col-sm-8 obligatoire" title="<?php echo $observateur['courriel-title']; ?>">
|
178 |
<label for="geolocalisation" class="col-sm-8 obligatoire" title="<?php echo $observateur['courriel-title']; ?>">
|
| 179 |
<i class="fa fa-street-view" aria-hidden="true"></i>
|
179 |
<i class="fa fa-street-view" aria-hidden="true"></i>
|
| 180 |
<?php echo $observation['geolocalisation']; ?>
|
180 |
<?php echo $observation['geolocalisation']; ?>
|
| 181 |
</label>
|
181 |
</label>
|
| - |
|
182 |
<div class="control-group">
|
| 182 |
<div id="geoloc-datas">
|
183 |
<div id="geoloc-datas">
|
| 183 |
<input type="hidden" id="pays" name="pays" value="" style="display:none">
|
184 |
<input type="hidden" id="pays" name="pays" value="" style="display:none">
|
| 184 |
<input type="hidden" id="commune-nom" name="commune-nom" value="" style="display:none">
|
185 |
<input type="hidden" id="commune-nom" name="commune-nom" value="" style="display:none">
|
| 185 |
<input type="hidden" id="latitude" name="latitude" value="" style="display:none">
|
186 |
<input type="hidden" id="latitude" name="latitude" value="" style="display:none">
|
| 186 |
<input type="hidden" id="longitude" name="longitude" value="" style="display:none">
|
187 |
<input type="hidden" id="longitude" name="longitude" value="" style="display:none">
|
| 187 |
<input type="hidden" id="commune-insee" name="commune-insee" value="" style="display:none">
|
188 |
<input type="hidden" id="commune-insee" name="commune-insee" value="" style="display:none">
|
| 188 |
<input type="hidden" id="altitude" name="altitude" value="" style="display:none">
|
189 |
<input type="hidden" id="altitude" name="altitude" value="" style="display:none">
|
| 189 |
</div>
|
190 |
</div>
|
| 190 |
<div class="col-sm-8">
|
191 |
<div id="geoloc" class="col-sm-8">
|
| 191 |
<tb-geolocation-element
|
192 |
<tb-geolocation-element
|
| 192 |
id="tb-geolocation"
|
193 |
id="tb-geolocation"
|
| 193 |
layer='osm'
|
194 |
layer='osm'
|
| 194 |
zoom_init="4"
|
195 |
zoom_init="4"
|
| 195 |
lat_init="46.5"
|
196 |
lat_init="46.5"
|
| 196 |
lng_init="2.9"
|
197 |
lng_init="2.9"
|
| 197 |
marker="<?php echo ( $widget['type_localisation'] === 'point' ) ? 'true' : 'false' ;?>"
|
198 |
marker="<?php echo ( $widget['type_localisation'] === 'point' ) ? 'true' : 'false' ;?>"
|
| 198 |
polyline="<?php echo ( $widget['type_localisation'] === 'rue' ) ? 'true' : 'false' ;?>"
|
199 |
polyline="<?php echo ( $widget['type_localisation'] === 'rue' ) ? 'true' : 'false' ;?>"
|
| 199 |
polygon="false"
|
200 |
polygon="false"
|
| 200 |
show_lat_lng_elevation_inputs="<?php echo ( $widget['type_localisation'] === 'point' ) ? 'true' : 'false' ;?>"
|
201 |
show_lat_lng_elevation_inputs="<?php echo ( $widget['type_localisation'] === 'point' ) ? 'true' : 'false' ;?>"
|
| 201 |
osm_class_filter=""
|
202 |
osm_class_filter=""
|
| 202 |
elevation_provider="mapquest"
|
203 |
elevation_provider="mapquest"
|
| 203 |
map_quest_api_key="mG6oU5clZHRHrOSnAV0QboFI7ahnGg34"
|
204 |
map_quest_api_key="mG6oU5clZHRHrOSnAV0QboFI7ahnGg34"
|
| 204 |
>
|
205 |
>
|
| 205 |
</tb-geolocation-element>
|
206 |
</tb-geolocation-element>
|
| - |
|
207 |
</div>
|
| 206 |
</div>
|
208 |
</div>
|
| 207 |
</div>
|
209 |
</div>
|
| Line 208... |
Line 210... |
| 208 |
|
210 |
|
| 209 |
<div class="control-group">
|
211 |
<div class="control-group">
|