1375 |
aurelien |
1 |
<!DOCTYPE html>
|
|
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
1712 |
raphael |
3 |
<head>
|
2351 |
mathias |
4 |
<title>Export des observations du CeL</title>
|
1712 |
raphael |
5 |
|
|
|
6 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
|
|
7 |
<meta http-equiv="Content-style-type" content="text/css" />
|
|
|
8 |
<meta http-equiv="Content-script-type" content="text/javascript" />
|
|
|
9 |
<meta http-equiv="Content-language" content="fr" />
|
|
|
10 |
|
|
|
11 |
<meta name="revisit-after" content="15 days" />
|
|
|
12 |
<meta name="robots" content="index,follow" />
|
2511 |
mathias |
13 |
<meta name="author" content="Tela Botanica" />
|
1712 |
raphael |
14 |
<meta name="keywords" content="Tela Botanica, CEL" />
|
|
|
15 |
<meta name="description" content="Widget d'export du carnet en ligne" />
|
2351 |
mathias |
16 |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
|
1375 |
aurelien |
17 |
|
2511 |
mathias |
18 |
<!-- OpenGraph pour Facebook, Pinterest, Google+ -->
|
|
|
19 |
<meta property="og:type" content="website" />
|
|
|
20 |
<meta property="og:title" content="Export des observations publiques du CeL" />
|
|
|
21 |
<meta property="og:site_name" content="Tela Botanica" />
|
|
|
22 |
<meta property="og:description" content="Export sous forme de fichier des observations publiques du Carnet en Ligne" />
|
2993 |
mathias |
23 |
<meta property="og:image" content="https://resources.tela-botanica.org/tb/img/256x256/carre_englobant.png" />
|
2511 |
mathias |
24 |
<meta property="og:image:type" content="image/png" />
|
|
|
25 |
<meta property="og:image:width" content="256" />
|
|
|
26 |
<meta property="og:image:height" content="256" />
|
|
|
27 |
<meta property="og:locale" content="fr_FR" />
|
|
|
28 |
|
1712 |
raphael |
29 |
<!-- Favicones -->
|
2993 |
mathias |
30 |
<link rel="shortcut icon" type="image/x-icon" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.ico" />
|
1712 |
raphael |
31 |
|
|
|
32 |
<!-- Jquery -->
|
2993 |
mathias |
33 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/1.7.1/jquery-1.7.1.min.js"></script>
|
|
|
34 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.17/js/jquery-ui-1.8.17.custom.min.js"></script>
|
|
|
35 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.17/js/jquery.ui.datepicker-fr.js"></script>
|
3134 |
delphine |
36 |
|
|
|
37 |
|
3159 |
delphine |
38 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/jquery.validate-patched.min.js"></script>
|
|
|
39 |
<script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/additional-methods.min.js"></script>
|
2993 |
mathias |
40 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/validate/1.9.0/messages_fr.js"></script>
|
|
|
41 |
<script type="text/javascript" src="https://www.tela-botanica.org/commun/jquery/form/2.95/jquery.form.min.js"></script>
|
|
|
42 |
<script src="https://resources.tela-botanica.org/bootstrap/3.1.0/js/bootstrap.min.js"></script>
|
2351 |
mathias |
43 |
|
|
|
44 |
<!-- Barre de navigation -->
|
|
|
45 |
<?php if ($bar !== false): ?>
|
|
|
46 |
<script src="<?=$url_script_navigation?>"></script>
|
|
|
47 |
<?php endif; ?>
|
1712 |
raphael |
48 |
|
|
|
49 |
<!-- Javascript : appli saisie -->
|
|
|
50 |
<script type="text/javascript">
|
|
|
51 |
//<![CDATA[
|
1375 |
aurelien |
52 |
// Nombre d'élément dans les listes d'auto-complétion
|
|
|
53 |
var AUTOCOMPLETION_ELEMENTS_NBRE = 20;
|
|
|
54 |
// URL du web service permettant l'auto-complétion des noms scientifiques.
|
1383 |
aurelien |
55 |
var SERVICE_AUTOCOMPLETION_NOM_SCI_URL = "<?= $url_ws_autocompletion_nom_sci; ?>";
|
|
|
56 |
// URL du web service permettant l'auto-complétion des communes.
|
1375 |
aurelien |
57 |
var SERVICE_AUTOCOMPLETION_COMMUNE_URL = "<?= $url_ws_autocompletion_commune; ?>";
|
1623 |
aurelien |
58 |
// Référentiel en cours d'utilisation pour les noms scientifiques, en dur pour le moment
|
|
|
59 |
var REFERENTIEL_NOMS_SCI = 'bdtfx';
|
1626 |
aurelien |
60 |
// URL de base du service d'export
|
|
|
61 |
var SERVICE_EXPORT_URL = "<?= $url_export; ?>";
|
|
|
62 |
|
3134 |
delphine |
63 |
|
1375 |
aurelien |
64 |
//]]>
|
1712 |
raphael |
65 |
</script>
|
|
|
66 |
|
|
|
67 |
<script type="text/javascript" src="<?= $url_base; ?>modules/export/squelettes/js/export.js"></script>
|
|
|
68 |
|
|
|
69 |
<!-- CSS -->
|
2999 |
mathias |
70 |
<link href="https://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.18/css/smoothness/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" media="screen" />
|
|
|
71 |
<!-- <link href="https://www.tela-botanica.org/commun/bootstrap/2.0.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" media="screen" /> -->
|
2993 |
mathias |
72 |
<link rel="stylesheet" type="text/css" href="https://resources.tela-botanica.org/bootstrap/3.1.0/css/bootstrap.min.css" />
|
1712 |
raphael |
73 |
<link href="<?= $url_base; ?>modules/export/squelettes/css/export.css" rel="stylesheet" type="text/css" media="screen" />
|
2848 |
mathias |
74 |
|
|
|
75 |
<!-- Google Analytics -->
|
|
|
76 |
<?php if($prod): ?>
|
|
|
77 |
<?php include "analytics.html"; ?>
|
|
|
78 |
<?php endif; ?>
|
1712 |
raphael |
79 |
</head>
|
1375 |
aurelien |
80 |
|
1712 |
raphael |
81 |
<body>
|
2351 |
mathias |
82 |
<?php if ($bar !== false): ?>
|
2352 |
mathias |
83 |
<div id="tb-navigation" data-courant="widget-cel-export" data-squelette="bootstrap3" data-mode="prod">
|
2351 |
mathias |
84 |
</div>
|
|
|
85 |
<br/>
|
|
|
86 |
<?php endif; ?>
|
|
|
87 |
|
1712 |
raphael |
88 |
<div id="zone-appli" class="container">
|
|
|
89 |
<form id="form-export-obs" class="well" action="<?= $url_export.'/' ?>" method="get" >
|
|
|
90 |
<h1 id="widget-titre"> Export des données du CEL</h1>
|
3131 |
delphine |
91 |
<div class="row-fluid panel panel-default conteneur_selection_filtres">
|
|
|
92 |
<div class="panel-heading">
|
|
|
93 |
<div class="panel-title">
|
|
|
94 |
<a data-toggle="collapse" data-parent="#accordion" href="#filtres_export" id="label_filtres_export">Filtres</a>
|
|
|
95 |
</div>
|
|
|
96 |
</div>
|
|
|
97 |
<div id="filtres_export" class="panel-collapse collapse in" >
|
|
|
98 |
<div class="panel-body">
|
|
|
99 |
<div class="row-fluid">
|
|
|
100 |
<label for="utilisateur">Email de la source des données </label><input id="utilisateur" class="large" name="utilisateur" type="text" placeholder="ex: accueil@tela-botanica.org" />
|
|
|
101 |
</div >
|
|
|
102 |
|
|
|
103 |
<div class="row-fluid">
|
|
|
104 |
<label for="commune">Pays </label>
|
|
|
105 |
<select name="pays" id="pays" class="form-control" >
|
|
|
106 |
<option value="">...</option>
|
|
|
107 |
<?php foreach($liste_pays as $pays) { ?>
|
|
|
108 |
<option value="<?= $pays['code_iso_3166_1']; ?>"><?= $pays['nom']; ?></option>
|
|
|
109 |
<?php } ?>
|
|
|
110 |
</select>
|
|
|
111 |
</div>
|
|
|
112 |
|
|
|
113 |
<div class="row-fluid">
|
|
|
114 |
<label for="commune">Commune </label>
|
|
|
115 |
<input id="commune" class="large" name="commune" type="text" placeholder="ex: Montpellier" />
|
|
|
116 |
</div>
|
|
|
117 |
<div class="row-fluid">
|
|
|
118 |
<label for="dept">Département(s) </label>
|
|
|
119 |
<input id="dept" class="large" name="dept" type="text" placeholder="ex: 34 OU 26,84,34..." />
|
|
|
120 |
</div>
|
|
|
121 |
<div class="row-fluid">
|
3134 |
delphine |
122 |
<label for="projet">Mots-clés </label>
|
3131 |
delphine |
123 |
<input id="projet" class="large" name="projet" type="text" placeholder="ex: defiphoto, abba" value="<?= $projet ?>" />
|
|
|
124 |
</div>
|
|
|
125 |
<div class="row-fluid">
|
3485 |
delphine |
126 |
|
3134 |
delphine |
127 |
<label title="Programme de sciences participatives ou observatoire citoyen" for="programme">Programme </label>
|
|
|
128 |
<select name="programme" id="programme" class="form-control">
|
3131 |
delphine |
129 |
<option value="">...</option>
|
|
|
130 |
<option value="sauvages">Sauvages de ma rue</option>
|
|
|
131 |
<option value="missions-flore">Missions flore</option>
|
|
|
132 |
<option value="messicoles">Observatoire Des Messicoles</option>
|
|
|
133 |
<option value="arbres-tetards">Arbres têtards</option>
|
|
|
134 |
<option value="arbres-remarquables">Arbres remarquables</option>
|
3696 |
delphine |
135 |
<option value="tb_lichensgo">Lichens Go !</option>
|
|
|
136 |
<option value="tb_streets">sTREEts</option>
|
3131 |
delphine |
137 |
</select>
|
|
|
138 |
</div>
|
|
|
139 |
<div class="row-fluid">
|
|
|
140 |
<label for="num_taxon">Taxon</label>
|
|
|
141 |
<input id="taxon" class="large" name="taxon" type="text" placeholder="ex: Viola OU Viola alba OU Violaceae" />
|
|
|
142 |
</div>
|
|
|
143 |
<div class="row-fluid">
|
3134 |
delphine |
144 |
<input type="checkbox" name="identiplante"
|
|
|
145 |
title ="exporter uniquement les observations dont l'espèce a été validée par le réseau" value="1" />
|
|
|
146 |
validé sur IdentiPlante<br/>
|
3131 |
delphine |
147 |
</div>
|
3134 |
delphine |
148 |
<div class="row-fluid">
|
|
|
149 |
<input type="checkbox" name="standard" checked="1"
|
|
|
150 |
title ="exporter uniquement les observations possédant un lieu, une date et une détermination non déclarée douteuse ou à déterminer" value="1" />
|
|
|
151 |
données standards<br/>
|
|
|
152 |
</div>
|
3131 |
delphine |
153 |
<div class="row-fluid conteneur_dates">
|
|
|
154 |
<div class="conteneur_date">
|
|
|
155 |
<label for="date_debut">Date de début </label>
|
|
|
156 |
<input id="date_debut" name="date_debut" type="text" placeholder="jj/mm/aaaa" />
|
|
|
157 |
</div>
|
|
|
158 |
<div class="conteneur_date">
|
|
|
159 |
<label for="date_fin">Date de fin </label>
|
|
|
160 |
<input id="date_fin" name="date_fin" type="text" placeholder="jj/mm/aaaa" />
|
|
|
161 |
</div>
|
|
|
162 |
<div class="clear"></div>
|
|
|
163 |
</div>
|
|
|
164 |
</div>
|
|
|
165 |
</div>
|
2540 |
aurelien |
166 |
</div>
|
|
|
167 |
|
3131 |
delphine |
168 |
<div class="row-fluid panel panel-default conteneur_selection_format">
|
|
|
169 |
<div class="panel-heading">
|
|
|
170 |
<div class="panel-title">
|
|
|
171 |
<a data-toggle="collapse" data-parent="#accordion" href="#format_export" id="label_format_export">Format d'export</a>
|
|
|
172 |
</div>
|
|
|
173 |
</div>
|
|
|
174 |
<div id="format_export" class="panel-collapse collapse in" >
|
|
|
175 |
<div class="panel-body">
|
|
|
176 |
<ul>
|
|
|
177 |
<li>
|
|
|
178 |
<label class="radio" for="format_xls">
|
|
|
179 |
<input type="radio" class="selection_format" name="format" value="xls" id="format_xls" checked="checked" />
|
|
|
180 |
excel (.xls)
|
|
|
181 |
</label>
|
|
|
182 |
</li>
|
|
|
183 |
<li>
|
|
|
184 |
<label class="radio" for="format_csv">
|
|
|
185 |
<input type="radio" class="selection_format" name="format" value="csv" id="format_csv"/>
|
|
|
186 |
csv (.csv)
|
|
|
187 |
</label>
|
|
|
188 |
</li>
|
|
|
189 |
</ul>
|
|
|
190 |
</div>
|
|
|
191 |
</div>
|
1712 |
raphael |
192 |
</div>
|
1710 |
raphael |
193 |
|
3131 |
delphine |
194 |
<div class="row-fluid panel panel-default">
|
|
|
195 |
<div class="panel-heading">
|
|
|
196 |
<div class="panel-title">
|
|
|
197 |
<a data-toggle="collapse" data-parent="#accordion" href="#checkbox_set_cols" id="label_options_export">Champs à exporter</a>
|
|
|
198 |
</div>
|
|
|
199 |
</div>
|
|
|
200 |
<div id="checkbox_set_cols" class="panel-collapse collapse" >
|
|
|
201 |
<div class="panel-body">
|
|
|
202 |
<!-- problème: readonly sur checkbox n'empêche pas de changer le statut (un)checked -->
|
3142 |
delphine |
203 |
<!-- <input type="checkbox" name="colonnes[]" readonly="readonly" checked="1" value="standard" />standard (nom scientifique, date ...)<br/> -->
|
3134 |
delphine |
204 |
<input type="hidden" name="colonnes[]" value="standardexport" />
|
3485 |
delphine |
205 |
<input type="hidden" name="colonnes[]" disabled="disabled" checked="1" value="standard" />
|
|
|
206 |
<input type="checkbox" name="colonnes[]" value="avance" />avancés (nom commun, précision de la localisation, station, Score IdentiPlante, abondance, phénologie, ...)<br/>
|
|
|
207 |
<input type="checkbox" name="colonnes[]" value="etendu" />étendus (champs spécifiques à un programme)<br/>
|
3131 |
delphine |
208 |
<input type="checkbox" name="colonnes[]" value="baseflor" />écologiques (données Baseflor et syntaxons Baseveg)<br/>
|
|
|
209 |
<!-- <input type="checkbox" name="colonnes[]" value="auteur" checked="checked" readonly="readonly" />Observateur<br/> -->
|
|
|
210 |
<input type="hidden" name="colonnes[]" value="auteur" />
|
3492 |
delphine |
211 |
<input type="hidden" name="colonnes[]" disabled="disabled" checked="1" value="auteur" />
|
3131 |
delphine |
212 |
</div>
|
|
|
213 |
</div>
|
1712 |
raphael |
214 |
</div>
|
3131 |
delphine |
215 |
|
1710 |
raphael |
216 |
|
3131 |
delphine |
217 |
|
2351 |
mathias |
218 |
<input class="btn btn-success" style="margin-top: 10px;" value="Télécharger les données" type="submit" />
|
1717 |
raphael |
219 |
|
1712 |
raphael |
220 |
<div class="attention">
|
|
|
221 |
Le volume de données à exporter est trop important,<br /> l'export a donc été divisé en plusieurs feuilles
|
|
|
222 |
à télécharger avec les liens ci-dessous<br /> (cliquer sur ces liens ne fermera pas cette fenetre).
|
|
|
223 |
<div id="liste_telechargements">
|
|
|
224 |
</div>
|
|
|
225 |
</div>
|
|
|
226 |
</form>
|
|
|
227 |
</div>
|
|
|
228 |
</body>
|
3020 |
mathias |
229 |
</html>
|