65,223 → 65,225 |
</head> |
|
<body> |
<h1><img src="<?=$url_base?>/modules/saisie/squelettes/sauvages/images/logos/sdmr.png" alt="Sauvages de ma rue : Saisie des observations"/></h1> |
|
<form id="saisie-obs" action="#" enctype="multipart/form-data" autocomplete="on"> |
<fieldset id="partie-identification"> |
<legend>Observateur</legend> |
<ul> |
<li> |
<label for="prenom">Prénom</label> |
<input id="prenom" name="prenom" type="text" value=""/> |
</li> |
<li> |
<label for="nom">Nom</label> |
<input id="nom" name="nom" type="text" value=""/> |
</li> |
<li> |
<label for="courriel" class="oblig" |
title="Veuillez saisir votre adresse courriel. Elle ne sera pas utilisée à des fins commerciales."> |
<strong class="obligatoire">*</strong> Courriel |
</label> |
<input id="courriel" name="courriel" type="text" value=""/> |
</li> |
<li> |
<label for="courriel_confirmation" class="oblig" title="Veuillez saisir confirmer votre adresse courriel"> |
<strong class="obligatoire">*</strong> Courriel (confirmation) |
</label> |
<input id="courriel_confirmation" name="courriel_confirmation" type="text" value=""/> |
</li> |
</ul> |
</fieldset> |
|
<h2>Fiche de terrain</h2> |
<div id="zone-fiche-terrain"> |
<fieldset id="partie-date"> |
<legend>Date du relevé</legend> |
<div id="zone-appli"> |
<h1><img src="<?=$url_base?>/modules/saisie/squelettes/sauvages/images/logos/sdmr.png" alt="Sauvages de ma rue : Saisie des observations"/></h1> |
|
<form id="saisie-obs" action="#" enctype="multipart/form-data" autocomplete="on"> |
<fieldset id="partie-identification"> |
<legend>Observateur</legend> |
<ul> |
<li> |
<label for="date" title="Veuillez indiquer la date du relevé au format jj/mm/aaaa"> |
<strong class="obligatoire">*</strong> Date du relevé |
</label> |
<input id="date" name="date" type="text" value="" /> |
<label for="prenom">Prénom</label> |
<input id="prenom" name="prenom" type="text" value=""/> |
</li> |
</ul> |
</fieldset> |
<fieldset id="partie-station"> |
<legend>Lieu du relevé</legend> |
<ul> |
<li> |
<ul> |
<li> |
<label for="rue" title="Indiquer le nom de la rue"> |
<strong class="obligatoire">*</strong> |
Rue |
</label> |
<input id="rue" name="rue" type="text" value="" /> |
</li> |
<li> |
<ul id="rue_numeros"> |
<li> |
<label for="rue_num_debut" title="Indiquer le numéro de début de la rue"> |
<strong class="obligatoire">*</strong> |
N° début |
</label> |
<input id="rue_num_debut" name="rue_num_debut" type="text" value="" /> |
</li> |
<li> |
<label for="rue_num_fin" title="Indiquer le numéro de fin de la rue"> |
<strong class="obligatoire">*</strong> |
N° fin |
</label> |
<input id="rue_num_fin" name="rue_num_fin" type="text" value="" /> |
</li> |
</ul> |
<hr class="nettoyage" /> |
</li> |
<li> |
<label for="rue_cote" title="Choisissez un type de côté de rue"> |
<strong class="obligatoire">*</strong> |
Côté |
</label> |
<select id="rue_cote" name="rue_cote"> |
<option value="">Sélectionner un type de côté</option> |
<option value="pair">Pair</option> |
<option value="impair">Impair</option> |
<option value="2cotes">Les deux</option> |
</select> |
</li> |
</ul> |
<label for="nom">Nom</label> |
<input id="nom" name="nom" type="text" value=""/> |
</li> |
</ul> |
</fieldset> |
<fieldset id="partie-observation"> |
<legend>Observations</legend> |
<ul> |
<li> |
<label for="taxon" title="Choisissez une espèce"> |
<strong class="obligatoire">*</strong> |
Espèce |
<label for="courriel" class="oblig" |
title="Veuillez saisir votre adresse courriel. Elle ne sera pas utilisée à des fins commerciales."> |
<strong class="obligatoire">*</strong> Courriel |
</label> |
<select id="taxon" name="taxon"> |
<option value="">Sélectionner un taxon</option> |
<?php foreach ($taxons as $taxon) :?> |
<option value="<?=$taxon['num_nom_sel']?>" |
title="<?=$taxon['nom_sel'].($taxon['nom_fr_autre'] != '' ? ' - '.$taxon['nom_fr_autre'] : '' )?>"> |
<?=$taxon['nom_fr']?> |
</option> |
<?php endforeach; ?> |
</select> |
<input id="courriel" name="courriel" type="text" value=""/> |
</li> |
<li> |
<label for="liste-milieux" title="Veuillez sélectionner un milieu"> |
<strong class="obligatoire">*</strong> |
Milieu |
<label for="courriel_confirmation" class="oblig" title="Veuillez saisir confirmer votre adresse courriel"> |
<strong class="obligatoire">*</strong> Courriel (confirmation) |
</label> |
<ul id="liste-milieux"> |
<?php foreach ($milieux as $milieu => $description) : ?> |
<li> |
<input type="radio" class="milieu" name="milieu" value="<?=$milieu?>" |
<?=($description != '') ? 'title="'.$description.'"': '' ?>/> |
<?=$milieu?> |
</li> |
<?php endforeach; ?> |
</ul> |
<hr class="nettoyage" /> |
<input id="courriel_confirmation" name="courriel_confirmation" type="text" value=""/> |
</li> |
<li> |
<label for="map_canvas" class="oblig" title="Veuillez localiser l'observation"> |
<strong class="obligatoire">*</strong> Géolocalisation |
</label> |
</li> |
<li id="map-canvas"></li> |
<li> |
<label for="coordonnees-geo"> |
<a href="#" class="afficher-coord">Afficher</a> |
<a href="#" class="afficher-coord" style="display:none;">Cacher</a> |
Les coordonnées géographiques |
<span id="lat-lon-info" class="info" |
title="Système géodésique mondial, révision de 1984 - Coordonnées non projetées"> |
(WGS84) |
</span> |
</label> |
<ul id="coordonnees-geo" style="display:none;"> |
<li id="coord-lat"> |
<label for="latitude">Latitude</label> |
<input id="latitude" name="latitude" type="text" value=""/> |
</li> |
<li id="coord-lng"> |
<label for="longitude">Longitude</label> |
<input id="longitude" name="longitude" type="text" value=""/> |
</li> |
<li id="info-commune"> |
<label for="marqueur-commune">Commune</label> |
<span id="marqueur-commune"> |
<span id="commune-nom" class="commune-info"></span> |
(<span id="commune-code-insee" class="commune-info" title="Code INSEE de la commune"></span>) |
</span> |
</li> |
<li> |
<input id="geolocaliser" type="button" value="Voir sur la carte"/> |
</li> |
</ul> |
</li> |
<li> |
<hr class="nettoyage" /> |
</li> |
<li> |
<label for="notes">Notes</label> |
<textarea id="notes" name="notes" rows="3" cols="4"></textarea> |
</li> |
</ul> |
</fieldset> |
</div><!-- zone-fiche-terrain--> |
</form> |
|
<div id="zone-fiche-terrain-photo"> |
<form id="form-upload" action="<?=$url_base?>saisie?projet=sauvages&service=upload-image" |
method="post" enctype="multipart/form-data"> |
<fieldset id="partie-photo"> |
<legend>Ajouter une photo</legend> |
<p id="miniature-info" class="discretion">La photo doit être au format JPEG et ne doit pas excéder 5Mo.</p> |
<input type="file" id="fichier" name="fichier" accept="image/jpeg"/> |
<input type="hidden" name="MAX_FILE_SIZE" value="5242880"/> |
<p id="miniature-msg"> </p> |
<div id="miniature"></div> |
<button id="effacer-miniature" type="button" style="display:none;">Effacer</button> |
</fieldset> |
</form> |
|
<div> |
<button id="ajouter-obs" type="button">Ajouter</button> |
</div> |
</div><!-- zone-fiche-terrain-photo --> |
<h2>Fiche de terrain</h2> |
<div id="zone-fiche-terrain"> |
<fieldset id="partie-date"> |
<legend>Date du relevé</legend> |
<ul> |
<li> |
<label for="date" title="Veuillez indiquer la date du relevé au format jj/mm/aaaa"> |
<strong class="obligatoire">*</strong> Date du relevé |
</label> |
<input id="date" name="date" type="text" value="" /> |
</li> |
</ul> |
</fieldset> |
<fieldset id="partie-station"> |
<legend>Lieu du relevé</legend> |
<ul> |
<li> |
<ul> |
<li> |
<label for="rue" title="Indiquer le nom de la rue"> |
<strong class="obligatoire">*</strong> |
Rue |
</label> |
<input id="rue" name="rue" type="text" value="" /> |
</li> |
<li> |
<ul id="rue_numeros"> |
<li> |
<label for="rue_num_debut" title="Indiquer le numéro de début de la rue"> |
<strong class="obligatoire">*</strong> |
N° début |
</label> |
<input id="rue_num_debut" name="rue_num_debut" type="text" value="" /> |
</li> |
<li> |
<label for="rue_num_fin" title="Indiquer le numéro de fin de la rue"> |
<strong class="obligatoire">*</strong> |
N° fin |
</label> |
<input id="rue_num_fin" name="rue_num_fin" type="text" value="" /> |
</li> |
</ul> |
<hr class="nettoyage" /> |
</li> |
<li> |
<label for="rue_cote" title="Choisissez un type de côté de rue"> |
<strong class="obligatoire">*</strong> |
Côté |
</label> |
<select id="rue_cote" name="rue_cote"> |
<option value="">Sélectionner un type de côté</option> |
<option value="pair">Pair</option> |
<option value="impair">Impair</option> |
<option value="2cotes">Les deux</option> |
</select> |
</li> |
</ul> |
</li> |
</ul> |
</fieldset> |
<fieldset id="partie-observation"> |
<legend>Observations</legend> |
<ul> |
<li> |
<label for="taxon" title="Choisissez une espèce"> |
<strong class="obligatoire">*</strong> |
Espèce |
</label> |
<select id="taxon" name="taxon"> |
<option value="">Sélectionner un taxon</option> |
<?php foreach ($taxons as $taxon) :?> |
<option value="<?=$taxon['num_nom_sel']?>" |
title="<?=$taxon['nom_sel'].($taxon['nom_fr_autre'] != '' ? ' - '.$taxon['nom_fr_autre'] : '' )?>"> |
<?=$taxon['nom_fr']?> |
</option> |
<?php endforeach; ?> |
</select> |
</li> |
<li> |
<label for="liste-milieux" title="Veuillez sélectionner un milieu"> |
<strong class="obligatoire">*</strong> |
Milieu |
</label> |
<ul id="liste-milieux"> |
<?php foreach ($milieux as $milieu => $description) : ?> |
<li> |
<input type="radio" class="milieu" name="milieu" value="<?=$milieu?>" |
<?=($description != '') ? 'title="'.$description.'"': '' ?>/> |
<?=$milieu?> |
</li> |
<?php endforeach; ?> |
</ul> |
<hr class="nettoyage" /> |
</li> |
<li> |
<label for="map_canvas" class="oblig" title="Veuillez localiser l'observation"> |
<strong class="obligatoire">*</strong> Géolocalisation |
</label> |
</li> |
<li id="map-canvas"></li> |
<li> |
<label for="coordonnees-geo"> |
<a href="#" class="afficher-coord">Afficher</a> |
<a href="#" class="afficher-coord" style="display:none;">Cacher</a> |
Les coordonnées géographiques |
<span id="lat-lon-info" class="info" |
title="Système géodésique mondial, révision de 1984 - Coordonnées non projetées"> |
(WGS84) |
</span> |
</label> |
<ul id="coordonnees-geo" style="display:none;"> |
<li id="coord-lat"> |
<label for="latitude">Latitude</label> |
<input id="latitude" name="latitude" type="text" value=""/> |
</li> |
<li id="coord-lng"> |
<label for="longitude">Longitude</label> |
<input id="longitude" name="longitude" type="text" value=""/> |
</li> |
<li id="info-commune"> |
<label for="marqueur-commune">Commune</label> |
<span id="marqueur-commune"> |
<span id="commune-nom" class="commune-info"></span> |
(<span id="commune-code-insee" class="commune-info" title="Code INSEE de la commune"></span>) |
</span> |
</li> |
<li> |
<input id="geolocaliser" type="button" value="Voir sur la carte"/> |
</li> |
</ul> |
</li> |
<li> |
<hr class="nettoyage" /> |
</li> |
<li> |
<label for="notes">Notes</label> |
<textarea id="notes" name="notes" rows="3" cols="4"></textarea> |
</li> |
</ul> |
</fieldset> |
</div><!-- zone-fiche-terrain--> |
</form> |
|
<!-- Affiche le tableau récapitualif des observations ajoutées --> |
<div id="zone-liste-obs"> |
<form action="#" > |
<fieldset id="partie-preview"> |
<legend>Liste des observations à transmettre</legend> |
<table id="liste-obs"> |
<thead> |
<tr> |
<th>N°</th> |
<th>Date</th> |
<th>Adresse</th> |
<th>Nom</th> |
<th>Milieu</th> |
<th title="Latitude / Longitude">Lat./Long.</th> |
<th>Photo</th> |
<th>Notes</th> |
<th></th> |
</tr> |
</thead> |
<tbody></tbody> |
</table> |
<button id="transmettre-obs" type="button">Transmettre</button> |
</fieldset> |
</form> |
</div> <!-- zone-liste-obs : wrap3 --> |
<div id="zone-fiche-terrain-photo"> |
<form id="form-upload" action="<?=$url_base?>saisie?projet=sauvages&service=upload-image" |
method="post" enctype="multipart/form-data"> |
<fieldset id="partie-photo"> |
<legend>Ajouter une photo</legend> |
<p id="miniature-info" class="discretion">La photo doit être au format JPEG et ne doit pas excéder 5Mo.</p> |
<input type="file" id="fichier" name="fichier" accept="image/jpeg"/> |
<input type="hidden" name="MAX_FILE_SIZE" value="5242880"/> |
<p id="miniature-msg"> </p> |
<div id="miniature"></div> |
<button id="effacer-miniature" type="button" style="display:none;">Effacer</button> |
</fieldset> |
</form> |
|
<div> |
<button id="ajouter-obs" type="button">Ajouter</button> |
</div> |
</div><!-- zone-fiche-terrain-photo --> |
|
<!-- Affiche le tableau récapitualif des observations ajoutées --> |
<div id="zone-liste-obs"> |
<form action="#" > |
<fieldset id="partie-preview"> |
<legend>Liste des observations à transmettre</legend> |
<table id="liste-obs"> |
<thead> |
<tr> |
<th>N°</th> |
<th>Date</th> |
<th>Adresse</th> |
<th>Nom</th> |
<th>Milieu</th> |
<th title="Latitude / Longitude">Lat./Long.</th> |
<th>Photo</th> |
<th>Notes</th> |
<th></th> |
</tr> |
</thead> |
<tbody></tbody> |
</table> |
<button id="transmettre-obs" type="button">Transmettre</button> |
</fieldset> |
</form> |
</div> <!-- zone-liste-obs : wrap3 --> |
</div> |
|
<!-- Messages d'erreur du formulaire--> |
<div id="dialogue-bloquer-copier-coller" style="display: none;" title="Information copier/coller"> |