Subversion Repositories eFlore/Applications.cel

Rev

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

<!DOCTYPE html>
<html xmlns="https://www.w3.org/1999/xhtml">
        <head>
                <title><?php echo $widget['titre']; ?></title>

                <meta charset="utf-8" />
                <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="Widgets de saisie du carnet en ligne pour APA" />
                <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no" />

                <!-- OpenGraph pour Facebook, Pinterest, Google+ -->
                <meta property="og:type" content="website" />
                <meta property="og:title" content="Widgets de saisie du CeL pour APA" />
                <meta property="og:site_name" content="Tela Botanica" />
                <meta property="og:description" content="Widgets de saisie du Carnet en Ligne pour APA" />
                <meta property="og:image" content="https://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" />

                <!-- Favicone -->
                <link rel="shortcut icon" type="image/x-icon" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.ico" />
                <!-- Jquery-ui custom css-->
                <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" />
                <!-- Bootstrap CSS -->
                <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous" />
                <!-- Fontawesome -->
                <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.1/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
                <!-- Carto -->
                <link href="<?php echo $url_base; ?>js/tb-geoloc/styles.css" rel="stylesheet" type="text/css" media="screen" />
                <!-- STYLE APA -->
                <link href="<?php echo $url_base; ?>css/apa.css" rel="stylesheet" type="text/css" media="screen" />

                <!--  Google Analytics -->
                <?php if( $prod ): ?>
                        <?php include "analytics.html"; ?>
                <?php endif; ?>
                <!-- <link rel="icon" type="image/x-icon" href="https://resources.tela-botanica.org/tb/img/16x16/favicon.ico" /> -->
                <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
                <!-- carto -->
                <script type="text/javascript" src="<?php echo $url_base; ?>js/tb-geoloc/tb-geoloc-lib-app.js"></script>

                <!-- Jquery -->
                <script type="text/javascript" src="https://resources.tela-botanica.org/jquery/1.11.1/jquery-1.11.1.min.js"></script>

                <!-- Jquery UI : nécessaire pour le minicalendrier et l'auto-complétion -->
                <script type="text/javascript" src="https://resources.tela-botanica.org/jquery/jquery-ui/1.11.0/js/jquery-ui.min.js"></script>
                <!-- <script type="text/javascript" src="https://resources.tela-botanica.org/jquery/jquery-ui/1.11.0/js/datepicker-fr.js"></script> -->
                <!-- Jquery Plugins -->
                <!-- Jquery Validate : nécessaire pour la validation des formulaires -->
                <script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/jquery.validate.min.js"></script>
                <script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/additional-methods.min.js"></script>
                <script type="text/javascript" src="https://resources.tela-botanica.org/jquery/validate/1.11.1/messages_fr.js"></script>
                <!-- Jquery Form :nécessaire pour l'upload des images -->
                <script type="text/javascript" src="https://resources.tela-botanica.org/jquery/form/3.51/jquery.form.min.js"></script>
                <!-- Bootstrap -->
                <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
                <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
                <script type="text/javascript" src="<?php echo $url_base; ?>js/UtilsApa.js"></script>
                <!-- chargement des formulaires -->
                <script type="text/javascript" src="<?php echo $url_base; ?>js/WidgetApa.js"></script>
                <script type="text/javascript">
                //<![CDATA[
                $( document ).ready( function() {
                        releve = null;
                        widget = new WidgetApa();
                        widget.mode = "<?php echo $conf_mode; ?>";
                        widget.init();
                });
                //]]>
                </script>
                <script type="text/javascript" src="<?php echo $url_base; ?>js/ReleveApa.js"></script>
                <script type="text/javascript" src="<?php echo $url_base; ?>js/PlantesApa.js"></script>
                <script type="text/javascript" src="<?php echo $url_base; ?>js/LichensApa.js"></script>
        </head>

        <body id="top" data-sq="<?php echo $url_base; ?>" data-obs-list="<?php echo $url_ws_obs_list; ?>" data-lang="<?php echo $langue; ?>">
                <?php
                        echo ( $widget['image_fond'] ) ? '<div id="image-fond" style="' . htmlspecialchars( 'background:url("' . $widget['chemin_fichiers'] . 'image_fond.' . preg_replace( '/(?:imag)?e\/?/','',$widget['image_fond']) . '") no-repeat center center;background-size:cover') . '"></div>': '';
                ?>
                <div id="zone-appli" class="container" data-projet="<?php echo $widget['projet']; ?>" data-url-fichiers="<?php echo $widget['chemin_fichiers']; ?>">
                        <div class="layout-wrapper page">
                                <div class="row mb-3">
                                        <div class="col-md-2 col-sm-10">
                                                <img id="logo" class="mr-3" src="<?php echo htmlspecialchars( $widget['chemin_fichiers'] . 'logo.png' ); ?>" alt="logo <?php echo $widget['projet']; ?>" />
                                        </div>
                                        <div class="col-md-10 col-sm-12">
                                                <h1 id="titre-projet" class="mt-0"><?php echo $general['titre-page'];?></h1>
                                        </div>
                                </div>

                                <div class="row mb-3">
                                        <div class="col-md-6">
                                                <div id="description"><?php echo $widget['description']; ?></div>
                                        </div>
                                        <div class="col-md-6">
                                                <div id="aide" class="well well-lg hidden-sm-down">
                                                        <h3><?php echo $aide['titre']; ?></h3>
                                                        <div id="aide-txt" class="hiden-sm-down">
                                                                <p><?php echo $aide['description']; ?></p>
                                                        </div>
                                                </div>
                                        </div>
                                </div>

<!-- zone observateur -->
                                <div id="formulaire" class="row mb-3">
                                        <form id="form-observateur" role="form" autocomplete="on">
                                                <h2 class="mb-3"><?php echo $observateur['titre']; ?></h2>
                                                <div id="tb-observateur" class="row">

                                                        <div class="control-group col-md-6 col-sm-8 mb-3">
                                                                <div id="bloc-connexion">
                                                                        <h3><?php echo $observateur['compte']; ?></h3>
                                                                        <label for="courriel" class="col-sm-8 obligatoire">
                                                                                <i class="fa fa-envelope" aria-hidden="true"></i>
                                                                                <?php echo $observateur['courriel']; ?>
                                                                        </label>
                                                                        <div class="col-sm-8 mb-3">
                                                                                <input id="courriel" name="courriel" class="form-control has-tooltip" data-toggle="tooltip" type="email" title="<?php echo $observateur['courriel-title']; ?> ">
                                                                        </div>

                                                                        <label for="mdp" class="col-sm-8 obligatoire">
                                                                                <i class="fas fa-user-lock"></i>
                                                                                <?php echo $observateur['mdp']; ?>
                                                                        </label>
                                                                        <div class="col-sm-8 mb-3">
                                                                                <input id="mdp" name="mdp" class="form-control has-tooltip" data-toggle="tooltip" type="password" title="<?php echo $observateur['mdp-title']; ?> ">
                                                                        </div>

                                                                        <div id="boutons-connexion" class="col-sm-8 ml-3">
                                                                                <a id="inscription" href="" class="mb-1" taget="_blank"><?php echo $observateur['inscription']; ?></a>
                                                                                <a id="oublie" href="" class="float-right pr-3 mb-1" taget="_blank"><?php echo $observateur['oublie']; ?></a>
                                                                                <div class="mt-3">
                                                                                        <a id="connexion" href="" class="float-right mr-3 btn btn-success" taget="_blank"><?php echo $observateur['connexion']; ?></a>
                                                                                </div>
                                                                        </div>
                                                                </div>
                                                                <div id="utilisateur-connecte" class="volet hidden">
                                                                        <label for="utilisateur-connecte"><?php echo $observateur['bienvenue']; ?></label>
                                                                        <a href="" class="list-tool btn btn-large btn-info volet-toggle" data-toggle="volet">
                                                                                <span id="nom-complet"></span> <!-- <i class="fas fa-caret-down"></i> -->
                                                                        </a>
                                                                        <div class="volet-menu hidden">
                                                                                <div id="profil-utilisateur">
                                                                                        <a href="" taget="_blank"><?php echo $observateur['profil']; ?></a>
                                                                                </div>
                                                                                <div id="deconnexion"><a href=""><?php echo $observateur['deconnexion']; ?></a></div>
                                                                        </div>
                                                                </div>
                                                                <p id="nb-releves-bienvenue" class="hidden">
                                                                        <?php echo $observateur['releves-deb'];?>
                                                                        <span class="font-weight-bold nb-releves">0</span>
                                                                        <?php echo $observateur['releves-fin'];?>
                                                                </p>
                                                        </div>
                                                        <div id="releves-utilisateur" class="col-md-6 col-sm-8 mt-3">
                                                                <div id="bouton-list-releves" class="mb-3 btn btn-info hidden">
                                                                        <i class="fas fa-history"></i>&nbsp;<?php echo $observateur['reprendre-releve']; ?>
                                                                </div>
                                                                <div class="table-responsive mb-3">
                                                                        <table id="table-releves" class="table table-hover hidden">
                                                                                <tbody id="list-releves" class="border-0">
                                                                                </tbody>
                                                                        </table>
                                                                </div>
                                                                <div id="bouton-nouveau-releve" class="mb-3 btn btn-info hidden">
                                                                        <i class="far fa-plus-square"></i>&nbsp;<?php echo $observateur['creer-releve']; ?>
                                                                </div>
                                                        </div>
                                                </div>
                                        </form><!-- fin zone observateur -->

<!-- Messages d'erreur du formulaire observateur -->
                                        <div class="zone-alerte">
                                                <div id="dialogue-utilisateur-non-identifie" class="alert alert-warning alert-block hidden">
                                                        <a class="close">×</a>
                                                        <h4 class="alert-heading"><?php echo $observateur['alertni-title']; ?></h4>
                                                        <p><?php echo $observateur['alertni']; ?></p>
                                                </div>
                                        </div>
<!-- zone relevé -->

                                        <!-- zone chargement arbres lichens ou plantes -->
                                        <div id="charger-form" data-mode="<?php echo $conf_mode; ?>" data-load="arbres"></div>
                                        <!-- fin zone chargement formulaire -->

                                </div><!-- fin formulaire -->

                        </div><!-- fin Layout-wrapper page -->
                </div><!-- fin zone-appli -->

                <div id="help-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="help-modal-label" style="display: none;" aria-hidden="true">
                        <div class="modal-dialog modal-dialog-centered" role="document">
                                <div class="modal-content">
                                        <div class="modal-header">
                                                <h5 class="modal-title" id="help-modal-label"></h5>
                                                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                                        <span aria-hidden="true">&times;</span>
                                                </button>
                                        </div>
                                        <div class="modal-body" id="print_content"></div>
                                        <div class="modal-footer">
                                                <button type="button" class="btn btn-secondary" data-dismiss="modal">Fermer</button>
                                        </div>
                                </div>
                        </div>
                </div>
                <input id="id_utilisateur" name="id_utilisateur" type="hidden">
                <input id="prenom" name="prenom" type="hidden">
                <input id="nom" name="nom" type="hidden">
                <input id="apa-obs" type="hidden" value="">
                <input id="releve-data" type="hidden" value="">
                <input id="dates-rues-communes" type="hidden" value="">
                <input id="img-releve-data" type="hidden" value="">
        </body>
</html>