Line 21... |
Line 21... |
21 |
<!-- Bootstrap CSS -->
|
21 |
<!-- Bootstrap CSS -->
|
22 |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous" />
|
22 |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous" />
|
23 |
<!-- <link rel="stylesheet" type="text/css" href="https://resources.tela-botanica.org/bootstrap/3.1.0/css/bootstrap.min.css" /> -->
|
23 |
<!-- <link rel="stylesheet" type="text/css" href="https://resources.tela-botanica.org/bootstrap/3.1.0/css/bootstrap.min.css" /> -->
|
24 |
<!-- Fontawesome -->
|
24 |
<!-- Fontawesome -->
|
25 |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.1/css/all.css" integrity="sha384-O8whS3fhG2OnA5Kas0Y9l3cfpmYjapjI0E4theH4iuMD+pLhbf6JI0jIMfYcK3yZ" crossorigin="anonymous" />
|
25 |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.1/css/all.css" integrity="sha384-O8whS3fhG2OnA5Kas0Y9l3cfpmYjapjI0E4theH4iuMD+pLhbf6JI0jIMfYcK3yZ" crossorigin="anonymous" />
|
- |
|
26 |
<!-- Carto -->
|
- |
|
27 |
<link href="<?php echo $url_base; ?>modules/manager/squelettes/js/tb-geoloc/styles.css" rel="stylesheet" type="text/css" media="screen" />
|
26 |
<!-- STYLE MANAGER CREATION -->
|
28 |
<!-- STYLE MANAGER CREATION -->
|
27 |
<link rel="stylesheet" type="text/css" href="<?php echo $url_base;?>modules/manager/squelettes/css/manager.css" media="screen" />
|
29 |
<link rel="stylesheet" type="text/css" href="<?php echo $url_base;?>modules/manager/squelettes/css/manager.css" media="screen" />
|
Line 28... |
Line 30... |
28 |
|
30 |
|
29 |
<!-- Google Analytics -->
|
31 |
<!-- Google Analytics -->
|
30 |
<?php if ( $prod ) : ?>
|
32 |
<?php if ( $prod ) : ?>
|
31 |
<?php include "analytics.html";?>
|
33 |
<?php include "analytics.html";?>
|
- |
|
34 |
<?php endif;?>
|
- |
|
35 |
<!-- <link rel="icon" type="image/x-icon" href="favicon.ico" /> -->
|
32 |
<?php endif;?>
|
36 |
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
|
Line 33... |
Line 37... |
33 |
</head>
|
37 |
</head>
|
34 |
|
38 |
|
35 |
<body>
|
39 |
<body>
|
Line 210... |
Line 214... |
210 |
<option value="<?php echo ( isset( $widget['type_localisation'] ) && $widget['type_localisation'] === 'rue' ) ? 'point' : 'rue';?>"><?php echo ( isset( $widget['type_localisation'] ) && $widget['type_localisation'] === 'rue') ? 'point' : 'rue';?></option>
|
214 |
<option value="<?php echo ( isset( $widget['type_localisation'] ) && $widget['type_localisation'] === 'rue' ) ? 'point' : 'rue';?>"><?php echo ( isset( $widget['type_localisation'] ) && $widget['type_localisation'] === 'rue') ? 'point' : 'rue';?></option>
|
211 |
</select>
|
215 |
</select>
|
212 |
</div>
|
216 |
</div>
|
Line 213... |
Line 217... |
213 |
|
217 |
|
214 |
<div class="col-sm-12 mb-3">
|
- |
|
215 |
<label for="localisation">Zoom</label>
|
- |
|
216 |
<input type="text" name="localisation" id="localisation" class="form-control" value="<?php echo isset( $widget['localisation'] ) ? htmlspecialchars($widget['localisation'] ) : '';?>" />
|
- |
|
217 |
</div>
|
- |
|
218 |
|
- |
|
219 |
<div class="col-sm-12 mb-3">
|
218 |
<div class="col-sm-12 mb-3">
|
220 |
<label for="milieux">Milieux</label>
|
219 |
<label for="milieux">Milieux</label>
|
221 |
<p class="message">
|
220 |
<p class="message">
|
222 |
Liste de milieux séparés par un ";".
|
221 |
Liste de milieux séparés par un ";".
|
223 |
<br>
|
222 |
<br>
|
Line 270... |
Line 269... |
270 |
<div class="col-sm-12 mb-3">
|
269 |
<div class="col-sm-12 mb-3">
|
271 |
<a href="<?php echo $url_base;?>modules/manager/squelettes/img/fichier_type/especes.csv" class="button fichier-type" download><i class="fas fa-file-alt" aria-hidden="true"></i> Fichier type</a>
|
270 |
<a href="<?php echo $url_base;?>modules/manager/squelettes/img/fichier_type/especes.csv" class="button fichier-type" download><i class="fas fa-file-alt" aria-hidden="true"></i> Fichier type</a>
|
272 |
</div>
|
271 |
</div>
|
273 |
</div><!-- end #profile-details-fields-section -->
|
272 |
</div><!-- end #profile-details-fields-section -->
|
Line -... |
Line 273... |
- |
|
273 |
|
- |
|
274 |
<!--localisation-->
|
274 |
|
275 |
<input type="hidden" name="localisation" id="localisation" value="<?php echo isset($widget['localisation']) ? htmlspecialchars($widget['localisation']) : '';?>">
|
275 |
<!--Submit-->
|
276 |
<!--Submit-->
|
276 |
<div class="submit complete-registration" id="submit-button">
|
277 |
<div class="submit complete-registration" id="submit-button">
|
277 |
<button href="#" type="submit" name="signup_submit" id="signup_submit" class="button" target="" title="Soumettre le nouveau widget" disabled="disabled"><i class="fas fa-trophy" aria-hidden="true"></i> Terminer</button>
|
278 |
<button href="#" type="submit" name="signup_submit" id="signup_submit" class="button" target="" title="Soumettre le nouveau widget" disabled="disabled"><i class="fas fa-trophy" aria-hidden="true"></i> Terminer</button>
|
278 |
</div>
|
279 |
</div>
|
Line 279... |
Line 280... |
279 |
<!--Submit-->
|
280 |
<!--Submit-->
|
Line -... |
Line 281... |
- |
|
281 |
|
- |
|
282 |
</form><!-- end #new-widget-form -->
|
- |
|
283 |
|
- |
|
284 |
<form id="form-geolocalisation" autocomplete="off">
|
- |
|
285 |
<div class="row mb-3">
|
- |
|
286 |
<label for="geolocalisation" class="obligatoire has-tooltip col-sm-12" data-toggle="tooltip" title="">
|
- |
|
287 |
Geolocalisation : Déterminer un point gps (facultatif)
|
- |
|
288 |
</label>
|
- |
|
289 |
</div>
|
- |
|
290 |
<div id="geoloc" class="geoloc">
|
- |
|
291 |
<tb-geolocation-element
|
- |
|
292 |
id="tb-geolocation"
|
- |
|
293 |
layer='osm'
|
- |
|
294 |
zoom_init="4"
|
- |
|
295 |
lat_init="46.5"
|
- |
|
296 |
lng_init="2.9"
|
- |
|
297 |
marker="true"
|
- |
|
298 |
polyline="false"
|
- |
|
299 |
polygon="false"
|
- |
|
300 |
show_lat_lng_elevation_inputs="true"
|
- |
|
301 |
osm_class_filter=""
|
- |
|
302 |
elevation_provider="mapquest"
|
- |
|
303 |
map_quest_api_key="mG6oU5clZHRHrOSnAV0QboFI7ahnGg34"
|
- |
|
304 |
>
|
- |
|
305 |
</tb-geolocation-element>
|
- |
|
306 |
</div>
|
- |
|
307 |
<div class="control-group mt-3 mb-3">
|
- |
|
308 |
<div class="row">
|
- |
|
309 |
<div id="geoloc-datas" class="col-sm-12 row">
|
- |
|
310 |
<div class="col-sm-6 mb-3">
|
- |
|
311 |
<label for="latitude">Latitude</label>
|
- |
|
312 |
<input type="text" class="form-control latitude" id="latitude" name="latitude" pattern="-?(8[0-5]|[1-7]?[0-9])(,|.)[0-9]{5}" title="Nombre décimal de 6 à 8 chiffres au total, dont exactement 5 chiffres après la virgule" placeholder="+/- 0.00000 à 90.00000" value="">
|
- |
|
313 |
</div>
|
- |
|
314 |
<div class="col-sm-6 mb-3">
|
- |
|
315 |
<label for="longitude">Longitude</label>
|
- |
|
316 |
<input type="text" class="form-control longitude" id="longitude" name="longitude" pattern="-?(1(80|[0-7][0-9])|([1-9]?[0-9]))(,|.)[0-9]{5}" title="Nombre décimal de 6 à 8 chiffres au total, dont exactement 5 chiffres après la virgule" placeholder="+/- 0.00000 à 180.00000" value="">
|
- |
|
317 |
</div>
|
- |
|
318 |
<div class="col-sm-12 mb-3">
|
- |
|
319 |
<label for="zoom">Zoom (indépendant des coordonnées)</label>
|
- |
|
320 |
<p class="message">
|
- |
|
321 |
Quelques exemples de précision zoom :<br>
|
- |
|
322 |
Europe : 4, France : 5, région : 7, département : 9, ville : 12, lieu-dit/quartier : 15, rue : 18 (= max).
|
- |
|
323 |
</p>
|
- |
|
324 |
<input type="text" name="zoom" id="zoom" class="form-control" pattern="(0?[1-9]|(1[0-8]))" title="Nombre de 1 à 18" placeholder="1 à 18" value="" />
|
- |
|
325 |
</div>
|
- |
|
326 |
</div>
|
- |
|
327 |
</div>
|
280 |
|
328 |
</div>
|
281 |
</form><!-- end #new-widget-form -->
|
329 |
</form><!-- end #form-geolocalisation -->
|
282 |
|
330 |
|
283 |
<form id="new-fields" autocomplete="off">
|
331 |
<form id="new-fields" autocomplete="off">
|
284 |
<h2>Ajouter des champs</h2>
|
332 |
<h2>Ajouter des champs</h2>
|
285 |
<p class="message">
|
333 |
<p class="message">
|
286 |
<i class="fa fa-exclamation-triangle" aria-hidden="true" style="color:#ff5d55"></i>
|
334 |
<i class="fa fa-exclamation-triangle" aria-hidden="true" style="color:#ff5d55"></i>
|
287 |
Attention :
|
335 |
Attention :
|
288 |
<br>
|
336 |
<br>
|
289 |
<i class="fa fa-bolt" aria-hidden="true" style="color:#B3C954"></i>
|
337 |
<i class="fa fa-bolt" aria-hidden="true" style="color:#B3C954"></i>
|
290 |
Le bouton "Valider" sert à valider les champs supplémentaires uniquement
|
338 |
Le bouton "Valider" sert à valider les champs supplémentaires uniquement
|
291 |
<br>
|
339 |
<br>
|
292 |
<i class="fas fa-trophy" aria-hidden="true" style="color:#B3C954"></i>
|
340 |
<i class="fas fa-trophy" aria-hidden="true" style="color:#B3C954"></i>
|
Line 293... |
Line 341... |
293 |
Le bouton "Terminer" sert à envoyer la totalité du nouveau widget
|
341 |
Le bouton "Terminer" sert à envoyer la totalité du nouveau widget
|
294 |
</p>
|
342 |
</p>
|
295 |
</form><!-- #new-fields = fomulaire oû viennent s'insérer les champs supplémentaires -->
|
343 |
</form><!-- #new-fields = fomulaire oû viennent s'insérer les champs supplémentaires -->
|
Line 387... |
Line 435... |
387 |
|
435 |
|
Line 388... |
Line 436... |
388 |
<div id="zone-observation" class="row">
|
436 |
<div id="zone-observation" class="row">
|
389 |
|
437 |
|
390 |
<div class="col-md-6 row">
|
438 |
<div class="col-md-6 row">
|
391 |
<div class="col-md-12">
|
439 |
<div class="col-md-12">
|
392 |
<label for="geolocalisation" id="label-geolocalisation" title="Veuillez saisir votre adresse courriel.">
|
440 |
<label for="geolocalisation-previs" id="label-geolocalisation" title="Veuillez saisir votre adresse courriel.">
|
393 |
<i class="fa fa-envelope"></i> Geolocalisation
|
441 |
<i class="fa fa-envelope"></i> Geolocalisation
|
394 |
</label>
|
442 |
</label>
|
395 |
<div id="geolocalisation">
|
443 |
<div id="geolocalisation-previs">
|
396 |
<img src="<?php echo $url_base;?>/modules/manager/squelettes/img/geoloc/geoloc.png" alt="geolocalisation" width="90%">
|
444 |
<img src="<?php echo $url_base;?>modules/manager/squelettes/img/geoloc/geoloc.png" alt="geolocalisation" width="90%">
|
Line 397... |
Line 445... |
397 |
</div>
|
445 |
</div>
|
398 |
</div>
|
446 |
</div>
|
Line 492... |
Line 540... |
492 |
<button type="button" class="btn btn-secondary" data-dismiss="modal">Fermer</button>
|
540 |
<button type="button" class="btn btn-secondary" data-dismiss="modal">Fermer</button>
|
493 |
</div>
|
541 |
</div>
|
494 |
</div>
|
542 |
</div>
|
495 |
</div>
|
543 |
</div>
|
496 |
</div>
|
544 |
</div>
|
- |
|
545 |
<!-- carto -->
|
- |
|
546 |
<script type="text/javascript" src="<?php echo $url_base; ?>modules/manager/squelettes/js/tb-geoloc/tb-geoloc-lib-app.js"></script>
|
497 |
<!-- Jquery -->
|
547 |
<!-- Jquery -->
|
498 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/1.11.1/jquery-1.11.1.min.js"></script>
|
548 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/1.11.1/jquery-1.11.1.min.js"></script>
|
499 |
|
- |
|
500 |
<!-- Jquery UI : nécessaire pour le minicalendrier et l'auto-complétion -->
|
549 |
<!-- Jquery UI : nécessaire pour le minicalendrier et l'auto-complétion -->
|
501 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/jquery-ui/1.11.0/js/jquery-ui.min.js"></script>
|
550 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/jquery-ui/1.11.0/js/jquery-ui.min.js"></script>
|
502 |
<!-- <script type="text/javascript" src="https://resources.tela-botanica.org/jquery/jquery-ui/1.11.0/js/datepicker-fr.js"></script> -->
|
551 |
<!-- <script type="text/javascript" src="https://resources.tela-botanica.org/jquery/jquery-ui/1.11.0/js/datepicker-fr.js"></script> -->
|
503 |
<!-- Jquery Plugins -->
|
552 |
<!-- Jquery Plugins -->
|
504 |
<!-- Jquery Validate : nécessaire pour la validation des formulaires -->
|
553 |
<!-- Jquery Validate : nécessaire pour la validation des formulaires -->
|