Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
f90bdfce6c | ||
|
a81ab1581d | ||
|
feae34ef82 | ||
|
661b5d1c11 | ||
0acb761f4c | |||
09953bdefc |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
15
README.md
@ -1,13 +1,18 @@
|
|||||||
# Générateur d'autorisations de sortie
|
# Générateur d'autorisations de sortie
|
||||||
[Démo sur le serveur du /tmp/lab](http://covid19.tmplab.org/#firstname=prenom&lastname=nom%20de%20famille&birthday=20/03/2003&placeofbirth=ville%20de%20naissance&address=adresse%20de%20résidence&city=ville%20de%20résidence&zipcode=01000)
|
[Démo sur le serveur du /tmp/lab](http://covid19.tmplab.org/#firstname=prenom&lastname=nom%20de%20famille&birthday=20/03/2003&placeofbirth=ville%20de%20naissance&address=adresse%20de%20résidence&city=ville%20de%20résidence&zipcode=01000)
|
||||||
|
|
||||||
### How to
|
### How to mettre sur votre hébergement
|
||||||
|
|
||||||
0. mettre sur un espace d'hébergement web (optionnel)
|
Ce sont des fichiers statiques : faire un clone ou une extraction de l'archive et ça devrait marcher.
|
||||||
2. visiter la page index.html en modifiant l'URL d'exemple
|
|
||||||
3. les paramètres de l'URL sont reconnus en JS et préremplis pour vous
|
### How to utiliser
|
||||||
|
|
||||||
|
1. Visiter la page index.html
|
||||||
|
2. Remplir les champs pour une première utilisation
|
||||||
|
3. Une fois le premier formulaire rempli, l'URL est mise à jour pour une utilisation future
|
||||||
4. Ajouter à vos favoris / raccourcis
|
4. Ajouter à vos favoris / raccourcis
|
||||||
5. Enjoy!
|
5. La prochaine fois, les paramètres de l'URL seront reconnus et préremplis pour vous
|
||||||
|
6. Enjoy!
|
||||||
|
|
||||||
# Paramètres / préremplissage
|
# Paramètres / préremplissage
|
||||||
### Exemple d'URL :
|
### Exemple d'URL :
|
||||||
|
BIN
android-chrome-192x192.0fcebb82.png
Normal file
After Width: | Height: | Size: 9.7 KiB |
BIN
android-chrome-512x512.ae40f73d.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
apple-touch-icon-120x120-precomposed.044c6f3f.png
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
apple-touch-icon-120x120.044c6f3f.png
Normal file
After Width: | Height: | Size: 7.7 KiB |
BIN
apple-touch-icon-precomposed.fdeabd24.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
appstore-badge.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
certificate.0eed39bb.pdf
Normal file
BIN
certificate.d3f46166.pdf
Normal file
8
confidentialite.3cf18553.css
Normal file
1
confidentialite.3cf18553.css.map
Normal file
8
confidentialite.449dd6d4.js
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"y3A0":[function(require,module,exports) {
|
||||||
|
|
||||||
|
},{}],"I7Ak":[function(require,module,exports) {
|
||||||
|
|
||||||
|
},{"./../fonts/marianne-bold-webfont.woff2":[["marianne-bold-webfont.1505950c.woff2","J7DM"],"J7DM"],"./../fonts/marianne-bold-webfont.woff":[["marianne-bold-webfont.7424dbde.woff","ISoQ"],"ISoQ"],"./../fonts/marianne-regular-webfont.woff2":[["marianne-regular-webfont.daa94941.woff2","hJO5"],"hJO5"],"./../fonts/marianne-regular-webfont.woff":[["marianne-regular-webfont.0a959359.woff","q08Q"],"q08Q"]}],"q9O7":[function(require,module,exports) {
|
||||||
|
"use strict";require("bootstrap/dist/css/bootstrap.min.css"),require("../css/main.css");
|
||||||
|
},{"bootstrap/dist/css/bootstrap.min.css":"y3A0","../css/main.css":"I7Ak"}]},{},["q9O7"], null)
|
||||||
|
//# sourceMappingURL=/confidentialite.449dd6d4.js.map
|
1
confidentialite.449dd6d4.js.map
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"version":3,"sources":["js/confidentialite.js"],"names":[],"mappings":";;;;;AACA,aADA,QAAA,wCACA,QAAA","file":"confidentialite.449dd6d4.js","sourceRoot":"../src","sourcesContent":["import 'bootstrap/dist/css/bootstrap.min.css'\nimport '../css/main.css'\n"]}
|
8
confidentialite.c7dfff12.js
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"y3A0":[function(require,module,exports) {
|
||||||
|
|
||||||
|
},{}],"I7Ak":[function(require,module,exports) {
|
||||||
|
|
||||||
|
},{"./../fonts/marianne-bold-webfont.woff2":[["marianne-bold-webfont.1505950c.woff2","J7DM"],"J7DM"],"./../fonts/marianne-bold-webfont.woff":[["marianne-bold-webfont.7424dbde.woff","ISoQ"],"ISoQ"],"./../fonts/marianne-regular-webfont.woff2":[["marianne-regular-webfont.daa94941.woff2","hJO5"],"hJO5"],"./../fonts/marianne-regular-webfont.woff":[["marianne-regular-webfont.0a959359.woff","q08Q"],"q08Q"]}],"q9O7":[function(require,module,exports) {
|
||||||
|
"use strict";require("bootstrap/dist/css/bootstrap.min.css"),require("../css/main.css");
|
||||||
|
},{"bootstrap/dist/css/bootstrap.min.css":"y3A0","../css/main.css":"I7Ak"}]},{},["q9O7"], null)
|
||||||
|
//# sourceMappingURL=/deplacement-covid-19/confidentialite.c7dfff12.js.map
|
8
confidentialite.fc057723.css
Normal file
@ -1,43 +1 @@
|
|||||||
{
|
{"name":"Générateur d'attestation de déplacement dérogatoire","short_name":"Déplacement covid-19","description":"L'application officielle du gouvernement pour la génération d'attestation de déplacement dérogatoire dématérialisée.","categories":["government","health"],"lang":"fr-FR","icons":[{"src":"android-chrome-192x192.0fcebb82.png","sizes":"192x192","type":"image/png"},{"src":"android-chrome-512x512.ae40f73d.png","sizes":"512x512","type":"image/png"},{"src":"apple-touch-icon.fdeabd24.png","sizes":"180x180","type":"image/png"},{"src":"apple-touch-icon-precomposed.fdeabd24.png","sizes":"180x180","type":"image/png"},{"src":"apple-touch-icon-120x120.044c6f3f.png","sizes":"120x120","type":"image/png"},{"src":"apple-touch-icon-120x120-precomposed.044c6f3f.png","sizes":"120x120","type":"image/png"}],"orientation":"portrait-primary","theme_color":"#ced4da","background_color":"#000191","display":"minimal-ui"}
|
||||||
"name": "Générateur d'attestation de déplacement dérogatoire",
|
|
||||||
"short_name": "Déplacement covid-19",
|
|
||||||
"description": "L'application officielle du gouvernement pour la génération d'attestation de déplacement dérogatoire dématérialisée.",
|
|
||||||
"categories": ["government", "health"],
|
|
||||||
"lang": "fr-FR",
|
|
||||||
"icons": [
|
|
||||||
{
|
|
||||||
"src": "android-chrome-192x192.png",
|
|
||||||
"sizes": "192x192",
|
|
||||||
"type": "image/png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "android-chrome-512x512.png",
|
|
||||||
"sizes": "512x512",
|
|
||||||
"type": "image/png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "apple-touch-icon.png",
|
|
||||||
"sizes": "180x180",
|
|
||||||
"type": "image/png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "apple-touch-icon-precomposed.png",
|
|
||||||
"sizes": "180x180",
|
|
||||||
"type": "image/png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "apple-touch-icon-120x120.png",
|
|
||||||
"sizes": "120x120",
|
|
||||||
"type": "image/png"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "apple-touch-icon-120x120-precomposed.png",
|
|
||||||
"sizes": "120x120",
|
|
||||||
"type": "image/png"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"orientation": "portrait-primary",
|
|
||||||
"theme_color": "#ced4da",
|
|
||||||
"background_color": "#000191",
|
|
||||||
"display": "minimal-ui"
|
|
||||||
}
|
|
BIN
google-play-badge.png
Normal file
After Width: | Height: | Size: 19 KiB |
10
index-2.html
189
index.html
1
logo_dnum_dark.0fe33c5b.svg
Normal file
After Width: | Height: | Size: 23 KiB |
463
main.328c5bbb.js
Normal file
1
main.328c5bbb.js.map
Normal file
8
main.3cf18553.css
Normal file
1
main.3cf18553.css.map
Normal file
463
main.833af409.js
Normal file
8
main.fc057723.css
Normal file
1
robots.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
Sitemap: https://media.interieur.gouv.fr/deplacement-covid-19/sitemap.xml
|
27
sitemap.xml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<urlset
|
||||||
|
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
||||||
|
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
||||||
|
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->
|
||||||
|
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://media.interieur.gouv.fr/deplacement-covid-19/</loc>
|
||||||
|
<lastmod>2020-04-06T04:22:03+00:00</lastmod>
|
||||||
|
<priority>1.00</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://media.interieur.gouv.fr/deplacement-covid-19/confidentialite.html</loc>
|
||||||
|
<lastmod>2020-04-06T04:22:03+00:00</lastmod>
|
||||||
|
<priority>0.80</priority>
|
||||||
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://media.interieur.gouv.fr/deplacement-covid-19/index.html</loc>
|
||||||
|
<lastmod>2020-04-06T04:22:03+00:00</lastmod>
|
||||||
|
<priority>0.64</priority>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
|
||||||
|
</urlset>
|
129
sw.js
Normal file
@ -0,0 +1,129 @@
|
|||||||
|
/**
|
||||||
|
* Welcome to your Workbox-powered service worker!
|
||||||
|
*
|
||||||
|
* You'll need to register this file in your web app and you should
|
||||||
|
* disable HTTP caching for this file too.
|
||||||
|
* See https://goo.gl/nhQhGp
|
||||||
|
*
|
||||||
|
* The rest of the code is auto-generated. Please don't update this file
|
||||||
|
* directly; instead, make changes to your Workbox build configuration
|
||||||
|
* and re-run your build process.
|
||||||
|
* See https://goo.gl/2aRDsh
|
||||||
|
*/
|
||||||
|
|
||||||
|
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
|
||||||
|
|
||||||
|
workbox.core.skipWaiting();
|
||||||
|
|
||||||
|
workbox.core.clientsClaim();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
|
||||||
|
* requests for URLs in the manifest.
|
||||||
|
* See https://goo.gl/S9QRab
|
||||||
|
*/
|
||||||
|
self.__precacheManifest = [
|
||||||
|
{
|
||||||
|
"url": "android-chrome-192x192.0fcebb82.png",
|
||||||
|
"revision": "71c32dc8b4da4840d61a1796a2bc230b"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "android-chrome-512x512.ae40f73d.png",
|
||||||
|
"revision": "8bf8012c4f4ae251d660b4739171b7ed"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "apple-touch-icon-120x120-precomposed.044c6f3f.png",
|
||||||
|
"revision": "a6e447e90b691da286286ab18849adac"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "apple-touch-icon-120x120.044c6f3f.png",
|
||||||
|
"revision": "a6e447e90b691da286286ab18849adac"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "apple-touch-icon-precomposed.fdeabd24.png",
|
||||||
|
"revision": "de5e22b15cf20cb0d586a036d714ee3f"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "apple-touch-icon.fdeabd24.png",
|
||||||
|
"revision": "de5e22b15cf20cb0d586a036d714ee3f"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "certificate.d3f46166.pdf",
|
||||||
|
"revision": "1b6e663974cf13162800a114e18a5e4e"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "confidentialite.3cf18553.css",
|
||||||
|
"revision": "162984bd7f142e977723761768e71adb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "confidentialite.449dd6d4.js",
|
||||||
|
"revision": "a84c9c747bc4933070f0e4946da3aa7d"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "confidentialite.html",
|
||||||
|
"revision": "1e72b7b7bbcd0f7a8beb0e8b3a92d38e"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "favicon-16x16.a4687270.png",
|
||||||
|
"revision": "652605ae0182d51781ab0be639ad2bda"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "favicon-32x32.623384d0.png",
|
||||||
|
"revision": "674c9c4ef1e4c7ea9de1218ee0bfd0cf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "index.html",
|
||||||
|
"revision": "e3d70c6c0f1d6bd086ded1aecb9c5b10"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "logo_dnum_dark.0fe33c5b.svg",
|
||||||
|
"revision": "da8bdc57d4f231585216c53da752d00a"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "logo_dnum.19ebc682.svg",
|
||||||
|
"revision": "3a41bfa41e4671414da29db168c37d66"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "main.328c5bbb.js",
|
||||||
|
"revision": "0255c3febf5176db2ab69d3e82e80dbc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "main.3cf18553.css",
|
||||||
|
"revision": "ec3a9e82f73bdc80a46a1fe7752b759f"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "marianne-bold-webfont.1505950c.woff2",
|
||||||
|
"revision": "e67f6cefe32cc39f909e605c8d6337a9"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "marianne-bold-webfont.7424dbde.woff",
|
||||||
|
"revision": "0bcc99dd4adfb78e11098fedfe531cbb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "marianne-regular-webfont.0a959359.woff",
|
||||||
|
"revision": "89f4f2326c77429e98693cf83703face"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "marianne-regular-webfont.daa94941.woff2",
|
||||||
|
"revision": "d2c09e5f58d8360f541e2a8726c33587"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "MIN_Interieur_RVB_dark.0e5ee525.svg",
|
||||||
|
"revision": "345794cee228a40837ab654184cd2c96"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "MIN_Interieur_RVB.124e26ea.svg",
|
||||||
|
"revision": "6823b6d87f43d208b17ff81e178f9ae9"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "safari-pinned-tab.1551797e.svg",
|
||||||
|
"revision": "f53452e6ac8760f12bab91672e91d39b"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url": "./",
|
||||||
|
"revision": "79455f3acd3a4a8514772e248cca8da1"
|
||||||
|
}
|
||||||
|
].concat(self.__precacheManifest || []);
|
||||||
|
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
|
||||||
|
|
||||||
|
workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/index.html"));
|