Subversion Repositories eFlore/Applications.cel

Rev

Rev 2511 | Rev 2550 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
        <title>Export des observations du CeL</title>
        
        <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
        <meta http-equiv="Content-style-type" content="text/css" />
        <meta http-equiv="Content-script-type" content="text/javascript" />
        <meta http-equiv="Content-language" content="fr" />
        
        <meta name="revisit-after" content="15 days" />
    <meta name="robots" content="index,follow" />
    <meta name="author" content="Tela Botanica" />
    <meta name="keywords" content="Tela Botanica, CEL" />
    <meta name="description" content="Widget d'export du carnet en ligne" />
        <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />

        <!-- OpenGraph pour Facebook, Pinterest, Google+ -->
        <meta property="og:type" content="website" />
        <meta property="og:title" content="Export des observations publiques du CeL" />
        <meta property="og:site_name" content="Tela Botanica" />
        <meta property="og:description" content="Export sous forme de fichier des observations publiques du Carnet en Ligne" />
        <meta property="og:image" content="http://resources.tela-botanica.org/tb/img/256x256/carre_englobant.png" />
        <meta property="og:image:type" content="image/png" /> 
        <meta property="og:image:width" content="256" /> 
        <meta property="og:image:height" content="256" />
        <meta property="og:locale" content="fr_FR" />

        <!-- Favicones -->
        <link rel="shortcut icon" type="image/x-icon" href="http://www.tela-botanica.org/favicon.ico" />
        
        <!-- Jquery -->
        <script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/1.7.1/jquery-1.7.1.min.js"></script>
        <script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.17/js/jquery-ui-1.8.17.custom.min.js"></script>
        <script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/jquery-ui/1.8.17/js/jquery.ui.datepicker-fr.js"></script>
        <script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/validate/1.9.0/jquery.validate.js"></script>
        <script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/validate/1.9.0/messages_fr.js"></script>
        <script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/form/2.95/jquery.form.min.js"></script>
        <script src="http://resources.tela-botanica.org/bootstrap/3.1.0/js/bootstrap.min.js"></script>

        <!-- Barre de navigation -->
        <?php if ($bar !== false): ?>
                <script src="<?=$url_script_navigation?>"></script>
        <?php endif; ?>
        
        <!-- Javascript : appli saisie -->
        <script type="text/javascript">
          //<![CDATA[
                        // Nombre d'élément dans les listes d'auto-complétion
                        var AUTOCOMPLETION_ELEMENTS_NBRE = 20;
                        // URL du web service permettant l'auto-complétion des noms scientifiques.
                        var SERVICE_AUTOCOMPLETION_NOM_SCI_URL = "<?= $url_ws_autocompletion_nom_sci; ?>";
                        // URL du web service permettant l'auto-complétion des communes.
                        var SERVICE_AUTOCOMPLETION_COMMUNE_URL = "<?= $url_ws_autocompletion_commune; ?>";
                        // Référentiel en cours d'utilisation pour les noms scientifiques, en dur pour le moment
                        var REFERENTIEL_NOMS_SCI = 'bdtfx';
                        // URL de base du service d'export
                        var SERVICE_EXPORT_URL = "<?= $url_export; ?>";
                        
                //]]>
        </script>
        
        <script type="text/javascript" src="<?= $url_base; ?>modules/export/squelettes/js/export.js"></script>
        
        <!-- CSS -->
        <link href="http://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" />
        <!-- <link href="http://www.tela-botanica.org/commun/bootstrap/2.0.2/css/bootstrap.min.css" rel="stylesheet" type="text/css" media="screen" /> -->
        <link rel="stylesheet" type="text/css" href="http://resources.tela-botanica.org/bootstrap/3.1.0/css/bootstrap.min.css" />
        <link href="<?= $url_base; ?>modules/export/squelettes/css/export.css" rel="stylesheet" type="text/css" media="screen" />
  </head>

  <body>
        <?php if ($bar !== false): ?>
                <div id="tb-navigation" data-courant="widget-cel-export" data-squelette="bootstrap3" data-mode="prod">
                </div>
                <br/>
        <?php endif; ?>

        <div id="zone-appli" class="container">
          <form id="form-export-obs" class="well" action="<?= $url_export.'/' ?>" method="get" >
                <h1 id="widget-titre"> Export des données du CEL</h1>
                <div class="row-fluid">
                  <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" /> 
                </div >
                
                <div class="row-fluid">
                  <label for="commune">Pays </label>
                        <select name="pays" id="pays" class="form-control" >
                                <option value="">...</option>
                                <option value="AF" >Afghanistan</option>
                                <option value="ZA" >Afrique du Sud</option>
                                <option value="AL" >Albanie</option>
                                <option value="DZ" >Alg&eacute;rie</option>
                                <option value="DE" >Allemagne</option>
                                <option value="AD" >Andorre</option>
                                <option value="AO" >Angola</option>
                                <option value="AI" >Anguilla</option>
                                <option value="AQ" >Antarctique</option>
                                <option value="AG" >Antigua et Barbuda</option>
                                <option value="AN" >Antilles n&eacute;erlandaises</option>
                                <option value="SA" >Arabie Saoudite</option>
                                <option value="AR" >Argentine</option>
                                <option value="AM" >Arm&eacute;nie</option>
                                <option value="AW" >Aruba</option>
                                <option value="AU" >Australie</option>
                                <option value="AT" >Autriche</option>
                                <option value="AZ" >Azerba&iuml;djan</option>
                                <option value="BS" >Bahamas</option>
                                <option value="BH" >Bahrein</option>
                                <option value="BD" >Bangladesh</option>
                                <option value="BB" >Barbade</option>
                                <option value="BY" >B&eacute;larus</option>
                                <option value="BE" >Belgique</option>
                                <option value="BZ" >B&eacute;lize</option>
                                <option value="BJ" >B&eacute;nin</option>
                                <option value="BM" >Bermudes</option>
                                <option value="BT" >Bhoutan</option>
                                <option value="BO" >Bolivie</option>
                                <option value="BA" >Bosnie herz&eacute;govine</option>
                                <option value="BW" >Botswana</option>
                                <option value="BV" >Bouvet, Ile</option>
                                <option value="BR" >Br&eacute;sil</option>
                                <option value="BN" >Brunei Darussalam</option>
                                <option value="BG" >Bulgarie</option>
                                <option value="BF" >Burkina Faso</option>
                                <option value="BI" >Burundi</option>
                                <option value="KY" >Ca&iuml;manes, Iles</option>
                                <option value="KH" >Cambodge</option>
                                <option value="CM" >Cameroun</option>
                                <option value="CA" >Canada</option>
                                <option value="CV" >Cap-Vert</option>
                                <option value="CF" >Centrafricaine, R&eacute;publique</option>
                                <option value="CL" >Chili</option>
                                <option value="CN" >Chine</option>
                                <option value="CX" >Christmas, &icirc;le</option>
                                <option value="CY" >Chypre</option>
                                <option value="CC" >Cocos (Keeling), Iles</option>
                                <option value="CO" >Colombie</option>
                                <option value="KM" >Comores</option>
                                <option value="CG" >Congo</option>
                                <option value="CD" >Congo, R&eacute;publique d&eacute;mocratique du</option>
                                <option value="CK" >Cook, Iles</option>
                                <option value="KR" >Cor&eacute;e, R&eacute;publique de</option>
                                <option value="KP" >Cor&eacute;e, R&eacute;publique populaire d&eacute;mocratique de</option>
                                <option value="CR" >Costa Rica</option>
                                <option value="CI" >C&ocirc;te d'Ivoire</option>
                                <option value="HR" >Croatie</option>
                                <option value="CU" >Cuba</option>
                                <option value="DK" >Danemark</option>
                                <option value="DJ" >Djibouti</option>
                                <option value="DO" >Dominicaine, R&eacute;publique</option>
                                <option value="DM" >Dominique</option>
                                <option value="EG" >Egypte</option>
                                <option value="SV" >El Salvador</option>
                                <option value="AE" >Emirats arabes unis</option>
                                <option value="EC" >Equateur</option>
                                <option value="ER" >Erythr&eacute;e</option>
                                <option value="ES" >Espagne</option>
                                <option value="EE" >Estonie</option>
                                <option value="US" >Etats-Unis</option>
                                <option value="ET" >Ethiopie</option>
                                <option value="FK" >Falkland, Iles (Malvinas)</option>
                                <option value="FO" >Feroe, &icirc;les</option>
                                <option value="FJ" >Fidji</option>
                                <option value="FI" >Finlande</option>
                                <option value="FR,FX,GF,PF,TF">France (tout)</option>
                                <option value="FR,FX" >France métropolitaine</option>
                                <option value="GA" >Gabon</option>
                                <option value="GM" >Gambie</option>
                                <option value="GE" >G&eacute;orgie</option>
                                <option value="GS" >G&eacute;orgie du sud et les iles sandwich du sud</option>
                                <option value="GH" >Ghana</option>
                                <option value="GI" >Gibraltar</option>
                                <option value="GR" >Gr&egrave;ce</option>
                                <option value="GD" >Grenade</option>
                                <option value="GL" >Groenland</option>
                                <option value="GP" >Guadeloupe</option>
                                <option value="GU" >Guam</option>
                                <option value="GT" >Guatemala</option>
                                <option value="GG" >Guernesey</option>
                                <option value="GN" >Guin&eacute;e</option>
                                <option value="GW" >Guin&eacute;e-Bissau</option>
                                <option value="GQ" >Guin&eacute;e &eacute;quatoriale</option>
                                <option value="GY" >Guyana</option>
                                <option value="GF" >Guyane fran&ccedil;aise</option>
                                <option value="HT" >Ha&iuml;ti</option>
                                <option value="HM" >Heard, Ile et McDonald, &icirc;les</option>
                                <option value="HN" >Honduras</option>
                                <option value="HK" >Hong-Kong</option>
                                <option value="HU" >Hongrie</option>
                                <option value="IM" >&Icirc;le de Man</option>
                                <option value="UM" >&Icirc;les mineures &eacute;loign&eacute;es des Etats-Unis</option>
                                <option value="VG" >&Icirc;les vierges britanniques</option>
                                <option value="VI" >&Icirc;les vierges des Etats-Unis</option>
                                <option value="XX" >Inconnu, Pays</option>
                                <option value="IN" >Inde</option>
                                <option value="ID" >Indon&eacute;sie</option>
                                <option value="IR" >Iran, R&eacute;publique islamique d'</option>
                                <option value="IQ" >Iraq</option>
                                <option value="IE" >Irlande</option>
                                <option value="IS" >Islande</option>
                                <option value="IL" >Isra&euml;l</option>
                                <option value="IT" >Italie</option>
                                <option value="JM" >Jama&iuml;que</option>
                                <option value="JP" >Japon</option>
                                <option value="JE" >Jersey</option>
                                <option value="JO" >Jordanie</option>
                                <option value="KZ" >Kazakhstan</option>
                                <option value="KE" >Kenya</option>
                                <option value="KG" >Kirghizistan</option>
                                <option value="KI" >Kiribati</option>
                                <option value="KW" >Kowe&iuml;t</option>
                                <option value="LA" >Lao, R&eacute;publique d&eacute;mocratique populaire</option>
                                <option value="LS" >Lesotho</option>
                                <option value="LV" >Lettonie</option>
                                <option value="LB" >Liban</option>
                                <option value="LR" >Lib&eacute;ria</option>
                                <option value="LY" >Libyenne, Jamahiriya arabe</option>
                                <option value="LI" >Liechtenstein</option>
                                <option value="LT" >Lituanie</option>
                                <option value="LU" >Luxembourg</option>
                                <option value="MO" >Macao</option>
                                <option value="MK" >Mac&eacute;doine, l'ex-R&eacute;publique yougoslave de</option>
                                <option value="MG" >Madagascar</option>
                                <option value="MY" >Malaisie</option>
                                <option value="MW" >Malawi</option>
                                <option value="MV" >Maldives</option>
                                <option value="ML" >Mali</option>
                                <option value="MT" >Malte</option>
                                <option value="MP" >Mariannes du nord, Iles</option>
                                <option value="MA" >Maroc</option>
                                <option value="MH" >Marshall, Iles</option>
                                <option value="MQ" >Martinique</option>
                                <option value="MU" >Maurice</option>
                                <option value="MR" >Mauritanie</option>
                                <option value="YT" >Mayotte</option>
                                <option value="MX" >Mexique</option>
                                <option value="FM" >Micron&eacute;sie, Etats F&eacute;d&eacute;r&eacute;s de</option>
                                <option value="MD" >Moldova, R&eacute;publique de</option>
                                <option value="MC" >Monaco</option>
                                <option value="MN" >Mongolie</option>
                                <option value="ME" >Mont&eacute;n&eacute;gro</option>
                                <option value="MS" >Montserrat</option>
                                <option value="MZ" >Mozambique</option>
                                <option value="ZZ" >pays multiples</option>
                                <option value="MM" >Myanmar</option>
                                <option value="NA" >Namibie</option>
                                <option value="NR" >Nauru</option>
                                <option value="NP" >N&eacute;pal</option>
                                <option value="NI" >Nicaragua</option>
                                <option value="NE" >Niger</option>
                                <option value="NG" >Nig&eacute;ria</option>
                                <option value="NU" >Niou&eacute;</option>
                                <option value="NF" >Norfolk, Ile</option>
                                <option value="NO" >Norv&egrave;ge</option>
                                <option value="NC" >Nouvelle-Cal&eacute;donie</option>
                                <option value="NZ" >Nouvelle-Z&eacute;lande</option>
                                <option value="IO" >Oc&eacute;an indien, Territoire britannique de l'</option>
                                <option value="OM" >Oman</option>
                                <option value="UG" >Ouganda</option>
                                <option value="UZ" >Ouzb&eacute;kistan</option>
                                <option value="PK" >Pakistan</option>
                                <option value="PW" >Palaos</option>
                                <option value="PA" >Panama</option>
                                <option value="PG" >Papouasie-Nouvelle-Guin&eacute;e</option>
                                <option value="PY" >Paraguay</option>
                                <option value="NL" >Pays-Bas</option>
                                <option value="XX" >Pays inconnu</option>
                                <option value="PE" >P&eacute;rou</option>
                                <option value="PH" >Philippines</option>
                                <option value="PN" >Pitcairn</option>
                                <option value="PL" >Pologne</option>
                                <option value="PF" >Polyn&eacute;sie fran&ccedil;aise</option>
                                <option value="PR" >Porto Rico</option>
                                <option value="PT" >Portugal</option>
                                <option value="QA" >Qatar</option>
                                <option value="RE" >R&eacute;union</option>
                                <option value="RO" >Roumanie</option>
                                <option value="GB" >Royaume-Uni</option>
                                <option value="RU" >Russie, F&eacute;d&eacute;ration de</option>
                                <option value="RW" >Rwanda</option>
                                <option value="EH" >Sahara occidental</option>
                                <option value="SH" >Sainte-H&eacute;l&egrave;ne</option>
                                <option value="KN" >Saint-Kitts-et-Nevis</option>
                                <option value="LC" >Sainte-Lucie</option>
                                <option value="SM" >Saint-Marin</option>
                                <option value="PM" >Saint-Pierre-et-Miquelon</option>
                                <option value="VA" >Saint-Si&egrave;ge (Etat de la cit&eacute; du Vatican)</option>
                                <option value="VC" >Saint-Vincent-et-les-Grenadines</option>
                                <option value="SB" >Salomon, Iles</option>
                                <option value="WS" >Samoa</option>
                                <option value="AS" >Samoa am&eacute;ricaines</option>
                                <option value="ST" >Sao Tom&eacute;-et-Principe</option>
                                <option value="SN" >S&eacute;n&eacute;gal</option>
                                <option value="RS" >Serbie</option>
                                <option value="SC" >Seychelles</option>
                                <option value="SL" >Sierra Leone</option>
                                <option value="SG" >Singapour</option>
                                <option value="SK" >Slovaquie</option>
                                <option value="SI" >Slov&eacute;nie</option>
                                <option value="SO" >Somalie</option>
                                <option value="SD" >Soudan</option>
                                <option value="LK" >Sri Lanka</option>
                                <option value="SE" >Su&egrave;de</option>
                                <option value="CH" >Suisse</option>
                                <option value="SR" >Suriname</option>
                                <option value="SJ" >Svalbard et &icirc;le Jan Mayen</option>
                                <option value="SZ" >Swaziland</option>
                                <option value="SY" >Syrienne, R&eacute;publique arabe</option>
                                <option value="TJ" >Tadjikistan</option>
                                <option value="TW" >Ta&iuml;wan, Province de Chine</option>
                                <option value="TZ" >Tanzanie, R&eacute;publique unie de</option>
                                <option value="TD" >Tchad</option>
                                <option value="CZ" >Tch&egrave;que, R&eacute;publique</option>
                                <option value="TF" >Terres australes fran&ccedil;aises</option>
                                <option value="TH" >Tha&iuml;lande</option>
                                <option value="TL" >Timor-Leste</option>
                                <option value="TG" >Togo</option>
                                <option value="TK" >Tokelau</option>
                                <option value="TO" >Tonga</option>
                                <option value="TT" >Trinit&eacute;-et-Tobago</option>
                                <option value="TN" >Tunisie</option>
                                <option value="TM" >Turkm&eacute;nistan</option>
                                <option value="TC" >Turks et Ca&iuml;ques, Iles</option>
                                <option value="TR" >Turquie</option>
                                <option value="TV" >Tuvalu</option>
                                <option value="UA" >Ukraine</option>
                                <option value="UY" >Uruguay</option>
                                <option value="VU" >Vanuatu</option>
                                <option value="VE" >Venezuela</option>
                                <option value="VN" >Viet Nam</option>
                                <option value="WF" >Wallis et Futuna</option>
                                <option value="YE" >Y&eacute;men</option>
                                <option value="YU" >Yougoslavie</option>
                                <option value="ZM" >Zambie</option>
                                <option value="ZW" >Zimbabwe</option>
                        </select>
                </div>
                
                <div class="row-fluid">
                  <label for="commune">Commune </label>
                  <input id="commune" class="large" name="commune" type="text" placeholder="ex: Montpellier" /> 
                </div>
                <div class="row-fluid">
                  <label for="dept">Département(s) </label>
                  <input id="dept" class="large" name="dept" type="text" placeholder="ex: 34 OU 26,84,34..." /> 
                </div>
                <div class="row-fluid">
                  <label for="projet">Projet </label>
                  <input id="projet" class="large" name="projet" type="text" placeholder="ex: sauvages" value="<?= $projet ?>" /> 
                </div>
                <div class="row-fluid">
                  <label for="num_taxon">Taxon (France uniquement)</label>
                  <input id="taxon" class="large" name="taxon" type="text" placeholder="ex: Viola OU Viola alba OU Violaceae" /> 
                </div>
                <div class="row-fluid conteneur_dates">
                  <div class="conteneur_date">
                        <label for="date_debut">Date de début </label>
                        <input  id="date_debut" name="date_debut" type="text" placeholder="jj/mm/aaaa" />
                  </div>
                  <div class="conteneur_date">
                        <label for="date_fin">Date de fin </label>
                        <input id="date_fin" name="date_fin" type="text" placeholder="jj/mm/aaaa" /> 
                  </div>
                </div>
                <div class="row-fluid conteneur_selection_format">
                  <label class="titre_format_export">Format d'export</label>
                  <ul>
            <li>
                          <label class="radio" for="format_xls">
                                <input type="radio" class="selection_format" name="format" value="xls" id="format_xls" checked="checked" />
                                excel (.xls)
                          </label>
                        </li>
            <li>
              <label class="radio" for="format_csv">
                <input type="radio" class="selection_format" name="format" value="csv" id="format_csv"/>
                csv (.csv)
              </label>
                        </li>
                  </ul>
                </div>

                <div class="row-fluid conteneur_selection_champ">
                  <a class="btn btn-default" href="#" id="label_options_export">Afficher les options d'export avancées</a>
                  <div id="checkbox_set_cols" style="display: none;" >
                        <!-- problème: readonly sur checkbox n'empêche pas de changer le statut (un)checked -->
                        <!-- <input type="checkbox" name="colonnes[]" readonly="readonly" checked="1" value="standard" />standard (nom scientifique, date, ...)<br/> -->
                        <input type="hidden" name="colonnes[]" value="standard" /> 
                        <input type="checkbox" name="colonnes[]" disabled="disabled" checked="1" value="standard" />standard (nom scientifique, date, ...)<br/> 
                        <input type="checkbox" name="colonnes[]" value="avance" />avancées (commentaire, ordre, mots-clef, abondance, images, nom commun, ...)<br/>
                        <input type="checkbox" name="colonnes[]" value="etendu" />étendues (champs étendus spécifiques, eg: florilèges<br/>
                        <input type="checkbox" name="colonnes[]" value="baseflor" />écologiques (données Baseflor et syntaxons Baseveg)<br/>
                        <!-- <input type="checkbox" name="colonnes[]" value="auteur" checked="checked" readonly="readonly" />Observateur<br/> -->
                        <input type="hidden" name="colonnes[]" value="auteur" />
                        <input type="checkbox" name="colonnes[]" disabled="disabled" checked="1" value="auteur" />Observateur<br/>
                  </div>
                </div>

                <input class="btn btn-success" style="margin-top: 10px;" value="Télécharger les données" type="submit" /> 

                <div class="attention">
                  Le volume de données à exporter est trop important,<br /> l'export a donc été divisé en plusieurs feuilles
                  à télécharger avec les liens ci-dessous<br /> (cliquer sur ces liens ne fermera pas cette fenetre).
                  <div id="liste_telechargements">
                  </div>
                </div>
          </form>
        </div>
        <!-- Stats : Google Analytics-->
        <script type="text/javascript">
          //<![CDATA[
                        var _gaq = _gaq || [];
                        _gaq.push(['_setAccount', 'UA-20092557-1']);
                        _gaq.push(['_trackPageview']);
                        
                        (function() {
                          var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
                          ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                          var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
                        })();
                        //]]>
        </script>
  </body>
</html>