31 |
aurelien |
1 |
<!-- ODS_SAISIE - DEBUT MODIFICATION STATION -->
|
|
|
2 |
<div id="saisie_station">
|
102 |
aurelien |
3 |
|
31 |
aurelien |
4 |
<h2 class="etape"> Modification de la station <?= $infos_station['nom'] ?> </h2>
|
102 |
aurelien |
5 |
<form class="form_saisie" action="<?= Liens::getUrlValidationFormulaireModificationStation($infos_station['id']); ?>" method="post" id="form_modif_station">
|
31 |
aurelien |
6 |
|
|
|
7 |
<div class="element_formulaire">
|
102 |
aurelien |
8 |
<label for="station_nom">Nom de la station :</label>
|
|
|
9 |
<input type="text" name="station_nom" id="station_nom" value="<?= $infos_station['nom']; ?>" /><br />
|
|
|
10 |
</div>
|
|
|
11 |
|
|
|
12 |
<div class="element_formulaire">
|
31 |
aurelien |
13 |
<span class="element_formulaire element_formulaire_en_ligne">
|
|
|
14 |
<label for="station_nom">Commune / ville :</label>
|
|
|
15 |
<input type="text" name="station_commune" id="station_commune" value="<?= $infos_station['commune']; ?>" />
|
|
|
16 |
</span>
|
|
|
17 |
|
|
|
18 |
<span class="element_formulaire element_formulaire_en_ligne">
|
|
|
19 |
<label for="station_nom">Milieu :</label>
|
84 |
aurelien |
20 |
<select name="station_milieu" id="station_milieu">
|
|
|
21 |
<?php foreach($milieux as $id_milieu => $milieu) : ?>
|
|
|
22 |
<?php $est_milieu_selectionne = ''; if($infos_station['id_milieu'] == $id_milieu) $est_milieu_selectionne='selected="selected"'; ?>
|
|
|
23 |
|
|
|
24 |
<option id="station_milieu_<?= $id_milieu; ?>" value="<?= $id_milieu; ?>" <?= $est_milieu_selectionne; ?> ><?= $milieu; ?></option>
|
|
|
25 |
<?php endforeach ?>
|
|
|
26 |
</select>
|
31 |
aurelien |
27 |
</span>
|
|
|
28 |
</div>
|
102 |
aurelien |
29 |
|
31 |
aurelien |
30 |
<div class="element_formulaire">
|
102 |
aurelien |
31 |
<label for="station_nom">Altitude :</label>
|
|
|
32 |
<input size="5" type="text" name="station_alt" id="station_alt" value="<?= $infos_station['altitude']; ?>" /> mètres <br />
|
31 |
aurelien |
33 |
</div>
|
102 |
aurelien |
34 |
|
59 |
aurelien |
35 |
<div id="conteneur_form_liens_lat_lon">
|
102 |
aurelien |
36 |
<div class="element_formulaire">
|
|
|
37 |
<label for="station_lat">Latitude :</label>
|
|
|
38 |
<input type="text" name="station_lat" id="station_lat" value="<?= $infos_station['latitude']; ?>" />
|
|
|
39 |
|
|
|
40 |
<label for="station_lon">Longitude :</label>
|
|
|
41 |
<input type="text" name="station_lon" id="station_lon" value="<?= $infos_station['longitude']; ?>" />
|
|
|
42 |
|
|
|
43 |
<input type="button" name="localiser_lat_lon" id="localiser_lat_lon" value="" />
|
|
|
44 |
</div>
|
31 |
aurelien |
45 |
</div>
|
|
|
46 |
|
|
|
47 |
<div class="element_formulaire conteneur_carte">
|
|
|
48 |
<div id="map_canvas" style="width:100%; height:100%"></div>
|
|
|
49 |
</div>
|
181 |
vio |
50 |
|
|
|
51 |
<div>
|
|
|
52 |
<p class="cadre_information">dk,kdekd</p><br />
|
|
|
53 |
</div>
|
102 |
aurelien |
54 |
|
165 |
aurelien |
55 |
<input type="hidden" id="station_code_insee" name="station_code_insee" value="<?= $infos_station['code_insee']; ?>" />
|
102 |
aurelien |
56 |
<input type="hidden" id="station_id" name="station_id" value="<?= $infos_station['id']; ?>" />
|
31 |
aurelien |
57 |
<input class="droite gros_bouton_validation" type="submit" value="Valider" />
|
|
|
58 |
</form>
|
|
|
59 |
</div>
|
|
|
60 |
<!-- ODS_SAISIE - FIN MODIFICATION STATION -->
|