Line 45... |
Line 45... |
45 |
<?php if( $prod ): ?>
|
45 |
<?php if( $prod ): ?>
|
46 |
<?php include "analytics.html"; ?>
|
46 |
<?php include "analytics.html"; ?>
|
47 |
<?php endif; ?>
|
47 |
<?php endif; ?>
|
48 |
<!-- <link rel="icon" type="image/x-icon" href="favicon.ico" /> -->
|
48 |
<!-- <link rel="icon" type="image/x-icon" href="favicon.ico" /> -->
|
49 |
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
|
49 |
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
|
- |
|
50 |
<style>
|
- |
|
51 |
.loading::after {
|
- |
|
52 |
content:'';
|
- |
|
53 |
display: inline-block;
|
- |
|
54 |
background-image: url("<?php echo $url_base; ?>img/icones/chargement-image.gif");
|
- |
|
55 |
background-size: 1rem;
|
- |
|
56 |
height: 1rem;
|
- |
|
57 |
width: 1rem;
|
- |
|
58 |
}
|
- |
|
59 |
</style>
|
50 |
</head>
|
60 |
</head>
|
Line 51... |
Line 61... |
51 |
|
61 |
|
52 |
<body id="top" data-sq="<?php echo $url_base; ?>" data-type-loc="<?php echo $widget['type_localisation'];?>">
|
62 |
<body id="top" data-sq="<?php echo $url_base; ?>" data-type-loc="<?php echo $widget['type_localisation'];?>">
|
53 |
<?php
|
63 |
<?php
|
Line 272... |
Line 282... |
272 |
<input id="referentiel" name="referentiel" value="<?php echo $widget['referentiel']; ?>" type="hidden">
|
282 |
<input id="referentiel" name="referentiel" value="<?php echo $widget['referentiel']; ?>" type="hidden">
|
273 |
<?php endif; ?>
|
283 |
<?php endif; ?>
|
Line 274... |
Line 284... |
274 |
|
284 |
|
275 |
<div id="bloc-taxon" class="control-group">
|
285 |
<div id="bloc-taxon" class="control-group">
|
276 |
<?php $isTaxonListe = ( isset( $widget['especes']['taxons'] ) && count( (array) $widget['especes']['taxons'] ) > 0 ) ;?>
|
286 |
<?php $isTaxonListe = ( isset( $widget['especes']['taxons'] ) && count( (array) $widget['especes']['taxons'] ) > 0 ) ;?>
|
277 |
<label for="<?php echo ( !$isTaxonListe ) ? 'taxon' : 'taxon-liste';?>" class="col-sm-8">
|
287 |
<label <?php echo ( !$isTaxonListe ) ? 'id="taxon-autocomplete-label" for="taxon"' : 'for="taxon-liste"';?> class="col-sm-8">
|
278 |
<i class="fa fa-leaf" aria-hidden="true"></i>
|
288 |
<i class="fa fa-leaf" aria-hidden="true"></i>
|
279 |
<?php echo $observation['espece']; ?><?php if ( !empty( $widget['referentiel'] ) ) echo " (" . $widget['referentiel'] . ")"; ?>
|
289 |
<?php echo $observation['espece']; ?><?php if ( !empty( $widget['referentiel'] ) ) echo " (" . $widget['referentiel'] . ")"; ?>
|
280 |
</label>
|
290 |
</label>
|
281 |
<div class="col-sm-8 mb-3">
|
291 |
<div class="col-sm-8 mb-3">
|
282 |
<?php if ( $widget['type_especes'] === 'fixe' || $widget['especes']['espece_imposee'] ) : ?>
|
292 |
<?php if ( $widget['type_especes'] === 'fixe' || $widget['especes']['espece_imposee'] ) : ?>
|
283 |
<input id="taxon" name="taxon" type="text" class="form-control taxon-validation" title"" value="<?php echo $widget['especes']['nom_sci_espece_defaut']; ?>"/>
|
293 |
<input id="taxon" name="taxon" type="text" class="form-control taxon-validation" title="" value="<?php echo $widget['especes']['nom_sci_espece_defaut']; ?>"/>
|
284 |
</div>
|
294 |
</div>
|
Line 285... |
Line 295... |
285 |
</div>
|
295 |
</div>
|
286 |
|
296 |
|
Line 305... |
Line 315... |
305 |
<span for="taxon-liste" class="error" style="display: none;"><?php echo $observation['error-taxon'];?></span>
|
315 |
<span for="taxon-liste" class="error" style="display: none;"><?php echo $observation['error-taxon'];?></span>
|
306 |
<input id="taxon" name="taxon" class="form-control" type="hidden" />
|
316 |
<input id="taxon" name="taxon" class="form-control" type="hidden" />
|
307 |
</div>
|
317 |
</div>
|
308 |
</div>
|
318 |
</div>
|
309 |
<div id="taxon-input-groupe" class="control-group hidden">
|
319 |
<div id="taxon-input-groupe" class="control-group hidden">
|
310 |
<label for="taxon-autre" class="col-sm-8" title="">
|
320 |
<label id="taxon-autocomplete-label" for="taxon-autre" class="col-sm-8" title="">
|
311 |
<i class="fab fa-pagelines" aria-hidden="true"></i>
|
321 |
<i class="fab fa-pagelines" aria-hidden="true"></i>
|
312 |
<?php echo $observation['autre-espece']; ?>
|
322 |
<?php echo $observation['autre-espece']; ?>
|
313 |
</label>
|
323 |
</label>
|
314 |
<div class="col-sm-8 mb-3">
|
324 |
<div class="col-sm-8 mb-3">
|
315 |
<input id="taxon-autre" name="taxon-autre" class="form-control has-tooltip" type="text" data-toggle="tooltip" title="<?php echo $observation['espece-title']; ?>">
|
325 |
<input id="taxon-autre" name="taxon-autre" class="form-control has-tooltip" type="text" data-toggle="tooltip" title="<?php echo $observation['espece-title']; ?>">
|