Subversion Repositories eFlore/Applications.cel

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1244 jpm 1
<!DOCTYPE html>
1733 isa 2
<html lang="fr" manifest="mobile.appcache">
1827 jpm 3
	<head>
2332 aurelien 4
		<base href="http://www.tela-botanica.org/eflore-test/widget/modules/saisie/squelettes/mobile/"/>
1244 jpm 5
		<title>CEL Mobile</title>
6
 
7
		<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
8
		<meta http-equiv="Content-style-type" content="text/css" />
9
		<meta http-equiv="Content-script-type" content="text/javascript" />
10
		<meta http-equiv="Content-language" content="fr" />
11
 
12
		<meta name="revisit-after" content="15 days" />
1829 isa 13
		<meta name="robots" content="index,follow" />
14
		<meta name="author" content="Jean-Pascal MILCENT, Isabelle NEMBROT" />
15
		<meta name="keywords" content="Tela Botanica, CEL, mobile" />
16
		<meta name="description" content="Widget de saisie du CEL pour smartphone" />
1244 jpm 17
 
18
		<!-- Favicones -->
19
		<link rel="shortcut icon" type="image/x-icon" href="http://www.tela-botanica.org/favicon.ico" />
20
 
21
		<!-- Viewport -->
22
		<meta name="viewport" content="width=device-width, initial-scale=1">
1828 jpm 23
		<meta name="apple-mobile-web-app-capable" content="yes" />
1552 isa 24
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
1244 jpm 25
 
26
		<!-- CSS -->
1552 isa 27
		<link rel="stylesheet" href="http://www.tela-botanica.org/commun/jquery/mobile/1.3.1/jquery.mobile-1.3.1.min.css" />
1823 isa 28
		<link href="http://www.tela-botanica.org/eflore/cel/widget/modules/saisie/squelettes/mobile/css/mobile.css" rel="stylesheet" type="text/css" media="screen" />
1244 jpm 29
 
30
		<!-- Javascript -->
31
		<script src="http://www.tela-botanica.org/commun/jquery/1.7.1/jquery-1.7.1.min.js"></script>
32
 
33
		<!-- Javascript : appli saisie -->
2052 jpm 34
		<script type="text/javascript" src="config.js"></script>
1733 isa 35
		<script type="text/javascript" src="js/mobile.js"></script>
36
		<script type="text/javascript" src="js/bdtfx.js"></script>
1244 jpm 37
 
38
		<!-- Javascript : Jquery Mobile -->
1552 isa 39
		<script src="http://www.tela-botanica.org/commun/jquery/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
1244 jpm 40
	</head>
1552 isa 41
 
42
 
1244 jpm 43
	<body data-theme="b">
1733 isa 44
		<div id="menu" data-role="page"> <!--data-add-back-btn="true" data-back-btn-text="Retour"-->
1244 jpm 45
			<div data-role="header">
1552 isa 46
				<h1>Accueil</h1>
47
				<a href="#infos" data-icon="info" data-iconpos="notext" class="ui-btn-right">Infos</a>
1244 jpm 48
			</div>
49
			<div data-role="content" data-theme="g">
1733 isa 50
				<p class="center">
51
					Bienvenue sur le Carnet En Ligne mobile ! <br />
52
				</p>
1244 jpm 53
				<ul data-role="listview">
54
					<li>
55
						<img src="http://www.tela-botanica.org/commun/icones/glyphish/187-pencil.png" class="ui-li-icon"/>
1733 isa 56
						<a href="#saisie" class="saisie" data-role="button">1 - Saisir une observation</a>
1244 jpm 57
					</li>
58
					<li>
59
						<img src="http://www.tela-botanica.org/commun/icones/glyphish/179-notepad.png" class="ui-li-icon"/>
1733 isa 60
						<a href="#liste" data-role="button">2 - Voir mes observations</a>
1244 jpm 61
					</li>
62
					<li>
63
						<img src="http://www.tela-botanica.org/commun/icones/glyphish/56-cloud.png" class="ui-li-icon"/>
1733 isa 64
						<a href="#transmission" data-role="button">3 - Transmettre mes observations</a>
1244 jpm 65
					</li>
1733 isa 66
					<li></li>
1244 jpm 67
				</ul>
68
			</div>
1733 isa 69
			<div data-role="footer" data-position="fixed"></div>
1244 jpm 70
		</div>
1733 isa 71
 
1244 jpm 72
		<div id="saisie" data-role="page">
73
			<div data-role="header" data-position="inline">
74
				<a href="#menu" data-icon="home" data-iconpos="notext" data-direction="reverse">Accueil</a>
1733 isa 75
				<h1>Saisie</h1>
76
				<a href="#infos" data-icon="info" data-iconpos="notext" class="ui-btn-right">Infos</a>
1244 jpm 77
			</div>
1733 isa 78
			<form id="form-saisie-observation" method="post" action="#">
1244 jpm 79
				<div data-role="content">
1248 jpm 80
					<div id="obs-saisie-infos"></div>
1244 jpm 81
					<div data-role="fieldcontain">
1733 isa 82
						<label for="nom">Espèce : </label>
83
						<span id="nom"></span>
1244 jpm 84
 
1733 isa 85
						<br />
86
						<a href="#saisie-popup" id="saisie-popup-btn"
87
								data-role="button" data-icon="search" data-iconpos="right"
88
								data-rel="dialog" data-transition="pop" data-theme="b">
89
							Changer l'espèce
90
						</a>
91
						<hr />
92
 
93
						<label for="date">
94
							Date :
95
							<span id="date"></span>
96
						</label>
97
						<hr />
98
 
1552 isa 99
						<button id="geolocaliser"
1733 isa 100
								data-role="button" data-icon="refresh" data-iconpos="" data-ajax="false">
1552 isa 101
							Recalculer ma position
102
						</button>
1244 jpm 103
 
1552 isa 104
						<label for="lat">
105
							Latitude :
106
							<span id="lat"></span>
107
						</label>
1244 jpm 108
 
1552 isa 109
						<br />
110
						<label for="lng">
111
							Longitude :
112
							<span id="lng"></span>
113
						</label>
1244 jpm 114
 
1552 isa 115
						<br />
116
						<label for="location">
117
							Commune :
118
							<span id="location"></span>
1733 isa 119
							<input id="code-insee" type="hidden" name="code-insee" />
1552 isa 120
						</label>
121
 
122
						<br />
1733 isa 123
						<hr />
1552 isa 124
						<button id="sauver-obs" data-role="button" data-icon="check">Sauver</button>
125
 
1733 isa 126
						<input id="referentiel" type="hidden" name="referentiel" />
127
						<input id="nom-sci-select" type="hidden" name="nom-sci-select" />
128
						<input id="num-nom-select" type="hidden" name="num-nom-select" />
1244 jpm 129
					</div>
130
				</div>
131
				<div data-role="footer" data-position="fixed">
1552 isa 132
					<div data-role="navbar">
133
						<ul>
134
							<li><a href="#liste" data-role="button" data-icon="notepad" data-iconpos="notext">Liste de mes obs.</a></li>
135
							<li><a href="#transmission" data-role="button" data-icon="cloud" data-iconpos="notext">Transmission</a></li>
136
						</ul>
137
					</div>
1244 jpm 138
				</div>
139
			</form>
140
		</div>
141
 
1733 isa 142
		<div id="saisie-popup" data-role="page" data-history="false" data-close-btn="right">
143
			<div data-role="header">
144
				<h1></h1>
145
			</div>
146
			<div data-role="content">
147
				<ul id="liste-noms-latins" data-role="listview"
148
					data-inset="true" data-filter="true" data-filter-reveal="true"
149
					data-filter-placeholder="Trouver une espèce...">
150
				</ul>
151
				<div class="hidden">
152
					<button id="recherche-chargement" data-theme="a" data-textonly="true" data-textvisible="true" data-msgtext="Chargement des résultats..." ></button>
153
				</div>
154
			</div>
155
		</div>
1552 isa 156
 
1244 jpm 157
		<div id="liste" data-role="page">
158
			<div data-role="header" data-position="inline">
159
				<a href="#menu" data-icon="home" data-iconpos="notext" data-direction="reverse">Accueil</a>
160
				<h1>Observations</h1>
1733 isa 161
				<a href="#infos" data-icon="info" data-iconpos="notext" class="ui-btn-right">Infos</a>
1244 jpm 162
			</div>
163
			<div data-role="content">
1552 isa 164
				<div id="obs-suppression-infos"></div>
1733 isa 165
				<ul id="liste-obs" data-role="listview" data-split-icon="delete" data-split-theme="g" data-theme="g" data-inset="true"></ul>
1244 jpm 166
			</div>
167
			<div data-role="footer" data-position="fixed">
168
				<div data-role="navbar">
169
					<ul>
1552 isa 170
						<li><a href="#saisie" class="saisie" data-role="button" data-icon="pencil" data-iconpos="notext">Saisie</a></li>
1244 jpm 171
						<li><a href="#transmission" data-role="button" data-icon="cloud" data-iconpos="notext">Transmission</a></li>
172
					</ul>
173
				</div>
174
			</div>
175
		</div>
176
 
1552 isa 177
		<div id="observation" data-role="page">
178
			<div data-role="header" data-position="inline">
179
				<a href="#menu" data-icon="home" data-iconpos="notext" data-direction="reverse">Accueil</a>
180
				<h1>Détails de l'observation</h1>
1733 isa 181
				<a href="#liste" data-icon="notepad" data-iconpos="notext" ></a>
1552 isa 182
			</div>
183
			<div data-role="content">
1733 isa 184
				<label for="id-obs">Identifiant :</label> <span id="id-obs"></span>
185
				<div id="details-obs"></div>
1552 isa 186
 
1733 isa 187
				<input type="file" id="pic" name="photos-obs[]" accept="image/*" multiple>
188
				<button id="valider-photos"
1552 isa 189
						data-role="button" data-icon="search" data-iconpos="" data-ajax="false">
190
					Ajouter les images sélectionnées
191
				</button>
1733 isa 192
 
193
				<div data-role="popup" id="cache-plein" class="ui-content" data-position-to="#valider-photos">
194
					<a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Close</a>
195
					<p>
196
						La mémoire de cette application est pleine. <br />
197
						Veuillez supprimer des images ou transmettre vos observations.
198
					</p>
199
				</div>
1552 isa 200
 
1733 isa 201
				<div data-role="popup" id="photo-zoom" class="ui-content">
202
					<span id="photo-zoom-infos"></span>
203
					<button data-role="button" data-theme="a" onclick="$('#photo-zoom').popup('close');">
204
						Fermer cet aperçu
205
					</button>
206
				</div>
207
 
1552 isa 208
				<div id="photo-suppression-infos"></div>
1733 isa 209
				<ul id="photos-obs" data-role="listview" data-inset="true"></ul>
210
				<canvas id="photo-canvas" class="hidden"></canvas>
1552 isa 211
			</div>
212
			<div data-role="footer" data-position="fixed">
213
				<div data-role="navbar">
214
					<ul>
215
						<li><a href="#saisie" class="saisie" data-role="button" data-icon="pencil" data-iconpos="notext">Saisie</a></li>
216
						<li><a href="#liste" data-role="button" data-icon="notepad" data-iconpos="notext">Liste de mes obs.</a></li>
217
					</ul>
218
				</div>
219
			</div>
220
		</div>
221
 
1244 jpm 222
		<div id="transmission" data-role="page">
223
			<div data-role="header">
224
				<a href="#menu" data-icon="home" data-iconpos="notext" data-direction="reverse">Accueil</a>
225
				<h1>Transmission</h1>
1733 isa 226
				<a href="#infos" data-icon="info" data-iconpos="notext" class="ui-btn-right">Infos</a>
1244 jpm 227
			</div>
1733 isa 228
			<div data-role="content" data-theme="d">
229
				<p>
230
					<span id="identification-texte">
231
						Ajouter au compte
232
					</span>
233
					<strong><span id="utilisateur-compte"></span></strong>
234
				</p>
235
				<a href="#identification-popup" id="identification-btn"
236
					data-role="button" data-icon="grid" data-iconpos="right"
237
					data-rel="dialog" data-transition="pop" data-theme="b">
238
						Modifier le compte
239
				</a>
240
				<div id="identification-infos"></div>
241
				<hr />
242
				<button data-role="button" data-icon="cloud-black" id="transmettre-obs" >
243
					Transmettre
244
				</button>
245
			</div>
246
			<div data-role="footer" data-position="fixed">
247
				<div data-role="navbar">
248
					<ul>
249
						<li><a href="#saisie" class="saisie" data-role="button" data-icon="pencil" data-iconpos="notext">Saisie</a></li>
250
						<li><a href="#liste" data-role="button" data-icon="notepad" data-iconpos="notext">Liste de mes obs.</a></li>
251
					</ul>
252
				</div>
253
			</div>
254
		</div>
255
 
256
		<div id="identification-popup" data-role="page" data-history="false" data-close-btn="right">
257
			<div data-role="header">
258
				<h1>Compte Tela Botanica</h1>
259
			</div>
260
			<form id="form-transmission" method="post" action="#">
1244 jpm 261
				<div data-role="content">
262
					<div data-role="fieldcontain">
1552 isa 263
						<label for="courriel">Courriel * :</label>
1244 jpm 264
						<input id="courriel" type="email" name="courriel"/>
1733 isa 265
						<input id="id-utilisateur" name="id-utilisateur" type="hidden"/>
1552 isa 266
 
1733 isa 267
						<button id="valider-courriel" data-role="button"
268
							data-icon="forward" data-iconpos="">
269
								Vérifier ce compte Tela
1552 isa 270
						</button>
1244 jpm 271
					</div>
1733 isa 272
					<div id="zone-courriel-confirmation" data-role="fieldcontain" class="hidden">
273
						<label for="courriel-confirmation">
274
							<strong class="obligatoire">*</strong> Courriel (confirmation) :
275
						</label>
276
						<input id="courriel-confirmation" name="courriel-confirmation" type="text"/>
277
					</div>
278
					<div id="zone-prenom-nom" data-role="fieldcontain" class="hidden">
1552 isa 279
						<div>
1733 isa 280
							<label for="nom">Nom :</label>
281
							<input id="nom-utilisateur" name="nom" type="text"/>
1552 isa 282
						</div>
283
 
284
						<div>
1733 isa 285
							<label for="prenom">Prénom :</label>
286
							<input id="prenom-utilisateur" name="prenom" type="text"/>
1552 isa 287
						</div>
288
					</div>
1733 isa 289
					<input type="checkbox" name="courriel-memoire" id="courriel-memoire" checked="checked">
290
					<label for="courriel-memoire">Se souvenir de moi</label>
291
 
292
					<button id="valider-identification" data-role="button"
293
						data-icon="check" data-iconpos="right" data-theme="b">
294
							Valider le formulaire
295
					</button>
1244 jpm 296
				</div>
297
			</form>
1733 isa 298
			<div data-role="footer"></div>
299
		</div><!-- /page popup -->
1244 jpm 300
 
1733 isa 301
		<div id="infos" data-role="page" data-add-back-btn="true" data-back-btn-text="Retour">
1244 jpm 302
			<div data-role="header">
303
				<h1>Infos</h1>
304
			</div>
305
			<div data-role="content">
1552 isa 306
				<p>
307
					Développement :
308
					<ul>
309
						<li>Jean-Pascal MILCENT</li>
310
						<li>Isabelle NEMBROT</li>
311
					</ul>
312
					sur une idée originale de Aurélien PERONNET.
313
				</p>
1244 jpm 314
			</div>
315
			<div data-role="footer" data-position="fixed">
1733 isa 316
				<p class="center">
317
					Icônes par <a href="http://glyphish.com">Joseph Wain - Glyphish</a>. <br />
318
					© Copyright <span id="annee"></span> - <a href="http://www.tela-botanica.org/site:accueil">Tela Botanica</a>
319
				</p>
1244 jpm 320
			</div>
321
		</div>
322
	</body>
1552 isa 323
</html>