Subversion Repositories eFlore/Applications.cel

Rev

Rev 712 | Rev 744 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 712 Rev 719
Line 18... Line 18...
18
		<link rel="icon" type="image/png" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.png" />
18
		<link rel="icon" type="image/png" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.png" />
19
		<link rel="shortcut icon" type="image/x-icon" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.ico" />
19
		<link rel="shortcut icon" type="image/x-icon" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.ico" />
Line 20... Line 20...
20
		
20
		
21
		<!-- Javascript : bibliothèques -->
21
		<!-- Javascript : bibliothèques -->
-
 
22
		<!-- 	Google Map v3 -->
22
		<!-- 	Google Map v3 -->
23
		<script type="text/javascript" src="https://getfirebug.com/firebug-lite.js"></script>
23
		<script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3.3&amp;sensor=true"></script>
24
		<script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3.3&amp;sensor=true"></script>
24
		<!-- 	Jquery -->
25
		<!-- 	Jquery -->
25
		<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/1.6/jquery-1.6.min.js"></script>
26
		<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/1.5.1/jquery-1.5.1.min.js"></script>
26
		<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.13/js/jquery-ui-1.8.13.custom.min.js"></script>
27
		<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.13/js/jquery-ui-1.8.13.custom.min.js"></script>
27
		<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.13/js/jquery.ui.datepicker-fr.js"></script>
28
		<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.13/js/jquery.ui.datepicker-fr.js"></script>
-
 
29
		<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/fancybox/1.3.4/jquery.fancybox-1.3.4.pack.js"></script>
-
 
30
		<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/validate/1.8.1/jquery.validate.min.js"></script>
-
 
31
		<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/validate/1.8.1/messages_fr.js"></script>
28
		<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/fancybox/1.3.4/jquery.fancybox-1.3.4.pack.js"></script>
32
		<script src="<?=$url_base?>saisie?projet=biodiversite34&service=taxons" type="text/javascript"></script>
Line 29... Line 33...
29
		<script type="text/javascript" src="<?=$url_base?>modules/saisie/squelettes/biodiversite34/js/biodiversite34.js"></script>
33
		<script type="text/javascript" src="<?=$url_base?>modules/saisie/squelettes/biodiversite34/js/biodiversite34.js"></script>
30
		
34
		
31
		<!-- CSS -->
35
		<!-- CSS -->
32
		<link href="<?=$url_base?>modules/saisie/squelettes/biodiversite34/css/biodiversite34.css" rel="stylesheet" type="text/css" media="screen" />
36
		<link href="<?=$url_base?>modules/saisie/squelettes/biodiversite34/css/biodiversite34.css" rel="stylesheet" type="text/css" media="screen" />
33
		<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" />
-
 
34
		<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" />
-
 
35
		
-
 
36
		<!-- Stats : Google Analytics -->
-
 
37
		<script type="text/javascript">
-
 
38
			//<![CDATA[
-
 
39
			var _gaq = _gaq || [];
-
 
40
			_gaq.push(['_setAccount', 'UA-20092557-1']);
-
 
41
			_gaq.push(['_trackPageview']);
-
 
42
			
-
 
43
			(function() {
-
 
44
			  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-
 
45
			  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-
 
46
			  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-
 
47
			})();
-
 
48
			//]]>
37
		<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" />
Line 49... Line 38...
49
		</script>
38
		<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" />
50
	</head>
39
	</head>
Line 51... Line 40...
51
 
40
 
52
	<body>
41
	<body>
53
	<h1>Biodiversité 34</h1>
42
		<h1>Biodiversité 34</h1>
54
	
43
		
-
 
44
		<h2>Saisie des observations</h2>
-
 
45
		<form id="saisie-obs" action="#">
55
	<h2>Saisie des observations</h2>
46
			<fieldset id="partie-identification">
56
	<form action="#">
47
				<legend>1. Identification</legend>
-
 
48
				<ul>
-
 
49
					<li>
57
		<fieldset>
50
						<label for="prenom"><span class="obligatoire" title="Champ obligatoire">*</span> Prénom</label>
58
			<legend>Identification</legend>
51
						<input id="prenom" name="prenom" type="text" value=""/>
-
 
52
					</li>
-
 
53
					<li>
59
			<label for="prenom">Prénom</label>
54
						<label for="nom"><span class="obligatoire" title="Champ obligatoire">*</span> NOM</label>
60
			<input id="prenom" name="prenom" type="text" value="" />
55
						<input id="nom" name="nom" type="text" value=""/>
-
 
56
					</li>
-
 
57
					<li>
61
			<label for="nom">NOM</label>
58
						<label for="courriel"><span class="obligatoire" title="Champ obligatoire">*</span> Courriel</label>
62
			<input id="nom" name="nom" type="text" value="" />
59
						<input id="courriel" name="courriel" type="text" value=""/>
-
 
60
					</li>
-
 
61
					<li>
63
			<label for="courriel">Courriel</label>
62
						<label for="courriel_confirmation"><span class="obligatoire" title="Champ obligatoire">*</span> Courriel (confirmation)</label>
64
			<input id="courriel" name="courriel" type="text" value="" />
63
						<input id="courriel_confirmation" name="courriel_confirmation" type="text" value=""/>
65
			<label for="courriel-confirmation">Courriel (confirmation)</label>
64
					</li>
-
 
65
				</ul>
-
 
66
			</fieldset>
66
			<input id="courriel-confirmation" name="courriel-confirmation" type="text" value="" />
67
			<fieldset id="partie-station">
67
		</fieldset>
68
				<legend>2. Station / Localisation</legend>
68
		<fieldset>
69
				<ul>
-
 
70
					<li>
-
 
71
						<label for="milieu"><span class="obligatoire" title="Champ obligatoire">*</span> Milieu</label>
69
			<legend>Station / Localisation</legend>
72
						<select id="milieu" name="milieu">
-
 
73
							<?php foreach ($milieux as $milieu => $description) : ?>
-
 
74
							<option value="<?=$milieu?>" <?=($description != '') ? 'title="'.$description.'"': '' ?>><?=$milieu?></option>
70
			<label for="milieu">Milieu</label>
75
							<?php endforeach; ?>
-
 
76
						</select>
71
			<select id="milieu" name="milieu">
77
					</li>
72
				<option value="Trottoir">Trottoir</option>
78
					<li><a id="localiser-gg-map" href="#gg-map-localisation">Localiser votre station sur une carte Google Map</a></li>
73
			</select>
79
					<li id="partie-lat-lon">
74
			<label for="latitude">Latitude</label>
80
						<label for="latitude"><span class="obligatoire" title="Champ obligatoire">*</span> Latitude</label>
-
 
81
						<input id="latitude" name="latitude" type="text" value=""/>
-
 
82
						<label for="longitude"><span class="obligatoire" title="Champ obligatoire">*</span> Longitude</label>
75
			<input id="latitude" name="latitude" type="text" value="" />
83
						<input id="longitude" name="longitude" type="text" value=""/>
76
			<label for="longitude">Longitude</label>
84
						<span id="lat-lon-info" class="info">(WGS84)</span>
77
			<input id="longitude" name="longitude" type="text" value="" />
85
					</li>
-
 
86
				</ul>
-
 
87
			</fieldset>
78
			<button type="button">Repérer la localisation sur une carte Google Map</button>
88
			<fieldset id="partie-observation">
79
		</fieldset>
89
				<legend>3. Observation</legend>
-
 
90
				<ul>
-
 
91
					<li>
80
		<fieldset>
92
						<label for="date">Date</label>
81
			<legend>Observation</legend>
93
						<input id="date" name="date" type="text" value="" />
82
			<label for="date">Date</label>
94
					</li>
83
			<input id="date" name="date" type="text" value="" />
95
					<li>
84
			<label for="taxon">Espèce</label>
96
						<label for="taxon">Espèce</label>
85
			<select id="taxon" name="taxon">
97
						<select id="taxon" name="taxon">
-
 
98
						<?php foreach ($taxons as $taxon) : ?>
-
 
99
							<option value="<?=$taxon['num_nom_sel']?>" title="<?=$taxon['nom_sel'].($taxon['nom_fr_autre'] != '' ? ' - '.$taxon['nom_fr_autre'] : '' )?>"><?=$taxon['nom_fr']?></option>
86
			<?php foreach ($taxons as $taxon) : ?>
100
						<?php endforeach; ?>
87
				<option value="<?=$taxon['num_nom_sel']?>"><?=$taxon['nom_fr']?></option>
101
						</select>
-
 
102
					</li>
-
 
103
					<li>
88
			<?php endforeach; ?>
104
						<label for="notes">Notes</label>
89
			</select>
105
						<textarea id="notes" name="notes"></textarea>
Line 90... Line 106...
90
			<label for="notes">Notes</label>
106
					</li>
Line 91... Line 107...
91
			<textarea id="notes" name="notes"></textarea>
107
				</ul>
92
			<button id="ajouter-obs" type="button">Ajouter</button>
108
				<button id="ajouter-obs" type="button">Ajouter</button>
93
		</fieldset>
109
			</fieldset>
94
		
110
			
95
	</form>
111
		</form>
96
	
112
		
97
	<h2>Liste des observations à transmettre</h2>
113
		<h2>Liste des observations à transmettre</h2>
98
	<form action="#">
114
		<form action="#">
Line -... Line 115...
-
 
115
			<table id="liste-obs">
-
 
116
				<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>
-
 
117
				<tbody></tbody>
-
 
118
			</table>
-
 
119
			<button id="tramsmettre-obs" type="button">Transmettre</button>
-
 
120
		</form>
-
 
121
		
-
 
122
		<div id="gg-map" style="display: none;">
-
 
123
			<div id="gg-map-localisation">
-
 
124
				<div id="gg-map-carte">Carte en cours de chargement...</div>
-
 
125
				<form id="gg-map-info">
-
 
126
					<ul>
-
 
127
						<li>
-
 
128
							<span class="champ">Marqueur de station</span> 
-
 
129
							<span id="marqueur-statut">Déplacer le marqueur sur le centre de votre station.</span>
-
 
130
						</li>
-
 
131
						<li>
-
 
132
							<span class="champ">Coordonnées du marqueur</span>
-
 
133
				    		<span id="marqueur-coordonnees"></span>
-
 
134
				    	</li>
-
 
135
				    	<li>
-
 
136
				    		<span class="champ">Adresse correspondante la plus proche</span>
-
 
137
			    			<span id="marqueur-adresse"></span>
-
 
138
			    		</li>
-
 
139
			    	</ul>
-
 
140
			    	<button id="valider-coordonnees" type="button">Valider</button>
-
 
141
			    	<button id="annuler-coordonnees" type="button">Annuler</button>
99
		<table id="liste-obs">
142
		    	</form>
100
			<thead><tr><th>Numéro</th><th>Date</th><th>Nom</th><th>Notes</th><th>Suppression</th></tr></thead>
143
		    </div>
101
			<tbody></tbody>
144
		</div>
102
		</table>
145
			
103
		<button id="tramsmettre-obs" type="button">Transmettre</button>
146
		</div>
Line 112... Line 155...
112
	<div id="dialogue-zero-obs" style="display: none;" title="Information aucune observation">
155
		<div id="dialogue-zero-obs" style="display: none;" title="Information aucune observation">
113
		<p>
156
			<p>
114
			Veuillez saisir des observations pour les transmettres.
157
				Veuillez saisir des observations pour les transmettres.
115
		</p>
158
			</p>
116
	</div>
159
		</div>
-
 
160
		<div id="dialogue-form-invalide" style="display: none;" title="Validation du formulaire">
-
 
161
			<p>Certains champs n'ont pas été saisis correctement, veuillez vérifier les champs saisis.</p>
-
 
162
		</div>
-
 
163
		
-
 
164
		<div id="dialogue-obs-transaction" style="display: none;" title="Transmission des observations">
-
 
165
		</div>		
-
 
166
	
-
 
167
		<!-- Stats : Google Analytics -->
-
 
168
		<script type="text/javascript">
-
 
169
			//<![CDATA[
-
 
170
			var _gaq = _gaq || [];
-
 
171
			_gaq.push(['_setAccount', 'UA-20092557-1']);
-
 
172
			_gaq.push(['_trackPageview']);
Line -... Line 173...
-
 
173
			
-
 
174
			(function() {
-
 
175
			  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-
 
176
			  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-
 
177
			  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-
 
178
			})();
-
 
179
			//]]>
117
	
180
		</script>
118
	</body>
181
	</body>
119
</html>
182
</html>