Rev 59 | Rev 165 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<!-- ODS_SAISIE - DEBUT MODIFICATION STATION -->
<div id="saisie_station">
<h2 class="etape"> Modification de la station <?= $infos_station['nom'] ?> </h2>
<form class="form_saisie" action="" method="post" id="form_modif_station">
<div class="element_formulaire">
<span class="element_formulaire element_formulaire_en_ligne">
<label for="station_nom">Commune / ville :</label>
<input type="text" name="station_commune" id="station_commune" value="<?= $infos_station['commune']; ?>" />
</span>
<span class="element_formulaire element_formulaire_en_ligne">
<label for="station_nom">Milieu :</label>
<select name="station_milieu" id="station_milieu">
<?php foreach($milieux as $id_milieu => $milieu) : ?>
<?php $est_milieu_selectionne = ''; if($infos_station['id_milieu'] == $id_milieu) $est_milieu_selectionne='selected="selected"'; ?>
<option id="station_milieu_<?= $id_milieu; ?>" value="<?= $id_milieu; ?>" <?= $est_milieu_selectionne; ?> ><?= $milieu; ?></option>
<?php endforeach ?>
</select>
</span>
</div>
<div class="element_formulaire">
<label for="station_nom">Nom de la station :</label>
<input type="text" name="station_nom" id="station_nom" value="<?= $infos_station['nom']; ?>" /><br />
</div>
<span id="conteneur_lien_cache">
<a id="cacher_afficher_lien" href="#"> Saisir les coordonnées </a>
</span>
<div id="conteneur_form_liens_lat_lon">
<label for="station_lat">Latitude :</label>
<input type="text" name="station_lat" id="station_lat" value="<?= $infos_station['latitude']; ?>" />
<label for="station_lon">Longitude :</label>
<input type="text" name="station_lon" id="station_lon" value="<?= $infos_station['longitude']; ?>" />
<input type="button" name="localiser_lat_lon" id="localiser_lat_lon" value="localiser" />
</div>
<div class="element_formulaire conteneur_carte">
<div id="map_canvas" style="width:100%; height:100%"></div>
</div>
<input class="droite gros_bouton_validation" type="submit" value="Valider" />
</form>
</div>
<!-- ODS_SAISIE - FIN MODIFICATION STATION -->