Subversion Repositories eFlore/Applications.cel

Rev

Rev 1069 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1069 Rev 1206
Line 51... Line 51...
51
		<link rel="stylesheet" href="http://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.13/css/ui-darkness/jquery-ui-1.8.13.custom.css" type="text/css" media="screen" />
51
		<link rel="stylesheet" href="http://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.13/css/ui-darkness/jquery-ui-1.8.13.custom.css" type="text/css" media="screen" />
52
		<link rel="stylesheet" href="http://www.tela-botanica.org/commun/jquery/fancybox/1.3.4/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
52
		<link rel="stylesheet" href="http://www.tela-botanica.org/commun/jquery/fancybox/1.3.4/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
53
	</head>
53
	</head>
Line 54... Line 54...
54
 
54
 
-
 
55
	<body>
55
	<body>
56
		<div id="zone-appli">
56
		<h1>Biodiversité 34</h1>
57
			<h1>Biodiversité 34</h1>
57
		
58
			
58
		<h2>Saisie des observations</h2>
59
			<h2>Saisie des observations</h2>
59
		<form id="saisie-obs" action="#">
60
			<form id="saisie-obs" action="#">
60
			<fieldset id="partie-identification">
61
				<fieldset id="partie-identification">
61
				<legend>1. Identification</legend>
62
					<legend>1. Identification</legend>
62
				<ul>
63
					<ul>
63
					<li>
64
						<li>
64
						<label for="prenom"><span class="obligatoire" title="Champ obligatoire">*</span> Prénom</label>
65
							<label for="prenom"><span class="obligatoire" title="Champ obligatoire">*</span> Prénom</label>
65
						<input id="prenom" name="prenom" type="text" value=""/>
66
							<input id="prenom" name="prenom" type="text" value=""/>
66
					</li>
67
						</li>
67
					<li>
68
						<li>
68
						<label for="nom"><span class="obligatoire" title="Champ obligatoire">*</span> NOM</label>
69
							<label for="nom"><span class="obligatoire" title="Champ obligatoire">*</span> NOM</label>
69
						<input id="nom" name="nom" type="text" value=""/>
70
							<input id="nom" name="nom" type="text" value=""/>
70
					</li>
71
						</li>
71
					<li>
72
						<li>
72
						<label for="courriel"><span class="obligatoire" title="Champ obligatoire">*</span> Courriel</label>
73
							<label for="courriel"><span class="obligatoire" title="Champ obligatoire">*</span> Courriel</label>
73
						<input id="courriel" name="courriel" type="text" value=""/>
74
							<input id="courriel" name="courriel" type="text" value=""/>
74
					</li>
75
						</li>
75
					<li>
76
						<li>
76
						<label for="courriel_confirmation"><span class="obligatoire" title="Champ obligatoire">*</span> Courriel (confirmation)</label>
77
							<label for="courriel_confirmation"><span class="obligatoire" title="Champ obligatoire">*</span> Courriel (confirmation)</label>
77
						<input id="courriel_confirmation" name="courriel_confirmation" type="text" value=""/>
78
							<input id="courriel_confirmation" name="courriel_confirmation" type="text" value=""/>
78
					</li>
79
						</li>
79
				</ul>
80
					</ul>
80
			</fieldset>
81
				</fieldset>
81
			<fieldset id="partie-station">
82
				<fieldset id="partie-station">
82
				<legend>2. Station / Localisation</legend>
83
					<legend>2. Station / Localisation</legend>
83
				<input id="commune_nom" name="commune_nom" type="hidden" value="" />
84
					<input id="commune_nom" name="commune_nom" type="hidden" value="" />
84
				<input id="commune_code_insee" name="commune_code_insee" type="hidden" value="" />
85
					<input id="commune_code_insee" name="commune_code_insee" type="hidden" value="" />
85
				<ul>
86
					<ul>
86
					<li>
87
						<li>
87
						<label for="milieu"><span class="obligatoire" title="Champ obligatoire">*</span> Milieu</label>
88
							<label for="milieu"><span class="obligatoire" title="Champ obligatoire">*</span> Milieu</label>
88
						<select id="milieu" name="milieu">
89
							<select id="milieu" name="milieu">
89
							<option value="">Sélectionner un milieu</option>
90
								<option value="">Sélectionner un milieu</option>
90
							<?php foreach ($milieux as $milieu => $description) : ?>
91
								<?php foreach ($milieux as $milieu => $description) : ?>
-
 
92
								<option value="<?=$milieu?>" <?=($description != '') ? 'title="'.$description.'"': '' ?>><?=$milieu?></option>
-
 
93
								<?php endforeach; ?>
-
 
94
							</select>
-
 
95
						</li>
-
 
96
						<li><a id="localiser-gg-map" href="#gg-map-localisation">Localiser votre station sur une carte Google Map</a></li>
-
 
97
						<li id="partie-lat-lon">
-
 
98
							<label for="latitude"><span class="obligatoire" title="Champ obligatoire">*</span> Latitude</label>
-
 
99
							<input id="latitude" name="latitude" type="text" value=""/>
-
 
100
							<label for="longitude"><span class="obligatoire" title="Champ obligatoire">*</span> Longitude</label>
-
 
101
							<input id="longitude" name="longitude" type="text" value=""/>
-
 
102
							<span id="lat-lon-info" class="info">(WGS84)</span>
-
 
103
						</li>
-
 
104
					</ul>
-
 
105
				</fieldset>
-
 
106
				<fieldset id="partie-observation">
-
 
107
					<legend>3. Observation</legend>
-
 
108
					<ul>
-
 
109
						<li>
-
 
110
							<label for="date"><span class="obligatoire" title="Champ obligatoire">*</span> Date</label>
-
 
111
							<input id="date" name="date" type="text" value="" />
-
 
112
						</li>
-
 
113
						<li>
-
 
114
							<label for="taxon"><span class="obligatoire" title="Champ obligatoire">*</span> Espèce</label>
-
 
115
							<select id="taxon" name="taxon">
-
 
116
								<option value="">Sélectionner un taxon</option>
-
 
117
							<?php foreach ($taxons as $taxon) : ?>
91
							<option value="<?=$milieu?>" <?=($description != '') ? 'title="'.$description.'"': '' ?>><?=$milieu?></option>
118
								<option value="<?=$taxon['num_nom_sel']?>" title="<?=$taxon['nom_sel'].($taxon['nom_fr_autre'] != '' ? ' - '.$taxon['nom_fr_autre'] : '' )?>"><?=$taxon['nom_fr']?></option>
92
							<?php endforeach; ?>
119
							<?php endforeach; ?>
93
						</select>
-
 
94
					</li>
-
 
95
					<li><a id="localiser-gg-map" href="#gg-map-localisation">Localiser votre station sur une carte Google Map</a></li>
-
 
96
					<li id="partie-lat-lon">
-
 
97
						<label for="latitude"><span class="obligatoire" title="Champ obligatoire">*</span> Latitude</label>
-
 
98
						<input id="latitude" name="latitude" type="text" value=""/>
-
 
99
						<label for="longitude"><span class="obligatoire" title="Champ obligatoire">*</span> Longitude</label>
-
 
100
						<input id="longitude" name="longitude" type="text" value=""/>
-
 
101
						<span id="lat-lon-info" class="info">(WGS84)</span>
-
 
102
					</li>
-
 
103
				</ul>
-
 
104
			</fieldset>
-
 
105
			<fieldset id="partie-observation">
-
 
106
				<legend>3. Observation</legend>
-
 
107
				<ul>
-
 
108
					<li>
-
 
109
						<label for="date"><span class="obligatoire" title="Champ obligatoire">*</span> Date</label>
-
 
110
						<input id="date" name="date" type="text" value="" />
-
 
111
					</li>
-
 
112
					<li>
-
 
113
						<label for="taxon"><span class="obligatoire" title="Champ obligatoire">*</span> Espèce</label>
-
 
114
						<select id="taxon" name="taxon">
-
 
115
							<option value="">Sélectionner un taxon</option>
-
 
116
						<?php foreach ($taxons as $taxon) : ?>
-
 
117
							<option value="<?=$taxon['num_nom_sel']?>" title="<?=$taxon['nom_sel'].($taxon['nom_fr_autre'] != '' ? ' - '.$taxon['nom_fr_autre'] : '' )?>"><?=$taxon['nom_fr']?></option>
-
 
118
						<?php endforeach; ?>
-
 
119
						</select>
120
							</select>
120
					</li>
121
						</li>
121
					<li>
122
						<li>
122
						<label for="notes">Notes</label>
123
							<label for="notes">Notes</label>
123
						<textarea id="notes" name="notes"></textarea>
124
							<textarea id="notes" name="notes"></textarea>
124
					</li>
125
						</li>
125
				</ul>
126
					</ul>
126
				<button id="ajouter-obs" type="button">Ajouter</button>
127
					<button id="ajouter-obs" type="button">Ajouter</button>
-
 
128
				</fieldset>
-
 
129
				
Line 127... Line -...
127
			</fieldset>
-
 
128
			
-
 
129
		</form>
130
			</form>
130
		
131
			
131
		<h2>Liste des observations à transmettre</h2>
132
			<h2>Liste des observations à transmettre</h2>
132
		<form action="#">
133
			<form action="#">
133
			<table id="liste-obs">
134
				<table id="liste-obs">
134
				<thead><tr><th>Numéro</th><th>Date</th><th>Nom</th><th>Milieu</th><th>Latitude</th><th>Longitude</th><th>Notes</th><th>Suppression</th></tr></thead>
135
					<thead><tr><th>Numéro</th><th>Date</th><th>Nom</th><th>Milieu</th><th>Latitude</th><th>Longitude</th><th>Notes</th><th>Suppression</th></tr></thead>
135
				<tbody></tbody>
136
					<tbody></tbody>
136
			</table>
137
				</table>
-
 
138
				<button id="tramsmettre-obs" type="button">Transmettre</button>
Line 137... Line 139...
137
			<button id="tramsmettre-obs" type="button">Transmettre</button>
139
			</form>
138
		</form>
140
		</div>
139
		
141
		
140
		<div id="gg-map" style="display: none;">
142
		<div id="gg-map" style="display: none;">
141
			<div id="gg-map-localisation">
143
			<div id="gg-map-localisation">
142
				<div id="gg-map-carte">Carte en cours de chargement...</div>
144
				<div id="gg-map-carte">Carte en cours de chargement...</div>
143
				<ul id="gg-map-info">
145
					<ul id="gg-map-info">
144
					<li>
146
						<li>
145
						<span class="champ">Marqueur de station</span> 
147
							<span class="champ">Marqueur de station</span> 
146
						<span id="marqueur-statut">Déplacer le marqueur sur le centre de votre station.</span>
148
							<span id="marqueur-statut">Déplacer le marqueur sur le centre de votre station.</span>
147
					</li>
149
						</li>
148
					<li>
150
						<li>
149
						<span class="champ">Coordonnées du marqueur</span>
151
							<span class="champ">Coordonnées du marqueur</span>
150
			    		<span id="marqueur-coordonnees"><span title="Système géodésique mondial, révision de 1984 - Coordonnées non projetées">WGS84 : <span id="marqueur-wgs84">&nbsp;</span></span> / <span title="Système géodésique RGF93 - Coordonnées en projection Lambert 93">Lambert 93 : <span id="marqueur-lambert93">&nbsp;</span></span></span>
152
				    		<span id="marqueur-coordonnees"><span title="Système géodésique mondial, révision de 1984 - Coordonnées non projetées">WGS84 : <span id="marqueur-wgs84">&nbsp;</span></span> / <span title="Système géodésique RGF93 - Coordonnées en projection Lambert 93">Lambert 93 : <span id="marqueur-lambert93">&nbsp;</span></span></span>
151
			    	</li>
153
				    	</li>
152
			    	<li>
154
				    	<li>
153
			    		<span class="champ">Commune</span>
155
				    		<span class="champ">Commune</span>
154
			    		<span id="marqueur-commune">
156
				    		<span id="marqueur-commune">
155
			    			<span id="commune-nom" class="commune-info">&nbsp;</span>
157
				    			<span id="commune-nom" class="commune-info">&nbsp;</span>
156
			    			(<span id="commune-code-insee" class="commune-info" title="Code INSEE de la commune">&nbsp;</span>)
158
				    			(<span id="commune-code-insee" class="commune-info" title="Code INSEE de la commune">&nbsp;</span>)
157
			    		</span>
159
				    		</span>
158
			    		<span class="champ">Adresse</span>
160
				    		<span class="champ">Adresse</span>
159
		    			<span id="marqueur-adresse">&nbsp;</span>
161
			    			<span id="marqueur-adresse">&nbsp;</span>
160
		    		</li>
162
			    		</li>
161
		    	</ul>
163
			    	</ul>
162
			    <form id="gg-map-form">
164
				    <form id="gg-map-form">
163
			    	<button id="valider-coordonnees" type="button">Valider</button>
165
				    	<button id="valider-coordonnees" type="button">Valider</button>
164
			    	<button id="annuler-coordonnees" type="button">Annuler</button>
166
				    	<button id="annuler-coordonnees" type="button">Annuler</button>
165
		    	</form>
-
 
166
		    </div>
167
			    	</form>
Line 167... Line 168...
167
		</div>
168
		    	</div>
168
			
169
			</div>