ECommerce Ordini Email 1

This commit is contained in:
Paolo Arena
2021-03-30 02:21:59 +02:00
parent fada2ec2be
commit 8ae63c3357
9 changed files with 63 additions and 5 deletions

0
note.txt Normal file → Executable file
View File

View File

@@ -6,7 +6,7 @@
// Questo è il swSrc
console.log(' [ VER-0.0.62 ] _---------________------ PAO: this is my custom service worker');
console.log(' [ VER-0.0.83 ] _---------________------ PAO: this is my custom service worker');
importScripts('../statics/js/idb.js');
importScripts('../statics/js/storage.js');
@@ -23,7 +23,7 @@ if (self.location.hostname.startsWith('test')) {
const cfgenv = {
serverweb: self.location.protocol + "//" + self.location.hostname + ':' + port,
dbname: 'mydb3',
dbversion: 11,
dbversion: 12,
}
// console.log('serverweb', cfgenv.serverweb)
@@ -221,7 +221,11 @@ if (workbox) {
}
workbox.routing.registerRoute(function (routeData) {
return (routeData.event.request.headers.get('accept').includes('text/html'));
const myaccept = routeData.event.request.headers.get('accept')
if (myaccept)
return (myaccept.includes('text/html'));
else
return null
}, function (args) {
return caches.match(args.event.request)
.then(function (response) {

53
src/root/pr.html Normal file
View File

@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<span id="docs-internal-guid-b6caaa89-7fff-7a30-fbd4-76b2341de2b7"><p dir="ltr"
style="line-height:1.4007525444030762;margin-left: 39.875091552734375pt;margin-right: 61.662750244140625pt;text-align: center;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size: 28.021pt; font-family: &quot;Times New Roman&quot;; color: rgb(0, 176, 80); background-color: transparent; font-weight: 700; font-style: italic; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;">E.M. Microrganismi Effettivi </span></p><p
dir="ltr"
style="line-height:1.4007525444030762;margin-left: 39.875091552734375pt;margin-right: 61.662750244140625pt;text-align: center;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size: 20.0118pt; font-family: &quot;Times New Roman&quot;; color: rgb(152, 72, 6); background-color: transparent; font-weight: 700; font-style: italic; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;">Cosa sono e i loro molteplici usi e benefici. </span></p><p
dir="ltr"
style="line-height:1.4007525444030762;margin-left: 39.875091552734375pt;margin-right: 61.662750244140625pt;text-align: center;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size: 14.0068pt; font-family: &quot;Times New Roman&quot;; color: rgb(152, 72, 6); background-color: transparent; font-weight: 700; font-style: italic; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;">Ambiente - Agricoltura - Acqua - Salute - Casa&nbsp;</span></p><p
dir="ltr"
style="line-height:1.2;margin-right: 119.82754516601562pt;text-align: right;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size: 16.0109pt; font-family: &quot;Times New Roman&quot;; color: rgb(152, 72, 6); background-color: transparent; font-weight: 700; font-style: italic; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;"><br></span></p><p
dir="ltr" style="text-align: center; line-height: 1.2; margin-right: 119.828pt; margin-top: 0pt; margin-bottom: 0pt;"><span
style="font-size: 16.0109pt; font-family: &quot;Times New Roman&quot;; color: rgb(152, 72, 6); background-color: transparent; font-weight: 700; font-style: italic; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;">con il </span><span
style="font-size: 20.0118pt; font-family: &quot;Times New Roman&quot;; color: rgb(152, 72, 6); background-color: transparent; font-weight: 700; font-style: italic; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;">Dott. Vanni Ficola&nbsp;</span></p><p
dir="ltr"
style="line-height:1.3744505882263183;margin-left: 8.128738403320312pt;text-align: center;margin-top:4.91497802734375pt;margin-bottom:0pt;"><span
style="font-size: 12.0101pt; font-family: &quot;Times New Roman&quot;; color: rgb(152, 72, 6); background-color: transparent; font-weight: 700; font-style: italic; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;">Agronomo, esperto della tecnologia EM nelle pratiche agricole utili e sane per lAmbiente </span></p><p
dir="ltr"
style="line-height:1.3744505882263183;margin-left: 8.128738403320312pt;text-align: center;margin-top:4.91497802734375pt;margin-bottom:0pt;"><span
style="font-size: 12.0101pt; font-family: &quot;Times New Roman&quot;; color: rgb(152, 72, 6); background-color: transparent; font-weight: 700; font-style: italic; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;">e per la Salute, Fondatore dellAssociazione Nazionale “Puliti senza Chimica”&nbsp;</span></p><p
dir="ltr"
style="text-align: center; line-height: 1.2; margin-right: 91.4182pt; margin-top: 27.7748pt; margin-bottom: 0pt;"><span
style="font-size: 12.0101pt; font-family: &quot;Times New Roman&quot;; color: rgb(152, 72, 6); background-color: transparent; font-weight: 700; font-style: italic; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;"><span
style="border:none;display:inline-block;overflow:hidden;width:344px;height:188px;"><img
src="https://lh3.googleusercontent.com/Xumk5ylO3JuNynq2nalClacFU-IcwU1u7PNopArJO3xr4Z19B1vIz0H0QdmSWEzQLb7DBmVRsOw_ifxyRPJrFkq9b25wvu7IInwamxJ_3KXjfUFiWMvt4nWIisSuxNYOVjkLc5Or"
width="344" height="188" style="margin-left:0px;margin-top:0px;"></span></span></p><p dir="ltr"
style="line-height:1.2;margin-left: 129.79080200195312pt;margin-top:0pt;margin-bottom:0pt;"><span
style="font-size: 18.0151pt; font-family: &quot;Times New Roman&quot;; color: rgb(0, 112, 192); background-color: transparent; font-weight: 700; font-style: italic; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;"><br></span></p><p
dir="ltr"
style="text-align: center; line-height: 1.2; margin-left: 129.791pt; margin-top: 0pt; margin-bottom: 0pt;"><span
style="font-size: 18.0151pt; font-family: &quot;Times New Roman&quot;; color: rgb(0, 112, 192); background-color: transparent; font-weight: 700; font-style: italic; font-variant-numeric: normal; font-variant-east-asian: normal; text-decoration-line: underline; text-decoration-skip-ink: none; vertical-align: baseline; white-space: pre-wrap;">Incontro In-formativo</span></p><p
dir="ltr"
style="line-height:1.3667760372161866;margin-right: 26.9189453125pt;text-align: center;margin-top:28.270233154296875pt;margin-bottom:0pt;"><span
style="font-size: 16.0109pt; font-family: &quot;Times New Roman&quot;; color: rgb(0, 112, 192); background-color: transparent; font-weight: 700; font-style: italic; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;">E possibile sostenersi e vivere meglio con unagricoltura Senza Chimica che rispetti la Vita e la nostra amata Madre Terra&nbsp; </span><span
style="font-size: 18.0151pt; font-family: &quot;Times New Roman&quot;; color: rgb(255, 0, 0); background-color: transparent; font-weight: 700; font-style: italic; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;">Scopriamolo Insieme&nbsp;</span></p><p
dir="ltr"
style="text-align: center; line-height: 1.2; margin-left: 136.773pt; margin-top: 12.6207pt; margin-bottom: 0pt;"><span
style="font-size: 14.0068pt; font-family: &quot;Times New Roman&quot;; color: rgb(0, 32, 96); background-color: transparent; font-weight: 700; font-style: italic; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;">con INGRESSO LIBERO </span></p><div
style="text-align: center;"><span
style="font-size: 14.0068pt; font-family: &quot;Times New Roman&quot;; color: rgb(0, 32, 96); background-color: transparent; font-weight: 700; font-style: italic; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;"><br></span></div></span>
</body>
</html>

View File

@@ -15,7 +15,8 @@ let idbKeyval = (() => {
if (!db) {
// console.log('CREO DB STORAGE JS !')
db = new Promise((resolve, reject) => {
const openreq = indexedDB.open('mydb3', 11);
// console.log('open mydb3')
const openreq = indexedDB.open('mydb3', 12);
openreq.onerror = () => {
reject(openreq.error);

View File

@@ -4,7 +4,7 @@ function geturl() {
if (miaurl.includes('localhost')) {
return 'http://localhost:8090/'
} else {
return 'https://ayni.gifteconomy.app/'
return 'https://comunitanuovomondo.app/'
}
}

0
src/statics/upload/eventi/acroyoga.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 155 KiB

After

Width:  |  Height:  |  Size: 155 KiB

0
src/statics/upload/eventi/orto_sinergico.jpg Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

0
src/statics/upload/eventi/teatro.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 502 KiB

After

Width:  |  Height:  |  Size: 502 KiB

View File