1244 |
jpm |
1 |
<?php
|
|
|
2 |
$annee = date('Y');
|
|
|
3 |
$aujourdhui = date('d/m/Y');
|
|
|
4 |
?>
|
|
|
5 |
<!DOCTYPE html>
|
|
|
6 |
<html lang="fr" manifest="<?=$url_base?>modules/saisie/squelettes/mobile/mobile.appcache">
|
|
|
7 |
<head>
|
|
|
8 |
<title>CEL Mobile</title>
|
|
|
9 |
|
|
|
10 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
|
|
11 |
<meta http-equiv="Content-style-type" content="text/css" />
|
|
|
12 |
<meta http-equiv="Content-script-type" content="text/javascript" />
|
|
|
13 |
<meta http-equiv="Content-language" content="fr" />
|
|
|
14 |
|
|
|
15 |
<meta name="revisit-after" content="15 days" />
|
|
|
16 |
<meta name="robots" content="index,follow" />
|
|
|
17 |
<meta name="author" content="Jean-Pascal MILCENT, Mathilde SALTHUN-LASSALLE" />
|
|
|
18 |
<meta name="keywords" content="Tela Botanica, CEL, mobile" />
|
|
|
19 |
<meta name="description" content="Widget de saisie du CEL pour smartphone" />
|
|
|
20 |
|
|
|
21 |
<!-- Favicones -->
|
|
|
22 |
<link rel="shortcut icon" type="image/x-icon" href="http://www.tela-botanica.org/favicon.ico" />
|
|
|
23 |
|
|
|
24 |
<!-- Viewport -->
|
|
|
25 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
26 |
|
|
|
27 |
<!-- CSS -->
|
|
|
28 |
<link rel="stylesheet" href="http://www.tela-botanica.org/commun/jquery/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.css" />
|
|
|
29 |
<link href="<?=$url_base?>modules/saisie/squelettes/mobile/css/<?=isset($_GET['style']) ? $_GET['style'] : 'mobile'?>.css" rel="stylesheet" type="text/css" media="screen" />
|
|
|
30 |
|
|
|
31 |
<!-- Javascript -->
|
|
|
32 |
<script src="http://www.tela-botanica.org/commun/jquery/1.7.1/jquery-1.7.1.min.js"></script>
|
|
|
33 |
|
|
|
34 |
<!-- Javascript : appli saisie -->
|
|
|
35 |
<script type="text/javascript">
|
|
|
36 |
//<![CDATA[
|
|
|
37 |
// La présence du parametre 'debug' dans l'URL enclenche le dégogage
|
|
|
38 |
var DEBUG = <?=isset($_GET['debug']) ? 'true' : 'false'?>;
|
|
|
39 |
//]]>
|
|
|
40 |
</script>
|
|
|
41 |
<script type="text/javascript" src="<?=$url_base?>modules/saisie/squelettes/mobile/js/mobile.js"></script>
|
|
|
42 |
|
|
|
43 |
<!-- Javascript : Jquery Mobile -->
|
|
|
44 |
<script src="http://www.tela-botanica.org/commun/jquery/mobile/1.1.0-rc.1/jquery.mobile-1.1.0-rc.1.min.js"></script>
|
|
|
45 |
</head>
|
|
|
46 |
<body data-theme="b">
|
|
|
47 |
<div id="menu" data-role="page" data-add-back-btn="true" data-back-btn-text="Retour">
|
|
|
48 |
<div data-role="header">
|
|
|
49 |
<h1>Accueil</h1>
|
|
|
50 |
</div>
|
|
|
51 |
<div data-role="content" data-theme="g">
|
|
|
52 |
<ul data-role="listview">
|
|
|
53 |
<li>
|
|
|
54 |
<img src="http://www.tela-botanica.org/commun/icones/glyphish/187-pencil.png" class="ui-li-icon"/>
|
|
|
55 |
<a href="#saisie" data-role="button">Saisir une observation</a>
|
|
|
56 |
</li>
|
|
|
57 |
<li>
|
|
|
58 |
<img src="http://www.tela-botanica.org/commun/icones/glyphish/179-notepad.png" class="ui-li-icon"/>
|
|
|
59 |
<a href="#liste" data-role="button">Voir mes observations</a>
|
|
|
60 |
</li>
|
|
|
61 |
<li>
|
|
|
62 |
<img src="http://www.tela-botanica.org/commun/icones/glyphish/56-cloud.png" class="ui-li-icon"/>
|
|
|
63 |
<a href="#transmission" data-role="button">Transmettre mes observations</a>
|
|
|
64 |
</li>
|
|
|
65 |
</ul>
|
|
|
66 |
</div>
|
|
|
67 |
<div data-role="footer" data-position="fixed">
|
|
|
68 |
<a href="#infos" data-role="button">Infos</a>
|
|
|
69 |
</div>
|
|
|
70 |
</div>
|
|
|
71 |
|
|
|
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>
|
|
|
75 |
<h1>Saisie</h1>
|
|
|
76 |
<a href="#liste" data-icon="notepad" data-iconpos="notext">Liste des obs</a>
|
|
|
77 |
</div>
|
|
|
78 |
<form id="form_saisie_observation" method="post" action="#">
|
|
|
79 |
<div data-role="content">
|
|
|
80 |
<div id="conteneur_reponse"></div>
|
|
|
81 |
<div data-role="fieldcontain">
|
|
|
82 |
<!--
|
|
|
83 |
<label for="location">Commune :</label>
|
|
|
84 |
<input type="text" name="location" id="location"/>
|
|
|
85 |
-->
|
|
|
86 |
<button id="geolocaliser" data-role="button" data-icon="search" data-iconpos="">Trouver ma position</button>
|
|
|
87 |
<label for="lat">Latitude :</label>
|
|
|
88 |
<input id="lat" type="text" name="lat"/>
|
|
|
89 |
|
|
|
90 |
<label for="lng">Longitude :</label>
|
|
|
91 |
<input id="lng" type="text" name="lng"/>
|
|
|
92 |
|
|
|
93 |
<label for="date">Date :</label>
|
|
|
94 |
<input id="date" type="text" name="date" value="<?=$aujourdhui?>"/>
|
|
|
95 |
|
|
|
96 |
<label for="nom">Espece :</label>
|
|
|
97 |
<input id="nom" type="text" name="nom"/>
|
|
|
98 |
|
|
|
99 |
<input id="num_nom" type="hidden" name="num_nom"/>
|
|
|
100 |
</div>
|
|
|
101 |
</div>
|
|
|
102 |
<div data-role="footer" data-position="fixed">
|
|
|
103 |
<button id="sauver-obs" data-role="button" data-icon="check">Sauver</button>
|
|
|
104 |
</div>
|
|
|
105 |
</form>
|
|
|
106 |
</div>
|
|
|
107 |
|
|
|
108 |
<div id="liste" data-role="page">
|
|
|
109 |
<div data-role="header" data-position="inline">
|
|
|
110 |
<a href="#menu" data-icon="home" data-iconpos="notext" data-direction="reverse">Accueil</a>
|
|
|
111 |
<h1>Observations</h1>
|
|
|
112 |
</div>
|
|
|
113 |
<div data-role="content">
|
|
|
114 |
<ol id="liste-obs" data-role="listview" data-theme="g" data-inset="true"></ol>
|
|
|
115 |
</div>
|
|
|
116 |
<div data-role="footer" data-position="fixed">
|
|
|
117 |
<div data-role="navbar">
|
|
|
118 |
<ul>
|
|
|
119 |
<li><a href="#saisie" data-role="button" data-icon="pencil" data-iconpos="notext">Saisie</a></li>
|
|
|
120 |
<li><a href="#transmission" data-role="button" data-icon="cloud" data-iconpos="notext">Transmission</a></li>
|
|
|
121 |
</ul>
|
|
|
122 |
</div>
|
|
|
123 |
</div>
|
|
|
124 |
</div>
|
|
|
125 |
|
|
|
126 |
<div id="transmission" data-role="page">
|
|
|
127 |
<div data-role="header">
|
|
|
128 |
<a href="#menu" data-icon="home" data-iconpos="notext" data-direction="reverse">Accueil</a>
|
|
|
129 |
<h1>Transmission</h1>
|
|
|
130 |
<a href="#saisie" data-icon="notepad" data-iconpos="notext">Saisie</a>
|
|
|
131 |
</div>
|
|
|
132 |
<form id="form-transmission" method="post" action="#">
|
|
|
133 |
<div data-role="content">
|
|
|
134 |
<div data-role="fieldcontain">
|
|
|
135 |
<label for="courriel">Courriel :</label>
|
|
|
136 |
<input id="courriel" type="email" name="courriel"/>
|
|
|
137 |
</div>
|
|
|
138 |
</div>
|
|
|
139 |
<div data-role="footer" data-position="fixed">
|
|
|
140 |
<button data-role="button" data-icon="cloud">Transmettre</button>
|
|
|
141 |
</div>
|
|
|
142 |
</form>
|
|
|
143 |
</div>
|
|
|
144 |
|
|
|
145 |
<div id="infos" data-role="page">
|
|
|
146 |
<div data-role="header">
|
|
|
147 |
<a href="#menu" data-icon="home" data-iconpos="notext" data-direction="reverse">Accueil</a>
|
|
|
148 |
<h1>Infos</h1>
|
|
|
149 |
</div>
|
|
|
150 |
<div data-role="content">
|
|
|
151 |
<p>Icônes par <a href="http://glyphish.com">Joseph Wain - Glyphish</a>.</p>
|
|
|
152 |
</div>
|
|
|
153 |
<div data-role="footer" data-position="fixed">
|
|
|
154 |
<p>©Copyright <?=$annee?> - <a href="http://www.tela-botanica.org/site:accueil">Tela Botanica</a></p>
|
|
|
155 |
</div>
|
|
|
156 |
</div>
|
|
|
157 |
</body>
|
|
|
158 |
</html>
|