This commit is contained in:
Thomas Dedek
2019-12-18 11:37:56 +01:00
commit a6e9d9230f
39 changed files with 1152 additions and 0 deletions

29
README.md Normal file
View File

@@ -0,0 +1,29 @@
# Ecogood Portal Page
This SPA shows a list of available web applications of ecogood.
![screenshot](docs/screenshot.png "Screenshot")
**Features:**
- responsive layout
- generated static website powered by [Hugo](https://gohugo.io/)
- Multi language support
- Apache based basic Authentication included
## Development
A live server can be started as usual with hugo:
hugo server
## Deployment
```bash
rm -rf public
hugo
rsync --archive --delete --exclude /.htpasswd public/ \
ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.world/htdocs-ssl/
rsync --archive public/.htpasswd \
ecg00-portal@ecg00.hostsharing.net:doms/my.ecogood.world/
```

19
config.toml Normal file
View File

@@ -0,0 +1,19 @@
baseURL = "https://my.ecogood.world/"
#languageCode = "de-de"
title = "Ecogood Portal old"
defaultContentLanguageInSubdir = true
disableKinds = ["RSS", "sitemap", "taxonomy", "taxonomyTerm"]
[languages]
[languages.en]
title = "Ecogood Portal set"
contentDir = "content"
languageName = "English"
[languages.de]
languageName = "Deutsch"
contentDir = "content"
[languages.fr]
title = "Ecogood portail"
contentDir = "content"
languageName = "Français"

1
content/index.de.md Symbolic link
View File

@@ -0,0 +1 @@
index.en.md

48
content/index.en.md Normal file
View File

@@ -0,0 +1,48 @@
---
languages: ['en', 'de', 'fr']
items:
- url: https://wiki.ecogood.org
title: Wiki (Confluence)
description:
en: Documentation platform
de: Dokumentationsplattform
fr: plate-forme de documentation
icon: confluence.svg
- url: https://jira.ecogood.org
title: Tickets (JIRA)
description:
en: Ticket system
de: Ticketsystem für Aufgaben, Fehlermeldung und Projektplanung
fr: Système de billets
icon: jira.svg
- url: https://mail.ecogood.org
title: E-Mail (Zimbra)
description:
en: Webmail
de: Mailverwaltung
fr: Administration du courrier
icon: zimbra.png
- url: https://list.ecogood.org
title: Mailinglisten (Sympa)
description:
en: E-Mail lists
de: Gruppenkommunikation per E-Mail
fr: Communication de groupe par e-mail
icon: sympa.png
- url: https://datacloud.ecogood.org
title: Nextcloud
description:
description:
en: File based cloud application platform
de: Datenspeicher und Austausch, Kalender, Kontakte, Online-Office
fr: Stockage de données dans le cloud
icon: nextcloud.png
- url: https://backoffice.ecogood.org
title: Backoffice (SmartWE)
description:
description:
en: Membership managment
de: Mitgliederverwaltung
fr: gestion des membres
icon: cas.png
---

1
content/index.fr.md Symbolic link
View File

@@ -0,0 +1 @@
index.en.md

BIN
docs/screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

View File

@@ -0,0 +1,17 @@
<!doctype html>
<html lang="{{.Site.Language.Lang }}">
<head>
<title>Ecogood portal</title>
<link rel="stylesheet" href="{{ "ecogood.css" | absURL }}"/>
<link rel="icon" href="{{ "favicon-cropped.webp" | absURL }}" sizes="32x32" />
<link rel="icon" href="{{ "favicon.webp" | absURL }}" sizes="192x192" />
<link rel="apple-touch-icon-precomposed" href="{{ "favicon.png" | absURL }}" />
<meta name="msapplication-TileImage" content="{{ "favicon.webp" | absURL }}" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body style="background-image: url({{ "background.png" | absURL }});">
<h1 style="text-align: center">Ecogood Portal</h1>
{{ block "main" . }}{{ end }}
</body>
</html>

View File

@@ -0,0 +1,29 @@
{{ define "main" }}
<h1 style="text-align: center">{{ .Title }}</h1>
<div>
{{ .Content }}
</div>
{{ range .Params.items }}
<a class="item-box" href="{{ .url }}" target="_blank">
<div class="image-box">
<img src="{{ .icon | absURL }}"/>
</div>
<div class="text-box">
<h2>{{ .title }}</h2>
{{ $found := false }}
{{ range $key, $value := .description }}
{{ if eq (string $.Site.Language) $key }}
<p>{{ $value }}</p>
{{ $found = true }}
{{ end }}
{{ end }}
{{ if eq $found false }}
<p>{{ .description.en }}</p>
{{ end }}
</div>
</a>
{{ end }}
{{ end }}

18
public/.htaccess Normal file
View File

@@ -0,0 +1,18 @@
AuthType Basic
AuthName "Geschuetzter Bereich. Zugangsdaten koennen beim AK-IT unbuerokratish angefordert werden."
AuthUserFile /home/pacs/ecg00/users/portal/doms/my.ecogood.world/.htpasswd
Require valid-user
# redirection depending on the language
RewriteEngine on
RewriteCond %{HTTP:Accept-Language} ^de [NC]
RewriteRule ^$ https://%{HTTP_HOST}/de [L,R=302]
RewriteCond %{HTTP:Accept-Language} ^fr [NC]
RewriteRule ^$ https://%{HTTP_HOST}/fr [L,R=302]
# Fallback for any other language to spanish
RewriteCond %{HTTP_HOST} my.ecogood.world [NC]
RewriteRule ^$ https://%{HTTP_HOST}/en [L,R=302]

1
public/.htpasswd Normal file
View File

@@ -0,0 +1 @@
ecogood:GZW/io0Bep3lk

BIN
public/background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
public/cas.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

111
public/confluence.svg Normal file
View File

@@ -0,0 +1,111 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 128 128"
version="1.1"
id="svg40"
sodipodi:docname="confluence.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
width="128"
height="128">
<metadata
id="metadata44">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Confluence-blue</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1129"
id="namedview42"
showgrid="false"
inkscape:zoom="3.5361574"
inkscape:cx="163.59546"
inkscape:cy="65.825847"
inkscape:window-x="0"
inkscape:window-y="49"
inkscape:window-maximized="1"
inkscape:current-layer="svg40"
showborder="true"
borderlayer="false"
inkscape:showpageshadow="true"
inkscape:pagecheckerboard="false" />
<defs
id="defs10">
<style
id="style2">.cls-1{fill:#253858;}.cls-2{fill:url(#linear-gradient);}.cls-3{fill:url(#linear-gradient-2);}</style>
<linearGradient
id="linear-gradient"
x1="59.68"
y1="67.650002"
x2="20.35"
y2="45.049999"
gradientUnits="userSpaceOnUse">
<stop
offset="0.18"
stop-color="#0052cc"
id="stop4" />
<stop
offset="1"
stop-color="#2684ff"
id="stop6" />
</linearGradient>
<linearGradient
id="linear-gradient-2"
x1="279.76001"
y1="-1616.34"
x2="240.42"
y2="-1638.95"
gradientTransform="rotate(180,141.415,-776.27)"
xlink:href="#linear-gradient" />
<linearGradient
inkscape:collect="always"
xlink:href="#linear-gradient"
id="linearGradient3749"
gradientUnits="userSpaceOnUse"
x1="59.68"
y1="67.650002"
x2="20.35"
y2="45.049999"
gradientTransform="translate(0,64.169998)" />
</defs>
<title
id="title12">Confluence-blue</title>
<g
id="g25"
transform="matrix(2.0349222,0,0,2.0349222,0.3332851,-132.45786)">
<path
inkscape:connector-curvature="0"
style="fill:url(#linearGradient3749)"
id="path34"
d="m 2.23,113.7 c -0.65,1.06 -1.38,2.29 -2,3.27 a 2,2 0 0 0 0.67,2.72 l 13,8 a 2,2 0 0 0 2.77,-0.68 c 0.52,-0.87 1.19,-2 1.92,-3.21 5.15,-8.5 10.33,-7.46 19.67,-3 l 12.89,6.13 a 2,2 0 0 0 2.69,-1 l 6.19,-14 a 2,2 0 0 0 -1,-2.62 c -2.72,-1.28 -8.13,-3.83 -13,-6.18 C 28.51,94.619998 13.62,95.169998 2.23,113.7 Z"
class="cls-2" />
<path
inkscape:connector-curvature="0"
style="fill:url(#linear-gradient-2)"
id="path36"
d="m 60.52,81.929998 c 0.65,-1.06 1.38,-2.29 2,-3.27 a 2,2 0 0 0 -0.67,-2.72 l -13,-8 a 2,2 0 0 0 -2.85,0.66 c -0.52,0.87 -1.19,2 -1.92,3.21 -5.15,8.5 -10.33,7.46 -19.67,3 l -12.85,-6.1 a 2,2 0 0 0 -2.69,1 l -6.19,14 a 2,2 0 0 0 1,2.62 c 2.72,1.28 8.13,3.83 13,6.18 17.56,8.500002 32.45,7.930002 43.84,-10.58 z"
class="cls-3" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

157
public/de/index.html Normal file
View File

@@ -0,0 +1,157 @@
<!doctype html>
<html lang="de">
<head>
<title>Ecogood portal</title>
<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.webp" sizes="192x192" />
<link rel="apple-touch-icon-precomposed" href="https://my.ecogood.world/favicon.png" />
<meta name="msapplication-TileImage" content="https://my.ecogood.world/favicon.webp" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body style="background-image: url(https://my.ecogood.world/background.png);">
<h1 style="text-align: center">Ecogood Portal</h1>
<h1 style="text-align: center"></h1>
<div>
</div>
<a class="item-box" href="https://wiki.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/confluence.svg"/>
</div>
<div class="text-box">
<h2>Wiki (Confluence)</h2>
<p>Dokumentationsplattform</p>
</div>
</a>
<a class="item-box" href="https://jira.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/jira.svg"/>
</div>
<div class="text-box">
<h2>Tickets (JIRA)</h2>
<p>Ticketsystem für Aufgaben, Fehlermeldung und Projektplanung</p>
</div>
</a>
<a class="item-box" href="https://mail.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/zimbra.png"/>
</div>
<div class="text-box">
<h2>E-Mail (Zimbra)</h2>
<p>Mailverwaltung</p>
</div>
</a>
<a class="item-box" href="https://list.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/sympa.png"/>
</div>
<div class="text-box">
<h2>Mailinglisten (Sympa)</h2>
<p>Gruppenkommunikation per E-Mail</p>
</div>
</a>
<a class="item-box" href="https://datacloud.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/nextcloud.png"/>
</div>
<div class="text-box">
<h2>Nextcloud</h2>
<p>Datenspeicher und Austausch, Kalender, Kontakte, Online-Office</p>
</div>
</a>
<a class="item-box" href="https://backoffice.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/cas.png"/>
</div>
<div class="text-box">
<h2>Backoffice (SmartWE)</h2>
<p>Mitgliederverwaltung</p>
</div>
</a>
</body>
</html>

42
public/ecogood.css Normal file
View File

@@ -0,0 +1,42 @@
body {
color: #333;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
a {
text-decoration: none;
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;
}

157
public/en/index.html Normal file
View File

@@ -0,0 +1,157 @@
<!doctype html>
<html lang="en">
<head>
<title>Ecogood portal</title>
<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.webp" sizes="192x192" />
<link rel="apple-touch-icon-precomposed" href="https://my.ecogood.world/favicon.png" />
<meta name="msapplication-TileImage" content="https://my.ecogood.world/favicon.webp" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body style="background-image: url(https://my.ecogood.world/background.png);">
<h1 style="text-align: center">Ecogood Portal</h1>
<h1 style="text-align: center"></h1>
<div>
</div>
<a class="item-box" href="https://wiki.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/confluence.svg"/>
</div>
<div class="text-box">
<h2>Wiki (Confluence)</h2>
<p>Documentation platform</p>
</div>
</a>
<a class="item-box" href="https://jira.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/jira.svg"/>
</div>
<div class="text-box">
<h2>Tickets (JIRA)</h2>
<p>Ticket system</p>
</div>
</a>
<a class="item-box" href="https://mail.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/zimbra.png"/>
</div>
<div class="text-box">
<h2>E-Mail (Zimbra)</h2>
<p>Webmail</p>
</div>
</a>
<a class="item-box" href="https://list.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/sympa.png"/>
</div>
<div class="text-box">
<h2>Mailinglisten (Sympa)</h2>
<p>E-Mail lists</p>
</div>
</a>
<a class="item-box" href="https://datacloud.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/nextcloud.png"/>
</div>
<div class="text-box">
<h2>Nextcloud</h2>
<p>File based cloud application platform</p>
</div>
</a>
<a class="item-box" href="https://backoffice.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/cas.png"/>
</div>
<div class="text-box">
<h2>Backoffice (SmartWE)</h2>
<p>Membership managment</p>
</div>
</a>
</body>
</html>

BIN
public/favicon-cropped.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 892 B

BIN
public/favicon.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

157
public/fr/index.html Normal file
View File

@@ -0,0 +1,157 @@
<!doctype html>
<html lang="fr">
<head>
<title>Ecogood portal</title>
<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.webp" sizes="192x192" />
<link rel="apple-touch-icon-precomposed" href="https://my.ecogood.world/favicon.png" />
<meta name="msapplication-TileImage" content="https://my.ecogood.world/favicon.webp" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body style="background-image: url(https://my.ecogood.world/background.png);">
<h1 style="text-align: center">Ecogood Portal</h1>
<h1 style="text-align: center"></h1>
<div>
</div>
<a class="item-box" href="https://wiki.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/confluence.svg"/>
</div>
<div class="text-box">
<h2>Wiki (Confluence)</h2>
<p>plate-forme de documentation</p>
</div>
</a>
<a class="item-box" href="https://jira.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/jira.svg"/>
</div>
<div class="text-box">
<h2>Tickets (JIRA)</h2>
<p>Système de billets</p>
</div>
</a>
<a class="item-box" href="https://mail.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/zimbra.png"/>
</div>
<div class="text-box">
<h2>E-Mail (Zimbra)</h2>
<p>Administration du courrier</p>
</div>
</a>
<a class="item-box" href="https://list.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/sympa.png"/>
</div>
<div class="text-box">
<h2>Mailinglisten (Sympa)</h2>
<p>Communication de groupe par e-mail</p>
</div>
</a>
<a class="item-box" href="https://datacloud.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/nextcloud.png"/>
</div>
<div class="text-box">
<h2>Nextcloud</h2>
<p>Stockage de données dans le cloud</p>
</div>
</a>
<a class="item-box" href="https://backoffice.ecogood.org" target="_blank">
<div class="image-box">
<img src="https://my.ecogood.world/cas.png"/>
</div>
<div class="text-box">
<h2>Backoffice (SmartWE)</h2>
<p>gestion des membres</p>
</div>
</a>
</body>
</html>

14
public/htaccess Normal file
View File

@@ -0,0 +1,14 @@
RewriteEngine on
RewriteCond %{HTTP:Accept-Language} ^en [NC]
RewriteRule ^$ https://%{HTTP_HOST}/en/ [L,R=300]
RewriteCond %{HTTP:Accept-Language} ^de [NC]
RewriteRule ^$ https://%{HTTP_HOST}/de/ [L,R=300]
RewriteCond %{HTTP:Accept-Language} ^fr [NC]
RewriteRule ^$ https://%{HTTP_HOST}/fr/ [L,R=300]
# Fallback for any other language to spanish
RewriteCond %{HTTP_HOST} my.ecogood.world [NC]
RewriteRule ^$ https://%{HTTP_HOST}/en2/ [L,R=300]

1
public/index.html Normal file
View File

@@ -0,0 +1 @@
<!DOCTYPE html><html><head><title>https://my.ecogood.world/en</title><link rel="canonical" href="https://my.ecogood.world/en"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://my.ecogood.world/en" /></head></html>

89
public/jira.svg Normal file
View File

@@ -0,0 +1,89 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 128 128"
version="1.1"
id="svg35"
sodipodi:docname="jira2.svg"
width="128"
height="128"
inkscape:version="0.92.3 (2405546, 2018-03-11)">
<metadata
id="metadata39">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Jira Core-blue</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1129"
id="namedview37"
showgrid="false"
inkscape:zoom="4.5440585"
inkscape:cx="139.44195"
inkscape:cy="59.706224"
inkscape:window-x="0"
inkscape:window-y="49"
inkscape:window-maximized="1"
inkscape:current-layer="svg35" />
<defs
id="defs9">
<style
id="style2">.cls-1{fill:#253858;}.cls-2{fill:url(#linear-gradient);}.cls-3{fill:#2684ff;}</style>
<linearGradient
id="linear-gradient"
x1="37.130001"
y1="31.709999"
x2="52.419998"
y2="46.240002"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0,62)">
<stop
offset="0.17"
stop-color="#0052cc"
id="stop4" />
<stop
offset="1"
stop-color="#2684ff"
id="stop6" />
</linearGradient>
</defs>
<title
id="title11">Jira Core-blue</title>
<g
id="g15"
transform="matrix(1.937178,0,0,1.937178,0,-119.95879)">
<path
inkscape:connector-curvature="0"
style="fill:url(#linear-gradient)"
id="path29"
d="M 33.43,106.48 A 21.52,21.52 0 0 0 54.95,128 v 0 -42.88 L 33.43,99.86 Z"
class="cls-2" />
<path
style="fill:#2684ff"
inkscape:connector-curvature="0"
id="path31"
d="M 54.95,85.12 V 65.21 a 3.2,3.2 0 0 0 -5,-2.64 L 0,96.67 a 21.52,21.52 0 0 0 29.89,5.69 z"
class="cls-3" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
public/nextcloud.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
public/osi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

BIN
public/sympa.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

BIN
public/zimbra.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

18
static/.htaccess Normal file
View File

@@ -0,0 +1,18 @@
AuthType Basic
AuthName "Geschuetzter Bereich. Zugangsdaten koennen beim AK-IT unbuerokratish angefordert werden."
AuthUserFile /home/pacs/ecg00/users/portal/doms/my.ecogood.world/.htpasswd
Require valid-user
# redirection depending on the language
RewriteEngine on
RewriteCond %{HTTP:Accept-Language} ^de [NC]
RewriteRule ^$ https://%{HTTP_HOST}/de [L,R=302]
RewriteCond %{HTTP:Accept-Language} ^fr [NC]
RewriteRule ^$ https://%{HTTP_HOST}/fr [L,R=302]
# Fallback for any other language to spanish
RewriteCond %{HTTP_HOST} my.ecogood.world [NC]
RewriteRule ^$ https://%{HTTP_HOST}/en [L,R=302]

1
static/.htpasswd Normal file
View File

@@ -0,0 +1 @@
ecogood:GZW/io0Bep3lk

BIN
static/background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
static/cas.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

111
static/confluence.svg Normal file
View File

@@ -0,0 +1,111 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 128 128"
version="1.1"
id="svg40"
sodipodi:docname="confluence.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
width="128"
height="128">
<metadata
id="metadata44">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Confluence-blue</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1129"
id="namedview42"
showgrid="false"
inkscape:zoom="3.5361574"
inkscape:cx="163.59546"
inkscape:cy="65.825847"
inkscape:window-x="0"
inkscape:window-y="49"
inkscape:window-maximized="1"
inkscape:current-layer="svg40"
showborder="true"
borderlayer="false"
inkscape:showpageshadow="true"
inkscape:pagecheckerboard="false" />
<defs
id="defs10">
<style
id="style2">.cls-1{fill:#253858;}.cls-2{fill:url(#linear-gradient);}.cls-3{fill:url(#linear-gradient-2);}</style>
<linearGradient
id="linear-gradient"
x1="59.68"
y1="67.650002"
x2="20.35"
y2="45.049999"
gradientUnits="userSpaceOnUse">
<stop
offset="0.18"
stop-color="#0052cc"
id="stop4" />
<stop
offset="1"
stop-color="#2684ff"
id="stop6" />
</linearGradient>
<linearGradient
id="linear-gradient-2"
x1="279.76001"
y1="-1616.34"
x2="240.42"
y2="-1638.95"
gradientTransform="rotate(180,141.415,-776.27)"
xlink:href="#linear-gradient" />
<linearGradient
inkscape:collect="always"
xlink:href="#linear-gradient"
id="linearGradient3749"
gradientUnits="userSpaceOnUse"
x1="59.68"
y1="67.650002"
x2="20.35"
y2="45.049999"
gradientTransform="translate(0,64.169998)" />
</defs>
<title
id="title12">Confluence-blue</title>
<g
id="g25"
transform="matrix(2.0349222,0,0,2.0349222,0.3332851,-132.45786)">
<path
inkscape:connector-curvature="0"
style="fill:url(#linearGradient3749)"
id="path34"
d="m 2.23,113.7 c -0.65,1.06 -1.38,2.29 -2,3.27 a 2,2 0 0 0 0.67,2.72 l 13,8 a 2,2 0 0 0 2.77,-0.68 c 0.52,-0.87 1.19,-2 1.92,-3.21 5.15,-8.5 10.33,-7.46 19.67,-3 l 12.89,6.13 a 2,2 0 0 0 2.69,-1 l 6.19,-14 a 2,2 0 0 0 -1,-2.62 c -2.72,-1.28 -8.13,-3.83 -13,-6.18 C 28.51,94.619998 13.62,95.169998 2.23,113.7 Z"
class="cls-2" />
<path
inkscape:connector-curvature="0"
style="fill:url(#linear-gradient-2)"
id="path36"
d="m 60.52,81.929998 c 0.65,-1.06 1.38,-2.29 2,-3.27 a 2,2 0 0 0 -0.67,-2.72 l -13,-8 a 2,2 0 0 0 -2.85,0.66 c -0.52,0.87 -1.19,2 -1.92,3.21 -5.15,8.5 -10.33,7.46 -19.67,3 l -12.85,-6.1 a 2,2 0 0 0 -2.69,1 l -6.19,14 a 2,2 0 0 0 1,2.62 c 2.72,1.28 8.13,3.83 13,6.18 17.56,8.500002 32.45,7.930002 43.84,-10.58 z"
class="cls-3" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

42
static/ecogood.css Normal file
View File

@@ -0,0 +1,42 @@
body {
color: #333;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
a {
text-decoration: none;
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;
}

BIN
static/favicon-cropped.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 892 B

BIN
static/favicon.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

89
static/jira.svg Normal file
View File

@@ -0,0 +1,89 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 128 128"
version="1.1"
id="svg35"
sodipodi:docname="jira2.svg"
width="128"
height="128"
inkscape:version="0.92.3 (2405546, 2018-03-11)">
<metadata
id="metadata39">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Jira Core-blue</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1129"
id="namedview37"
showgrid="false"
inkscape:zoom="4.5440585"
inkscape:cx="139.44195"
inkscape:cy="59.706224"
inkscape:window-x="0"
inkscape:window-y="49"
inkscape:window-maximized="1"
inkscape:current-layer="svg35" />
<defs
id="defs9">
<style
id="style2">.cls-1{fill:#253858;}.cls-2{fill:url(#linear-gradient);}.cls-3{fill:#2684ff;}</style>
<linearGradient
id="linear-gradient"
x1="37.130001"
y1="31.709999"
x2="52.419998"
y2="46.240002"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(0,62)">
<stop
offset="0.17"
stop-color="#0052cc"
id="stop4" />
<stop
offset="1"
stop-color="#2684ff"
id="stop6" />
</linearGradient>
</defs>
<title
id="title11">Jira Core-blue</title>
<g
id="g15"
transform="matrix(1.937178,0,0,1.937178,0,-119.95879)">
<path
inkscape:connector-curvature="0"
style="fill:url(#linear-gradient)"
id="path29"
d="M 33.43,106.48 A 21.52,21.52 0 0 0 54.95,128 v 0 -42.88 L 33.43,99.86 Z"
class="cls-2" />
<path
style="fill:#2684ff"
inkscape:connector-curvature="0"
id="path31"
d="M 54.95,85.12 V 65.21 a 3.2,3.2 0 0 0 -5,-2.64 L 0,96.67 a 21.52,21.52 0 0 0 29.89,5.69 z"
class="cls-3" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
static/nextcloud.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
static/osi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

BIN
static/sympa.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

BIN
static/zimbra.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB