Réécriture de lara-bermite en Rust (Axum, Leptos, Tailwind)
Application de suivi de la pluviométrie et de la météo, portée depuis Laravel + React vers Leptos 0.8 (SSR + hydratation) sur Axum, avec Tailwind CSS v4 et SQLite. - Pages : accueil (chiffres clés, comparaison mois par mois avec l'an dernier), pluviométrie (graphique par jour/semaine/mois/année), liste des mesures (édition en place), météo OpenWeatherMap, profil (emplacement, thème clair/sombre), authentification et réinitialisation du mot de passe par e-mail. - Sessions tower-sessions en SQLite ; mots de passe Argon2, les hash bcrypt de Laravel restent valides et sont convertis à la connexion. - Import unique des données MySQL de lara-bermite (bin import_mysql). - PWA : manifest et service worker « réseau d'abord ». - Makefile de cross-compilation aarch64 et service systemd pour le Pi. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No files matched your search
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 15 KiB |
@@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
width="100px"
|
||||
height="100px"
|
||||
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
|
||||
id="svg340"
|
||||
sodipodi:docname="10d@2x.svg"
|
||||
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs344" />
|
||||
<sodipodi:namedview
|
||||
id="namedview342"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
showgrid="false"
|
||||
inkscape:zoom="6.9860105"
|
||||
inkscape:cx="32.49351"
|
||||
inkscape:cy="52.032559"
|
||||
inkscape:window-width="1850"
|
||||
inkscape:window-height="1136"
|
||||
inkscape:window-x="70"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg340" />
|
||||
<g
|
||||
id="g1598"
|
||||
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
|
||||
<ellipse
|
||||
style="fill:#ec6d4b;fill-opacity:0.945098;stroke-width:5.31402;stroke-linecap:square;stroke-linejoin:round;paint-order:fill markers stroke"
|
||||
id="path517"
|
||||
cx="62.378757"
|
||||
cy="37.581673"
|
||||
rx="15.100805"
|
||||
ry="14.837029" />
|
||||
<g
|
||||
id="g314">
|
||||
<path
|
||||
style="opacity:0.956"
|
||||
fill="#f2f1f1"
|
||||
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
|
||||
id="path312"
|
||||
sodipodi:nodetypes="cccccccccccc" />
|
||||
</g>
|
||||
<g
|
||||
id="g318">
|
||||
<path
|
||||
style="opacity:1;fill:#c3c3c4;fill-opacity:1"
|
||||
fill="#4a4a4c"
|
||||
d="m 40.332727,59.754949 c -1.3333,2.6667 -3.02894,2.408643 -2.382156,-0.172998 C 38.498371,57.549651 39.657107,57.688323 41.5,56.5 Z"
|
||||
id="path316"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
</g>
|
||||
<g
|
||||
id="g322">
|
||||
<path
|
||||
style="opacity:0.648"
|
||||
fill="#464648"
|
||||
d="m 53.5,60.5 c -0.275093,4.144916 -1.086323,5.991025 -2.088621,5.231821 C 49.111531,64.215714 51.9624,62.5514 53.5,60.5 Z"
|
||||
id="path320"
|
||||
sodipodi:nodetypes="ccc" />
|
||||
</g>
|
||||
<g
|
||||
id="g326">
|
||||
<path
|
||||
style="opacity:0.642"
|
||||
fill="#484749"
|
||||
d="m 45.394906,62.835155 v 0 C 45.295028,64.774264 44.112,69.461504 42.5,68.5 c -1.276548,-0.758272 1.006762,-3.720805 2.894906,-5.664845 z"
|
||||
id="path324"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
</g>
|
||||
<g
|
||||
id="g330">
|
||||
<path
|
||||
style="opacity:0.655"
|
||||
fill="#49484a"
|
||||
d="m 38.323024,64.01566 c -0.510774,3.779491 -1.468353,4.712106 -2.85558,5.927272 C 34.086944,69.443332 34.4528,69.0004 34.5,67.5 c 0.3457,-1.3492 1.729695,-2.377354 3.823024,-3.48434 z"
|
||||
id="path328"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
</g>
|
||||
<g
|
||||
id="g334">
|
||||
<path
|
||||
style="opacity:0.629"
|
||||
fill="#484849"
|
||||
d="m 50.5,68.5 c -0.332574,3.804597 -0.243075,6.57837 -2,6 -1.287633,-0.914112 0.7702,-4.2028 2,-6 z"
|
||||
id="path332"
|
||||
sodipodi:nodetypes="ccc" />
|
||||
</g>
|
||||
<g
|
||||
id="g338">
|
||||
<path
|
||||
style="opacity:0.536"
|
||||
fill="#484849"
|
||||
d="m 44.5,69.5 c -0.864872,3.818695 -1.946788,4.527584 -3.422663,4.213387 C 39.737799,72.940004 41.5,70.826657 44.5,69.5 Z"
|
||||
id="path336"
|
||||
sodipodi:nodetypes="ccc" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.9 KiB |
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
width="100px"
|
||||
height="100px"
|
||||
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
|
||||
id="svg340"
|
||||
sodipodi:docname="01d.svg"
|
||||
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||
inkscape:export-filename="01d.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs37" />
|
||||
<sodipodi:namedview
|
||||
id="namedview35"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
showgrid="false"
|
||||
inkscape:zoom="9.7"
|
||||
inkscape:cx="31.340206"
|
||||
inkscape:cy="50"
|
||||
inkscape:window-width="1674"
|
||||
inkscape:window-height="1173"
|
||||
inkscape:window-x="2443"
|
||||
inkscape:window-y="58"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg340" />
|
||||
<ellipse
|
||||
style="fill:#ec6d4b;fill-opacity:1;stroke-width:15.5071;stroke-linecap:square;stroke-linejoin:round;paint-order:fill markers stroke"
|
||||
cx="50"
|
||||
cy="50"
|
||||
rx="44.066483"
|
||||
ry="43.296745"
|
||||
id="ellipse2" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,55 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
width="100px"
|
||||
height="100px"
|
||||
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
|
||||
id="svg340"
|
||||
sodipodi:docname="02d.svg"
|
||||
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||
inkscape:export-filename="02d.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs37" />
|
||||
<sodipodi:namedview
|
||||
id="namedview35"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
showgrid="false"
|
||||
inkscape:zoom="9.7"
|
||||
inkscape:cx="48.659794"
|
||||
inkscape:cy="50"
|
||||
inkscape:window-width="1674"
|
||||
inkscape:window-height="1173"
|
||||
inkscape:window-x="2566"
|
||||
inkscape:window-y="54"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg340" />
|
||||
<ellipse
|
||||
style="fill:#ec6d4b;fill-opacity:1;stroke-width:8.71992;stroke-linecap:square;stroke-linejoin:round;paint-order:fill markers stroke"
|
||||
cx="69.07093"
|
||||
cy="44.12281"
|
||||
rx="24.779335"
|
||||
ry="24.346498"
|
||||
id="ellipse2" />
|
||||
<g
|
||||
id="g6"
|
||||
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-17.546011)"
|
||||
style="fill:#f2f1f1;fill-opacity:1">
|
||||
<path
|
||||
fill="#f2f1f1"
|
||||
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
|
||||
id="path4"
|
||||
style="fill:#f2f1f1;fill-opacity:1" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
width="100px"
|
||||
height="100px"
|
||||
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
|
||||
id="svg340"
|
||||
sodipodi:docname="03d.svg"
|
||||
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||
inkscape:export-filename="03d.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs37" />
|
||||
<sodipodi:namedview
|
||||
id="namedview35"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
showgrid="false"
|
||||
inkscape:zoom="9.7"
|
||||
inkscape:cx="47.319588"
|
||||
inkscape:cy="50"
|
||||
inkscape:window-width="1674"
|
||||
inkscape:window-height="1173"
|
||||
inkscape:window-x="2566"
|
||||
inkscape:window-y="54"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg340" />
|
||||
<g
|
||||
id="g6"
|
||||
transform="matrix(1.8275221,0,0,1.8275221,-37.772697,-30.485543)"
|
||||
style="fill:#f2f1f1;fill-opacity:1">
|
||||
<path
|
||||
fill="#f2f1f1"
|
||||
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
|
||||
id="path4"
|
||||
style="fill:#f2f1f1;fill-opacity:1" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
width="100px"
|
||||
height="100px"
|
||||
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
|
||||
id="svg340"
|
||||
sodipodi:docname="03d.svg"
|
||||
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||
inkscape:export-filename="03d.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs37" />
|
||||
<sodipodi:namedview
|
||||
id="namedview35"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
showgrid="false"
|
||||
inkscape:zoom="9.7"
|
||||
inkscape:cx="47.319588"
|
||||
inkscape:cy="50"
|
||||
inkscape:window-width="1674"
|
||||
inkscape:window-height="1173"
|
||||
inkscape:window-x="2566"
|
||||
inkscape:window-y="54"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg340" />
|
||||
<g
|
||||
id="g6"
|
||||
transform="matrix(1.8275221,0,0,1.8275221,-37.772697,-30.485543)"
|
||||
style="fill:#f2f1f1;fill-opacity:1">
|
||||
<path
|
||||
fill="#f2f1f1"
|
||||
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
|
||||
id="path4"
|
||||
style="fill:#f2f1f1;fill-opacity:1" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
width="100px"
|
||||
height="100px"
|
||||
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
|
||||
id="svg340"
|
||||
sodipodi:docname="04d.svg"
|
||||
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||
inkscape:export-filename="04d.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs37" />
|
||||
<sodipodi:namedview
|
||||
id="namedview35"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
showgrid="false"
|
||||
inkscape:zoom="9.7"
|
||||
inkscape:cx="54.226804"
|
||||
inkscape:cy="50"
|
||||
inkscape:window-width="1674"
|
||||
inkscape:window-height="1173"
|
||||
inkscape:window-x="2566"
|
||||
inkscape:window-y="54"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg340" />
|
||||
<g
|
||||
id="g850"
|
||||
transform="matrix(0.83428781,0,0,0.87762366,1.0190854,10.707957)">
|
||||
<g
|
||||
id="g290"
|
||||
transform="matrix(1.8275221,0,0,1.8275221,-20.352991,-40.943646)"
|
||||
style="fill:#8c8383;fill-opacity:1">
|
||||
<path
|
||||
fill="#f2f1f1"
|
||||
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
|
||||
id="path288"
|
||||
style="fill:#8c8383;fill-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
id="g6"
|
||||
transform="matrix(1.8275221,0,0,1.8275221,-37.772697,-30.485543)"
|
||||
style="fill:#f2f1f1;fill-opacity:1">
|
||||
<path
|
||||
fill="#f2f1f1"
|
||||
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
|
||||
id="path4"
|
||||
style="fill:#f2f1f1;fill-opacity:1" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
@@ -0,0 +1,116 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
width="100px"
|
||||
height="100px"
|
||||
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
|
||||
id="svg340"
|
||||
sodipodi:docname="09d.svg"
|
||||
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||
inkscape:export-filename="09d.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs895" />
|
||||
<sodipodi:namedview
|
||||
id="namedview893"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
showgrid="false"
|
||||
inkscape:zoom="9.7"
|
||||
inkscape:cx="40.412371"
|
||||
inkscape:cy="50"
|
||||
inkscape:window-width="1674"
|
||||
inkscape:window-height="1173"
|
||||
inkscape:window-x="2520"
|
||||
inkscape:window-y="178"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg340" />
|
||||
<g
|
||||
id="g1097"
|
||||
transform="translate(-1.1004244,-0.35495727)">
|
||||
<g
|
||||
id="g850"
|
||||
transform="matrix(0.83428781,0,0,0.87762366,2.1195098,-1.5930028)"
|
||||
style="clip-rule:evenodd;fill-rule:evenodd;image-rendering:optimizeQuality;shape-rendering:geometricPrecision;text-rendering:geometricPrecision">
|
||||
<g
|
||||
id="g290"
|
||||
transform="matrix(1.8275221,0,0,1.8275221,-20.352991,-40.943646)"
|
||||
style="fill:#8c8383;fill-opacity:1">
|
||||
<path
|
||||
fill="#f2f1f1"
|
||||
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
|
||||
id="path288"
|
||||
style="fill:#8c8383;fill-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
id="g6"
|
||||
transform="matrix(1.8275221,0,0,1.8275221,-37.772697,-30.485543)"
|
||||
style="fill:#f2f1f1;fill-opacity:1">
|
||||
<path
|
||||
fill="#f2f1f1"
|
||||
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
|
||||
id="path4"
|
||||
style="fill:#f2f1f1;fill-opacity:1" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
id="g868"
|
||||
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
|
||||
<path
|
||||
fill="#4a4a4c"
|
||||
d="m 40.332727,59.754949 c -1.3333,2.6667 -3.02894,2.408643 -2.382156,-0.172998 C 38.498371,57.549651 39.657107,57.688323 41.5,56.5 Z"
|
||||
id="path866" />
|
||||
</g>
|
||||
<g
|
||||
id="g872"
|
||||
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
|
||||
<path
|
||||
fill="#4a4a4c"
|
||||
d="m 53.5,60.5 c -0.275093,4.144916 -1.086323,5.991025 -2.088621,5.231821 C 49.111531,64.215714 51.9624,62.5514 53.5,60.5 Z"
|
||||
id="path870" />
|
||||
</g>
|
||||
<g
|
||||
id="g876"
|
||||
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
|
||||
<path
|
||||
fill="#4a4a4c"
|
||||
d="m 45.394906,62.835155 v 0 C 45.295028,64.774264 44.112,69.461504 42.5,68.5 c -1.276548,-0.758272 1.006762,-3.720805 2.894906,-5.664845 z"
|
||||
id="path874" />
|
||||
</g>
|
||||
<g
|
||||
id="g880"
|
||||
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
|
||||
<path
|
||||
fill="#4a4a4c"
|
||||
d="m 38.323024,64.01566 c -0.510774,3.779491 -1.468353,4.712106 -2.85558,5.927272 C 34.086944,69.443332 34.4528,69.0004 34.5,67.5 c 0.3457,-1.3492 1.729695,-2.377354 3.823024,-3.48434 z"
|
||||
id="path878" />
|
||||
</g>
|
||||
<g
|
||||
id="g884"
|
||||
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
|
||||
<path
|
||||
style="opacity:0.629"
|
||||
fill="#4a4a4c"
|
||||
d="m 50.5,68.5 c -0.332574,3.804597 -0.243075,6.57837 -2,6 -1.287633,-0.914112 0.7702,-4.2028 2,-6 z"
|
||||
id="path882" />
|
||||
</g>
|
||||
<g
|
||||
id="g888"
|
||||
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
|
||||
<path
|
||||
fill="#4a4a4c"
|
||||
d="m 44.5,69.5 c -0.864872,3.818695 -1.946788,4.527584 -3.422663,4.213387 C 39.737799,72.940004 41.5,70.826657 44.5,69.5 Z"
|
||||
id="path886" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.8 KiB |
@@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
width="100px"
|
||||
height="100px"
|
||||
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
|
||||
id="svg340"
|
||||
sodipodi:docname="10d.svg"
|
||||
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||
inkscape:export-filename="10d.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs37" />
|
||||
<sodipodi:namedview
|
||||
id="namedview35"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
showgrid="false"
|
||||
inkscape:zoom="9.7"
|
||||
inkscape:cx="23.917526"
|
||||
inkscape:cy="50"
|
||||
inkscape:window-width="1674"
|
||||
inkscape:window-height="1173"
|
||||
inkscape:window-x="2650"
|
||||
inkscape:window-y="50"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg340" />
|
||||
<ellipse
|
||||
style="fill:#ec6d4b;fill-opacity:1;stroke-width:8.71992;stroke-linecap:square;stroke-linejoin:round;paint-order:fill markers stroke"
|
||||
cx="69.07093"
|
||||
cy="31.820402"
|
||||
rx="24.779335"
|
||||
ry="24.346498"
|
||||
id="ellipse2" />
|
||||
<g
|
||||
id="g6"
|
||||
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
|
||||
<path
|
||||
fill="#f2f1f1"
|
||||
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z"
|
||||
id="path4" />
|
||||
</g>
|
||||
<g
|
||||
id="g10"
|
||||
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
|
||||
<path
|
||||
fill="#4a4a4c"
|
||||
d="m 40.332727,59.754949 c -1.3333,2.6667 -3.02894,2.408643 -2.382156,-0.172998 C 38.498371,57.549651 39.657107,57.688323 41.5,56.5 Z"
|
||||
id="path8" />
|
||||
</g>
|
||||
<g
|
||||
id="g14"
|
||||
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
|
||||
<path
|
||||
fill="#4a4a4c"
|
||||
d="m 53.5,60.5 c -0.275093,4.144916 -1.086323,5.991025 -2.088621,5.231821 C 49.111531,64.215714 51.9624,62.5514 53.5,60.5 Z"
|
||||
id="path12" />
|
||||
</g>
|
||||
<g
|
||||
id="g18"
|
||||
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
|
||||
<path
|
||||
fill="#4a4a4c"
|
||||
d="m 45.394906,62.835155 v 0 C 45.295028,64.774264 44.112,69.461504 42.5,68.5 c -1.276548,-0.758272 1.006762,-3.720805 2.894906,-5.664845 z"
|
||||
id="path16" />
|
||||
</g>
|
||||
<g
|
||||
id="g22"
|
||||
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
|
||||
<path
|
||||
fill="#4a4a4c"
|
||||
d="m 38.323024,64.01566 c -0.510774,3.779491 -1.468353,4.712106 -2.85558,5.927272 C 34.086944,69.443332 34.4528,69.0004 34.5,67.5 c 0.3457,-1.3492 1.729695,-2.377354 3.823024,-3.48434 z"
|
||||
id="path20" />
|
||||
</g>
|
||||
<g
|
||||
id="g26"
|
||||
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
|
||||
<path
|
||||
style="opacity:0.629"
|
||||
fill="#4a4a4c"
|
||||
d="m 50.5,68.5 c -0.332574,3.804597 -0.243075,6.57837 -2,6 -1.287633,-0.914112 0.7702,-4.2028 2,-6 z"
|
||||
id="path24" />
|
||||
</g>
|
||||
<g
|
||||
id="g30"
|
||||
transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
|
||||
<path
|
||||
fill="#4a4a4c"
|
||||
d="m 44.5,69.5 c -0.864872,3.818695 -1.946788,4.527584 -3.422663,4.213387 C 39.737799,72.940004 41.5,70.826657 44.5,69.5 Z"
|
||||
id="path28" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.8 KiB |
@@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.1"
|
||||
width="100px"
|
||||
height="100px"
|
||||
style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
|
||||
id="svg340"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<g transform="matrix(1.6409281,0,0,1.6409281,-33.288122,-29.848421)">
|
||||
<ellipse
|
||||
style="fill:#ec6d4b;fill-opacity:0.945098;stroke-width:5.31402;stroke-linecap:square;stroke-linejoin:round;paint-order:fill markers stroke"
|
||||
cx="62.378757"
|
||||
cy="37.581673"
|
||||
rx="15.100805"
|
||||
ry="14.837029" />
|
||||
<g>
|
||||
<path
|
||||
fill="#f2f1f1"
|
||||
d="m 50.5,30.5 c 2.052249,1.654227 1.9412,3.9664 3,6 1.578183,1.489401 6.2139,1.5439 9,3 1.373984,1.322711 1.1816,3.9086 1,6 3.2882,-0.4844 5.9548,0.5156 8,3 1.3734,4.4358 0.04,7.9358 -4,10.5 -8.6603,0.4998 -17.3269,0.6664 -26,0.5 h -4 C 26.1179,60.2958 21.9513,55.2958 25,44.5 c 2.1413,-2.8208 4.9746,-4.1541 8.5,-4 -0.4488,-7.4279 3.0512,-11.4279 10.5,-12 2.4418,-0.0177 4.6085,0.649 6.5,2 z" />
|
||||
</g>
|
||||
<g>
|
||||
<path
|
||||
fill="#4a4a4c"
|
||||
d="m 40.332727,59.754949 c -1.3333,2.6667 -3.02894,2.408643 -2.382156,-0.172998 C 38.498371,57.549651 39.657107,57.688323 41.5,56.5 Z" />
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#4a4a4c"
|
||||
d="m 53.5,60.5 c -0.275093,4.144916 -1.086323,5.991025 -2.088621,5.231821 C 49.111531,64.215714 51.9624,62.5514 53.5,60.5 Z" />
|
||||
</g>
|
||||
<g>
|
||||
<path
|
||||
fill="#4a4a4c"
|
||||
d="m 45.394906,62.835155 v 0 C 45.295028,64.774264 44.112,69.461504 42.5,68.5 c -1.276548,-0.758272 1.006762,-3.720805 2.894906,-5.664845 z" />
|
||||
</g>
|
||||
<g>
|
||||
<path
|
||||
fill="#4a4a4c"
|
||||
d="m 38.323024,64.01566 c -0.510774,3.779491 -1.468353,4.712106 -2.85558,5.927272 C 34.086944,69.443332 34.4528,69.0004 34.5,67.5 c 0.3457,-1.3492 1.729695,-2.377354 3.823024,-3.48434 z" />
|
||||
</g>
|
||||
<g>
|
||||
<path
|
||||
style="opacity:0.629"
|
||||
fill="#4a4a4c"
|
||||
d="m 50.5,68.5 c -0.332574,3.804597 -0.243075,6.57837 -2,6 -1.287633,-0.914112 0.7702,-4.2028 2,-6 z" />
|
||||
</g>
|
||||
<g>
|
||||
<path fill="#4a4a4c"
|
||||
d="m 44.5,69.5 c -0.864872,3.818695 -1.946788,4.527584 -3.422663,4.213387 C 39.737799,72.940004 41.5,70.826657 44.5,69.5 Z" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "Bermite",
|
||||
"short_name": "Bermite",
|
||||
"description": "Application de suivi météo et de pluviométrie",
|
||||
"lang": "fr",
|
||||
"id": "/",
|
||||
"start_url": "/",
|
||||
"scope": "/",
|
||||
"display": "standalone",
|
||||
"theme_color": "#1d4ed8",
|
||||
"background_color": "#ffffff",
|
||||
"icons": [
|
||||
{ "src": "/pwa-64x64.png", "sizes": "64x64", "type": "image/png" },
|
||||
{ "src": "/pwa-192x192.png", "sizes": "192x192", "type": "image/png" },
|
||||
{ "src": "/pwa-512x512.png", "sizes": "512x512", "type": "image/png", "purpose": "any" },
|
||||
{ "src": "/maskable-icon-512x512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Bermite — hors ligne</title>
|
||||
<style>
|
||||
body { font-family: system-ui, sans-serif; margin: 0; color: #111827; background: #fff; }
|
||||
header { background: #1d4ed8; color: #fff; padding: 12px 20px; font-size: 1.25rem; font-weight: 700; }
|
||||
main { padding: 20px; }
|
||||
@media (prefers-color-scheme: dark) { body { background: #111827; color: #fff; } }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>Bermite</header>
|
||||
<main>
|
||||
<p>Vous êtes hors ligne et cette page n'a pas encore été consultée.</p>
|
||||
<p><a href="/" style="color: inherit">Réessayer</a></p>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 620 B |
@@ -0,0 +1,2 @@
|
||||
User-agent: *
|
||||
Disallow: /
|
||||
@@ -0,0 +1,59 @@
|
||||
// Service worker de Bermite : permet de consulter hors ligne les pages déjà visitées.
|
||||
//
|
||||
// Stratégie « réseau d'abord » pour toutes les requêtes GET : la version en ligne est
|
||||
// toujours servie quand le serveur répond (pas de risque de servir un ancien wasm après
|
||||
// un déploiement), le cache ne sert qu'en secours. Les server functions (POST) ne sont
|
||||
// jamais interceptées.
|
||||
|
||||
const CACHE = 'bermite-v1';
|
||||
const PRECACHE = [
|
||||
'/offline.html',
|
||||
'/pkg/bermite_rs.css',
|
||||
'/pkg/bermite_rs.js',
|
||||
'/pkg/bermite_rs.wasm',
|
||||
'/favicon.svg',
|
||||
'/manifest.webmanifest',
|
||||
'/images/icons/weather.svg',
|
||||
];
|
||||
|
||||
self.addEventListener('install', (event) => {
|
||||
event.waitUntil(
|
||||
caches.open(CACHE)
|
||||
// Un fichier manquant ne doit pas empêcher l'installation.
|
||||
.then((cache) => Promise.allSettled(PRECACHE.map((url) => cache.add(url))))
|
||||
.then(() => self.skipWaiting()),
|
||||
);
|
||||
});
|
||||
|
||||
self.addEventListener('activate', (event) => {
|
||||
event.waitUntil(
|
||||
caches.keys()
|
||||
.then((keys) => Promise.all(keys.filter((key) => key !== CACHE).map((key) => caches.delete(key))))
|
||||
.then(() => self.clients.claim()),
|
||||
);
|
||||
});
|
||||
|
||||
self.addEventListener('fetch', (event) => {
|
||||
const request = event.request;
|
||||
const url = new URL(request.url);
|
||||
if (request.method !== 'GET' || url.origin !== self.location.origin || url.pathname.startsWith('/api/')) {
|
||||
return;
|
||||
}
|
||||
|
||||
event.respondWith(
|
||||
fetch(request)
|
||||
.then((response) => {
|
||||
if (response.ok && !response.redirected) {
|
||||
const copy = response.clone();
|
||||
caches.open(CACHE).then((cache) => cache.put(request, copy));
|
||||
}
|
||||
return response;
|
||||
})
|
||||
.catch(async () => {
|
||||
const cached = await caches.match(request);
|
||||
if (cached) return cached;
|
||||
if (request.mode === 'navigate') return caches.match('/offline.html');
|
||||
return Response.error();
|
||||
}),
|
||||
);
|
||||
});
|
||||