| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252 |
- <!DOCTYPE html>
- <html lang="fr" dir="ltr">
- <head>
- <meta charset="utf-8" />
- <title>MobiParc</title>
- <link rel="manifest" href="manifest.json">
- <meta name="viewport" content="width=device-width">
- <meta name="theme-color" content="#587b8c">
- <!--<link rel="icon" href="favicon.ico">-->
- <!--<link rel="shortcut icon" href="favicon.ico">-->
- <!--<link rel="apple-touch-icon" href="img/iphone-icon.png">-->
- <!--<style type="text/css">
- body.hidden{
- visibility:hidden;
- background-color:#E3EAED;
- background-repeat:no-repeat;
- background-position-x:50%;
- background-position-y:50%;
- background-image:url(img/loading.svg)
- }
- </style>-->
- <link rel="stylesheet" href="css/mobiparc.css" type="text/css" media="all">
- <noscript>
- <style type="text/css">body.nojs{visibility:visible;}</style>
- </noscript>
- <script src="js/jquery-3.2.1.min.js" defer></script>
- <script src="js/jquery-ui.min.js" defer></script>
- <!--https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.11/handlebars.min.js-->
- <script src="js/handlebars.min.js" defer></script>
- <script src="js/mobiparc.js" defer></script>
-
- </head>
- <body class="nojs">
- <header>
- <section>
- <ul>
- <li><span class="modal-open btn">⇋</span></li>
- </ul>
- </section>
-
- <section>
- <nav>
- <div>
- <button aria-label="Ouvrir menu" class="bt-menu">
- <svg viewBox="0 0 459 459" enable-background="new 0 0 459 459">
- <path d="M0 382.5h459v-51h-459v51zm0-127.5h459v-51h-459v51zm0-178.5v51h459v-51h-459z"></path>
- </svg>
- </button>
- </div>
- <div>
- <button aria-label="Fermer menu" class="bt-menu-close">
- <svg viewBox="0 0 371.23 371.23" enable-background="new 0 0 371.23 371.23">
- <path d="M371.23 21.213l-21.212-21.213-164.403 164.402-164.402-164.402-21.213 21.213 164.402 164.402-164.402 164.403 21.213 21.212 164.402-164.402 164.403 164.402 21.212-21.212-164.402-164.403z"></path>
- </svg>
- </button>
- </div>
- <div>
- <a href="#activite">Activité</a>
- </div>
- <!--<div>
- <a href="#contacts">Contacts</a>
- </div>
- <div>
- <a href="#parametres">Paramètres</a>
- </div>-->
- </nav>
- </section>
- </header>
- <section class="main">
- <noscript>
- <h1>Suivi mobile d'Activités</h1>
- Pour accéder à toutes les fonctionnalités de ce site, vous devez activer JavaScript. Voici les
- <a href="//www.enable-javascript.com/fr/" target="js"> instructions pour activer JavaScript dans votre navigateur Web</a>
- </noscript>
- </section>
- <section class="footer-top">
- <pre class="results__display-wrapper"><code class="results-display"></code></pre>
- </section>
-
- <footer>
- <!--<nav class="obs">
- <div><span class="modal-open">Alerte</span></div>
- <div></div>
- </nav>-->
- <span id="cRetour" class="cInvisible"></span>
- </footer>
-
- <section class="modal-background"></section>
- <section class="modal-content">
- <button class="data-sync" disabled>Sync</button>
- <div class="sync-result"></div>
- <br>
- <span class="modal-close">X</span>
- </section>
- <script id="activite" type="x-tmpl-mustache">
- <h1>Activité</h1>
- <h2>Nouvelle saisie</h2>
- <form class="data-form niveau" enctype="multipart/form-data">
- <h3>Activité</h3>
- <div class="input-group">
- <label class="label" for="dateint">Date: </label>
- <input class="input-text" id="dateint" name="date-int" type="date" title="Date de l'intervention'" required />
- </div>
- <div class="input-group">
- <label class="label" for="datefin">Date de fin: </label>
- <input class="input-text" id="datefin" name="date-fin" type="date" title="Date de fin de l'intervention'" />
- </div>
- <div class="input-group">
- <label class="label" for="localisation">Localisation: </label>
- <select class="input-select" id="localisation" name="localisation">
- <option value="6703400">BERSTETT</option>
- <option value="6711200">DUTTLENHEIM</option>
- </select>
- </div>
- <div class="input-group">
- <label class="label" for="engin">Engin: </label>
- <select class="input-select" id="engin" name="engin">
- <option value="01P037">MINI PELLE CASE P037</option>
- <option value="01P038">PELLE LIEBHERR P038 R313/2013</option>
- </select>
- </div>
- <div class="input-group">
- <label class="label" for="realisation">Réalisation: </label>
- <select class="input-select" id="realisation" name="realisation">
- <option value="13">Pose d'enrochements</option>
- <option value="16">Terrassement:déblais,remblais,tranchées</option>
- </select>
- </div>
- <div class="input-group">
- <label class="label" for="commentaire">Commentaire: </label>
- <input class="input-text" id="commentaire" name="commentaire" type="text" title="Commentaire" />
- </div>
- <h3>Heures supplémentaires</h3>
- <div class="input-group">
- <label class="label" for="hsjour">Jour (7h-7h30, 16h30-22h): </label>
- <input class="input-text" id="hsjour" name="hsjour" type="number" title="Heures sup. (jour)" />
- </div>
- <div class="input-group">
- <label class="label" for="hsnuit">Nuit: </label>
- <input class="input-text" id="hsnuit" name="hsnuit" type="number" title="Heures sup. (nuit)" />
- </div>
- <div class="input-group">
- <label class="label" for="hsdim">Dimanche et jours fériés: </label>
- <input class="input-text" id="hsdim" name="hsdim" type="number" title="Heures sup. (dimanche et jours feriés)" />
- </div>
- <h3>Frais</h3>
- <div class="input-group">
- <label class="label" for="nbrepas">Nombre de repas: </label>
- <input class="input-text" id="nbrepas" name="nbrepas" type="number" title="Nombre de repas" />
- </div>
- <div class="input-group">
- <label class="label" for="depart">Départ: </label>
- <select class="input-select" id="depart" name="depart">
- <option value="6703400">BERSTETT</option>
- <option value="6711200">DUTTLENHEIM</option>
- </select>
- </div>
- <div class="input-group">
- <label class="label" for="kmstt">Kilomètres sur temps de travail (7h30 - 16h30): </label>
- <input class="input-text" id="kmstt" name="kmstt" type="number" title="Kilomètres sur temps de travail" />
- </div>
- <div class="input-group">
- <label class="label" for="vpstt">Avec véhicule personnel</label>
- <input class="input-text" id="vpstt" name="vpstt" type="checkbox" title="Avec véhicule personnel" />
- </div>
- <div class="input-group">
- <label class="label" for="kmhtt">Kilomètres hors temps de travail : </label>
- <input class="input-text" id="kmhtt" name="kmhtt" type="number" title="Kilomètres hors temps de travail" />
- </div>
- <div class="input-group">
- <label class="label" for="vphtt">Avec véhicule personnel</label>
- <input class="input-text" id="vphtt" name="vphtt" type="checkbox" title="Avec véhicule personnel" />
- </div>
- <button class="button-submit btn btn-save" type="submit">Enregistrer</button>
- </form>
- {{#if data}}
- <button class="del btn btn-delete" disabled>Supprimer</button>
- <h2>Mes données</h2>
- <table class="selectable">
- <thead>
- <tr>
- <td>Date</td>
- <td>Loc.</td>
- <td>Real.</td>
- <td>...</td>
- </tr>
- </thead>
- <tbody>
- {{#data}}
- <tr data-id="{{tstamp}}" data-type="activite">
- <td>{{dateint}}</td>
- <td>{{localisation}}</td>
- <td>{{realisation}}</td>
- <td>Voir+</td>
- </tr>
- {{/data}}
- </tbody>
- </table>
- {{/if}}
- </script>
- <script id="index" type="x-tmpl-mustache">
- <h1>Suivi mobile d'activités</h1>
-
- <div class="home-pp">
- <a href="#activite">
- <div>
- <picture>
- <source type="image/svg+xml" srcset="img/alert.svg" media="(min-width:240px)">
- <img src="img/alert.png" width="224" alt="" />
- </picture><h3>
- Saisie d'activité
- </h3>
- </div>
- </a>
- </div>
- </script>
- </body>
- </html>
|