base layout: update CSP; add RP

This commit is contained in:
Thomas Dedek
2019-12-22 10:45:40 +01:00
parent 032fad44e2
commit 01c73e9f01
8 changed files with 54 additions and 92 deletions

View File

@@ -10,3 +10,6 @@ rsync -v --archive --delete --exclude /.htpasswd public/ \
ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.world/htdocs-ssl/ ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.world/htdocs-ssl/
rsync -v --archive public/.htpasswd \ rsync -v --archive public/.htpasswd \
ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.world/ ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.world/
echo
echo Finished. See results at https://my.ecogood.world

View File

@@ -2,6 +2,8 @@
<html lang="{{.Site.Language.Lang }}"> <html lang="{{.Site.Language.Lang }}">
<head> <head>
<title>Ecogood portal</title> <title>Ecogood portal</title>
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; child-src 'none';">
<meta name="referrer" content="no-referrer">
<link rel="stylesheet" href="{{ "ecogood.css" | absURL }}"/> <link rel="stylesheet" href="{{ "ecogood.css" | absURL }}"/>
<link rel="icon" href="{{ "favicon-cropped.webp" | absURL }}" sizes="32x32" /> <link rel="icon" href="{{ "favicon-cropped.webp" | absURL }}" sizes="32x32" />
<link rel="icon" href="{{ "favicon.webp" | absURL }}" sizes="192x192" /> <link rel="icon" href="{{ "favicon.webp" | absURL }}" sizes="192x192" />

View File

@@ -33,20 +33,20 @@
<div id="epframe"> <div id="epframe">
<a href="https://www.ecogood.org/media/filer_public/73/da/73dab961-6125-4f69-bf7a-3c8613a90739/gwoe_arbeitsbuch_5_0_vollbilanz.pdf" target="_blank"> <a href="https://www.ecogood.org/media/filer_public/73/da/73dab961-6125-4f69-bf7a-3c8613a90739/gwoe_arbeitsbuch_5_0_vollbilanz.pdf" target="_blank">
<div class="epsrect" style="background-image: url({{ "gwoe-arbeitsbuch-5v.jpg" | absURL }});"></div> <div class="epsrect buchvoll"></div>
</a> </a>
<a href="https://www.ecogood.org/media/filer_public/04/8e/048e113f-5802-494e-866b-c3f8c8a6a674/gwoe_arbeitsbuch_5_0_kompaktbilanz.pdf" target="_blank"> <a href="https://www.ecogood.org/media/filer_public/04/8e/048e113f-5802-494e-866b-c3f8c8a6a674/gwoe_arbeitsbuch_5_0_kompaktbilanz.pdf" target="_blank">
<div class="epsrect" style="background-image: url({{ "gwoe-arbeitsbuch-5k.jpg" | absURL }});"> <div class="epsrect buchkompakt"></div>
</div></a> </a>
<a href="https://wiki.ecogood.org/download/attachments/10649644/GW%C3%96_Umgangskodex.pdf?version=2&modificationDate=1516310958744&api=v2" target="_blank"> <a href="https://wiki.ecogood.org/download/attachments/10649644/GW%C3%96_Umgangskodex.pdf?version=2&modificationDate=1516310958744&api=v2" target="_blank">
<div class="epsrect" style="background-image:url({{ "epecg.png" | absURL }});"> <div class="epsrect buchkodex">
<div class="eptextfunc" style="color: #5a5a5a; text-transform:uppercase; text-align:left;padding-left:24px; font-size: 95%">Umgangs<br />kodex</div></div> <div class="eptextfunc" style="color: #5a5a5a; text-transform:uppercase; text-align:left;padding-left:24px; font-size: 95%">Umgangs<br />kodex</div></div>
</a> </a>
<a href="https://wiki.ecogood.org/pages/viewpage.action?pageId=33949627&preview=/12359328/26348450/GWOE_Regelwerk1804.pdf" target="_blank"> <a href="https://wiki.ecogood.org/pages/viewpage.action?pageId=33949627&preview=/12359328/26348450/GWOE_Regelwerk1804.pdf" target="_blank">
<div class="epsrect" style="background-image:url({{ "gwoe-regelwerk.jpg" | absURL }}); background-size:100%;"> <div class="epsrect buchregel">
</div></a> </div></a>
</div> </div>

View File

@@ -2,6 +2,7 @@
<html lang="de"> <html lang="de">
<head> <head>
<title>Ecogood portal</title> <title>Ecogood portal</title>
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; img-src https://*; child-src 'none';">
<link rel="stylesheet" href="https://my.ecogood.world/ecogood.css"/> <link rel="stylesheet" href="https://my.ecogood.world/ecogood.css"/>
<link rel="icon" href="https://my.ecogood.world/favicon-cropped.webp" sizes="32x32" /> <link rel="icon" href="https://my.ecogood.world/favicon-cropped.webp" sizes="32x32" />
<link rel="icon" href="https://my.ecogood.world/favicon.webp" sizes="192x192" /> <link rel="icon" href="https://my.ecogood.world/favicon.webp" sizes="192x192" />
@@ -142,20 +143,20 @@
<div id="epframe"> <div id="epframe">
<a href="https://www.ecogood.org/media/filer_public/73/da/73dab961-6125-4f69-bf7a-3c8613a90739/gwoe_arbeitsbuch_5_0_vollbilanz.pdf" target="_blank"> <a href="https://www.ecogood.org/media/filer_public/73/da/73dab961-6125-4f69-bf7a-3c8613a90739/gwoe_arbeitsbuch_5_0_vollbilanz.pdf" target="_blank">
<div class="epsrect" style="background-image: url(https://my.ecogood.world/gwoe-arbeitsbuch-5v.jpg);"></div> <div class="epsrect buchvoll"></div>
</a> </a>
<a href="https://www.ecogood.org/media/filer_public/04/8e/048e113f-5802-494e-866b-c3f8c8a6a674/gwoe_arbeitsbuch_5_0_kompaktbilanz.pdf" target="_blank"> <a href="https://www.ecogood.org/media/filer_public/04/8e/048e113f-5802-494e-866b-c3f8c8a6a674/gwoe_arbeitsbuch_5_0_kompaktbilanz.pdf" target="_blank">
<div class="epsrect" style="background-image: url(https://my.ecogood.world/gwoe-arbeitsbuch-5k.jpg);"> <div class="epsrect buchkompakt"></div>
</div></a> </a>
<a href="https://wiki.ecogood.org/download/attachments/10649644/GW%C3%96_Umgangskodex.pdf?version=2&modificationDate=1516310958744&api=v2" target="_blank"> <a href="https://wiki.ecogood.org/download/attachments/10649644/GW%C3%96_Umgangskodex.pdf?version=2&modificationDate=1516310958744&api=v2" target="_blank">
<div class="epsrect" style="background-image:url(https://my.ecogood.world/epecg.png);"> <div class="epsrect buchkodex">
<div class="eptextfunc" style="color: #5a5a5a; text-transform:uppercase; text-align:left;padding-left:24px; font-size: 95%">Umgangs<br />kodex</div></div> <div class="eptextfunc" style="color: #5a5a5a; text-transform:uppercase; text-align:left;padding-left:24px; font-size: 95%">Umgangs<br />kodex</div></div>
</a> </a>
<a href="https://wiki.ecogood.org/pages/viewpage.action?pageId=33949627&preview=/12359328/26348450/GWOE_Regelwerk1804.pdf" target="_blank"> <a href="https://wiki.ecogood.org/pages/viewpage.action?pageId=33949627&preview=/12359328/26348450/GWOE_Regelwerk1804.pdf" target="_blank">
<div class="epsrect" style="background-image:url(https://my.ecogood.world/gwoe-regelwerk.jpg); background-size:100%;"> <div class="epsrect buchregel">
</div></a> </div></a>
</div> </div>

View File

@@ -14,41 +14,6 @@ a {
color: #333; color: #333;
} }
/*
.item-box {
border-radius: 15px;
position: relative;
float: left;
border: 1px dashed gray;
width: 480px;
height: 140px;
background-color: #eee;
margin: 20px;
padding: 8px;
}
.item-box .image-box {
width: 100px;
height: 100px;
float: left;
padding: 10px;
}
.item-box img {
max-width: 100%;
max-height: 100%;
margin: auto;
display: block;
}
h2 {
color: #009da5;
font-size: 26px;
font-weight: 500;
}
*/
#epframe { #epframe {
margin: auto; margin: auto;
max-width: 900px; max-width: 900px;
@@ -74,7 +39,6 @@ h2 {
.epsrect { .epsrect {
width: 23%; width: 23%;
padding-bottom: 32.2%; padding-bottom: 32.2%;
background-color: none;
position: relative; position: relative;
margin: 0.5%; margin: 0.5%;
display: inline-block; display: inline-block;
@@ -83,6 +47,19 @@ h2 {
border: 1px solid #ccc; border: 1px solid #ccc;
} }
.epsrect.buchvoll {
background-image: url(gwoe-arbeitsbuch-5v.jpg);
}
.epsrect.buchkompakt {
background-image: url(gwoe-arbeitsbuch-5k.jpg);
}
.epsrect.buchkodex {
background-image: url(epecg.png);
}
.epsrect.buchregel {
background-image: url(gwoe-regelwerk.jpg); background-size: 100%;
}
.eptextfunc { .eptextfunc {
width: 100%; width: 100%;
font-weight: bold; font-weight: bold;

View File

@@ -2,6 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<title>Ecogood portal</title> <title>Ecogood portal</title>
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; img-src https://*; child-src 'none';">
<link rel="stylesheet" href="https://my.ecogood.world/ecogood.css"/> <link rel="stylesheet" href="https://my.ecogood.world/ecogood.css"/>
<link rel="icon" href="https://my.ecogood.world/favicon-cropped.webp" sizes="32x32" /> <link rel="icon" href="https://my.ecogood.world/favicon-cropped.webp" sizes="32x32" />
<link rel="icon" href="https://my.ecogood.world/favicon.webp" sizes="192x192" /> <link rel="icon" href="https://my.ecogood.world/favicon.webp" sizes="192x192" />
@@ -142,20 +143,20 @@
<div id="epframe"> <div id="epframe">
<a href="https://www.ecogood.org/media/filer_public/73/da/73dab961-6125-4f69-bf7a-3c8613a90739/gwoe_arbeitsbuch_5_0_vollbilanz.pdf" target="_blank"> <a href="https://www.ecogood.org/media/filer_public/73/da/73dab961-6125-4f69-bf7a-3c8613a90739/gwoe_arbeitsbuch_5_0_vollbilanz.pdf" target="_blank">
<div class="epsrect" style="background-image: url(https://my.ecogood.world/gwoe-arbeitsbuch-5v.jpg);"></div> <div class="epsrect buchvoll"></div>
</a> </a>
<a href="https://www.ecogood.org/media/filer_public/04/8e/048e113f-5802-494e-866b-c3f8c8a6a674/gwoe_arbeitsbuch_5_0_kompaktbilanz.pdf" target="_blank"> <a href="https://www.ecogood.org/media/filer_public/04/8e/048e113f-5802-494e-866b-c3f8c8a6a674/gwoe_arbeitsbuch_5_0_kompaktbilanz.pdf" target="_blank">
<div class="epsrect" style="background-image: url(https://my.ecogood.world/gwoe-arbeitsbuch-5k.jpg);"> <div class="epsrect buchkompakt"></div>
</div></a> </a>
<a href="https://wiki.ecogood.org/download/attachments/10649644/GW%C3%96_Umgangskodex.pdf?version=2&modificationDate=1516310958744&api=v2" target="_blank"> <a href="https://wiki.ecogood.org/download/attachments/10649644/GW%C3%96_Umgangskodex.pdf?version=2&modificationDate=1516310958744&api=v2" target="_blank">
<div class="epsrect" style="background-image:url(https://my.ecogood.world/epecg.png);"> <div class="epsrect buchkodex">
<div class="eptextfunc" style="color: #5a5a5a; text-transform:uppercase; text-align:left;padding-left:24px; font-size: 95%">Umgangs<br />kodex</div></div> <div class="eptextfunc" style="color: #5a5a5a; text-transform:uppercase; text-align:left;padding-left:24px; font-size: 95%">Umgangs<br />kodex</div></div>
</a> </a>
<a href="https://wiki.ecogood.org/pages/viewpage.action?pageId=33949627&preview=/12359328/26348450/GWOE_Regelwerk1804.pdf" target="_blank"> <a href="https://wiki.ecogood.org/pages/viewpage.action?pageId=33949627&preview=/12359328/26348450/GWOE_Regelwerk1804.pdf" target="_blank">
<div class="epsrect" style="background-image:url(https://my.ecogood.world/gwoe-regelwerk.jpg); background-size:100%;"> <div class="epsrect buchregel">
</div></a> </div></a>
</div> </div>

View File

@@ -2,6 +2,7 @@
<html lang="fr"> <html lang="fr">
<head> <head>
<title>Ecogood portal</title> <title>Ecogood portal</title>
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; img-src https://*; child-src 'none';">
<link rel="stylesheet" href="https://my.ecogood.world/ecogood.css"/> <link rel="stylesheet" href="https://my.ecogood.world/ecogood.css"/>
<link rel="icon" href="https://my.ecogood.world/favicon-cropped.webp" sizes="32x32" /> <link rel="icon" href="https://my.ecogood.world/favicon-cropped.webp" sizes="32x32" />
<link rel="icon" href="https://my.ecogood.world/favicon.webp" sizes="192x192" /> <link rel="icon" href="https://my.ecogood.world/favicon.webp" sizes="192x192" />
@@ -142,20 +143,20 @@
<div id="epframe"> <div id="epframe">
<a href="https://www.ecogood.org/media/filer_public/73/da/73dab961-6125-4f69-bf7a-3c8613a90739/gwoe_arbeitsbuch_5_0_vollbilanz.pdf" target="_blank"> <a href="https://www.ecogood.org/media/filer_public/73/da/73dab961-6125-4f69-bf7a-3c8613a90739/gwoe_arbeitsbuch_5_0_vollbilanz.pdf" target="_blank">
<div class="epsrect" style="background-image: url(https://my.ecogood.world/gwoe-arbeitsbuch-5v.jpg);"></div> <div class="epsrect buchvoll"></div>
</a> </a>
<a href="https://www.ecogood.org/media/filer_public/04/8e/048e113f-5802-494e-866b-c3f8c8a6a674/gwoe_arbeitsbuch_5_0_kompaktbilanz.pdf" target="_blank"> <a href="https://www.ecogood.org/media/filer_public/04/8e/048e113f-5802-494e-866b-c3f8c8a6a674/gwoe_arbeitsbuch_5_0_kompaktbilanz.pdf" target="_blank">
<div class="epsrect" style="background-image: url(https://my.ecogood.world/gwoe-arbeitsbuch-5k.jpg);"> <div class="epsrect buchkompakt"></div>
</div></a> </a>
<a href="https://wiki.ecogood.org/download/attachments/10649644/GW%C3%96_Umgangskodex.pdf?version=2&modificationDate=1516310958744&api=v2" target="_blank"> <a href="https://wiki.ecogood.org/download/attachments/10649644/GW%C3%96_Umgangskodex.pdf?version=2&modificationDate=1516310958744&api=v2" target="_blank">
<div class="epsrect" style="background-image:url(https://my.ecogood.world/epecg.png);"> <div class="epsrect buchkodex">
<div class="eptextfunc" style="color: #5a5a5a; text-transform:uppercase; text-align:left;padding-left:24px; font-size: 95%">Umgangs<br />kodex</div></div> <div class="eptextfunc" style="color: #5a5a5a; text-transform:uppercase; text-align:left;padding-left:24px; font-size: 95%">Umgangs<br />kodex</div></div>
</a> </a>
<a href="https://wiki.ecogood.org/pages/viewpage.action?pageId=33949627&preview=/12359328/26348450/GWOE_Regelwerk1804.pdf" target="_blank"> <a href="https://wiki.ecogood.org/pages/viewpage.action?pageId=33949627&preview=/12359328/26348450/GWOE_Regelwerk1804.pdf" target="_blank">
<div class="epsrect" style="background-image:url(https://my.ecogood.world/gwoe-regelwerk.jpg); background-size:100%;"> <div class="epsrect buchregel">
</div></a> </div></a>
</div> </div>

View File

@@ -14,41 +14,6 @@ a {
color: #333; color: #333;
} }
/*
.item-box {
border-radius: 15px;
position: relative;
float: left;
border: 1px dashed gray;
width: 480px;
height: 140px;
background-color: #eee;
margin: 20px;
padding: 8px;
}
.item-box .image-box {
width: 100px;
height: 100px;
float: left;
padding: 10px;
}
.item-box img {
max-width: 100%;
max-height: 100%;
margin: auto;
display: block;
}
h2 {
color: #009da5;
font-size: 26px;
font-weight: 500;
}
*/
#epframe { #epframe {
margin: auto; margin: auto;
max-width: 900px; max-width: 900px;
@@ -74,7 +39,6 @@ h2 {
.epsrect { .epsrect {
width: 23%; width: 23%;
padding-bottom: 32.2%; padding-bottom: 32.2%;
background-color: none;
position: relative; position: relative;
margin: 0.5%; margin: 0.5%;
display: inline-block; display: inline-block;
@@ -83,6 +47,19 @@ h2 {
border: 1px solid #ccc; border: 1px solid #ccc;
} }
.epsrect.buchvoll {
background-image: url(gwoe-arbeitsbuch-5v.jpg);
}
.epsrect.buchkompakt {
background-image: url(gwoe-arbeitsbuch-5k.jpg);
}
.epsrect.buchkodex {
background-image: url(epecg.png);
}
.epsrect.buchregel {
background-image: url(gwoe-regelwerk.jpg); background-size: 100%;
}
.eptextfunc { .eptextfunc {
width: 100%; width: 100%;
font-weight: bold; font-weight: bold;