commit a6e9d9230f2ff7cd393e613356c00710c0abc89c Author: Thomas Dedek Date: Wed Dec 18 11:37:56 2019 +0100 init diff --git a/README.md b/README.md new file mode 100644 index 0000000..d61fb04 --- /dev/null +++ b/README.md @@ -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/ +``` \ No newline at end of file diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..cfda403 --- /dev/null +++ b/config.toml @@ -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" \ No newline at end of file diff --git a/content/index.de.md b/content/index.de.md new file mode 120000 index 0000000..417369a --- /dev/null +++ b/content/index.de.md @@ -0,0 +1 @@ +index.en.md \ No newline at end of file diff --git a/content/index.en.md b/content/index.en.md new file mode 100644 index 0000000..e2f9e26 --- /dev/null +++ b/content/index.en.md @@ -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 +--- diff --git a/content/index.fr.md b/content/index.fr.md new file mode 120000 index 0000000..417369a --- /dev/null +++ b/content/index.fr.md @@ -0,0 +1 @@ +index.en.md \ No newline at end of file diff --git a/docs/screenshot.png b/docs/screenshot.png new file mode 100644 index 0000000..baa997d Binary files /dev/null and b/docs/screenshot.png differ diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..a43ce38 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,17 @@ + + + + Ecogood portal + + + + + + + + +

Ecogood Portal

+ + {{ block "main" . }}{{ end }} + + diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..fa14ee7 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,29 @@ +{{ define "main" }} +

{{ .Title }}

+ +
+ {{ .Content }} +
+ + {{ range .Params.items }} + +
+ +
+
+

{{ .title }}

+ {{ $found := false }} + {{ range $key, $value := .description }} + {{ if eq (string $.Site.Language) $key }} +

{{ $value }}

+ {{ $found = true }} + {{ end }} + {{ end }} + + {{ if eq $found false }} +

{{ .description.en }}

+ {{ end }} +
+
+ {{ end }} +{{ end }} diff --git a/public/.htaccess b/public/.htaccess new file mode 100644 index 0000000..ff4ae98 --- /dev/null +++ b/public/.htaccess @@ -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] + diff --git a/public/.htpasswd b/public/.htpasswd new file mode 100644 index 0000000..bf5b337 --- /dev/null +++ b/public/.htpasswd @@ -0,0 +1 @@ +ecogood:GZW/io0Bep3lk \ No newline at end of file diff --git a/public/background.png b/public/background.png new file mode 100644 index 0000000..66ca932 Binary files /dev/null and b/public/background.png differ diff --git a/public/cas.png b/public/cas.png new file mode 100644 index 0000000..a8f4f92 Binary files /dev/null and b/public/cas.png differ diff --git a/public/confluence.svg b/public/confluence.svg new file mode 100644 index 0000000..acdcb72 --- /dev/null +++ b/public/confluence.svg @@ -0,0 +1,111 @@ + + + + + + image/svg+xml + + Confluence-blue + + + + + + + + + + + + + + Confluence-blue + + + + + diff --git a/public/de/index.html b/public/de/index.html new file mode 100644 index 0000000..17e3fd8 --- /dev/null +++ b/public/de/index.html @@ -0,0 +1,157 @@ + + + + Ecogood portal + + + + + + + + +

Ecogood Portal

+ + +

+ +
+ +
+ + + +
+ +
+
+

Wiki (Confluence)

+ + + +

Dokumentationsplattform

+ + + + + + + + + +
+
+ + +
+ +
+
+

Tickets (JIRA)

+ + + +

Ticketsystem für Aufgaben, Fehlermeldung und Projektplanung

+ + + + + + + + + +
+
+ + +
+ +
+
+

E-Mail (Zimbra)

+ + + +

Mailverwaltung

+ + + + + + + + + +
+
+ + +
+ +
+
+

Mailinglisten (Sympa)

+ + + +

Gruppenkommunikation per E-Mail

+ + + + + + + + + +
+
+ + +
+ +
+
+

Nextcloud

+ + + +

Datenspeicher und Austausch, Kalender, Kontakte, Online-Office

+ + + + + + + + + +
+
+ + +
+ +
+
+

Backoffice (SmartWE)

+ + + +

Mitgliederverwaltung

+ + + + + + + + + +
+
+ + + + diff --git a/public/ecogood.css b/public/ecogood.css new file mode 100644 index 0000000..4e0ba14 --- /dev/null +++ b/public/ecogood.css @@ -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; +} diff --git a/public/en/index.html b/public/en/index.html new file mode 100644 index 0000000..51dcb2a --- /dev/null +++ b/public/en/index.html @@ -0,0 +1,157 @@ + + + + Ecogood portal + + + + + + + + +

Ecogood Portal

+ + +

+ +
+ +
+ + + +
+ +
+
+

Wiki (Confluence)

+ + + + + +

Documentation platform

+ + + + + + + +
+
+ + +
+ +
+
+

Tickets (JIRA)

+ + + + + +

Ticket system

+ + + + + + + +
+
+ + +
+ +
+
+

E-Mail (Zimbra)

+ + + + + +

Webmail

+ + + + + + + +
+
+ + +
+ +
+
+

Mailinglisten (Sympa)

+ + + + + +

E-Mail lists

+ + + + + + + +
+
+ + +
+ +
+
+

Nextcloud

+ + + + + +

File based cloud application platform

+ + + + + + + +
+
+ + +
+ +
+
+

Backoffice (SmartWE)

+ + + + + +

Membership managment

+ + + + + + + +
+
+ + + + diff --git a/public/favicon-cropped.webp b/public/favicon-cropped.webp new file mode 100644 index 0000000..a28d9d8 Binary files /dev/null and b/public/favicon-cropped.webp differ diff --git a/public/favicon.webp b/public/favicon.webp new file mode 100644 index 0000000..8e26e14 Binary files /dev/null and b/public/favicon.webp differ diff --git a/public/fr/index.html b/public/fr/index.html new file mode 100644 index 0000000..7205e2d --- /dev/null +++ b/public/fr/index.html @@ -0,0 +1,157 @@ + + + + Ecogood portal + + + + + + + + +

Ecogood Portal

+ + +

+ +
+ +
+ + + +
+ +
+
+

Wiki (Confluence)

+ + + + + + + +

plate-forme de documentation

+ + + + + +
+
+ + +
+ +
+
+

Tickets (JIRA)

+ + + + + + + +

Système de billets

+ + + + + +
+
+ + +
+ +
+
+

E-Mail (Zimbra)

+ + + + + + + +

Administration du courrier

+ + + + + +
+
+ + +
+ +
+
+

Mailinglisten (Sympa)

+ + + + + + + +

Communication de groupe par e-mail

+ + + + + +
+
+ + +
+ +
+
+

Nextcloud

+ + + + + + + +

Stockage de données dans le cloud

+ + + + + +
+
+ + +
+ +
+
+

Backoffice (SmartWE)

+ + + + + + + +

gestion des membres

+ + + + + +
+
+ + + + diff --git a/public/htaccess b/public/htaccess new file mode 100644 index 0000000..ff0f594 --- /dev/null +++ b/public/htaccess @@ -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] \ No newline at end of file diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..db1c2f3 --- /dev/null +++ b/public/index.html @@ -0,0 +1 @@ +https://my.ecogood.world/en \ No newline at end of file diff --git a/public/jira.svg b/public/jira.svg new file mode 100644 index 0000000..c1cf0e2 --- /dev/null +++ b/public/jira.svg @@ -0,0 +1,89 @@ + + + + + + image/svg+xml + + Jira Core-blue + + + + + + + + + + + + Jira Core-blue + + + + + diff --git a/public/nextcloud.png b/public/nextcloud.png new file mode 100644 index 0000000..bfd3aa8 Binary files /dev/null and b/public/nextcloud.png differ diff --git a/public/osi.png b/public/osi.png new file mode 100644 index 0000000..75ea0c2 Binary files /dev/null and b/public/osi.png differ diff --git a/public/sympa.png b/public/sympa.png new file mode 100644 index 0000000..d644c9a Binary files /dev/null and b/public/sympa.png differ diff --git a/public/zimbra.png b/public/zimbra.png new file mode 100644 index 0000000..038d91a Binary files /dev/null and b/public/zimbra.png differ diff --git a/static/.htaccess b/static/.htaccess new file mode 100644 index 0000000..ff4ae98 --- /dev/null +++ b/static/.htaccess @@ -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] + diff --git a/static/.htpasswd b/static/.htpasswd new file mode 100644 index 0000000..bf5b337 --- /dev/null +++ b/static/.htpasswd @@ -0,0 +1 @@ +ecogood:GZW/io0Bep3lk \ No newline at end of file diff --git a/static/background.png b/static/background.png new file mode 100644 index 0000000..66ca932 Binary files /dev/null and b/static/background.png differ diff --git a/static/cas.png b/static/cas.png new file mode 100644 index 0000000..a8f4f92 Binary files /dev/null and b/static/cas.png differ diff --git a/static/confluence.svg b/static/confluence.svg new file mode 100644 index 0000000..acdcb72 --- /dev/null +++ b/static/confluence.svg @@ -0,0 +1,111 @@ + + + + + + image/svg+xml + + Confluence-blue + + + + + + + + + + + + + + Confluence-blue + + + + + diff --git a/static/ecogood.css b/static/ecogood.css new file mode 100644 index 0000000..4e0ba14 --- /dev/null +++ b/static/ecogood.css @@ -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; +} diff --git a/static/favicon-cropped.webp b/static/favicon-cropped.webp new file mode 100644 index 0000000..a28d9d8 Binary files /dev/null and b/static/favicon-cropped.webp differ diff --git a/static/favicon.webp b/static/favicon.webp new file mode 100644 index 0000000..8e26e14 Binary files /dev/null and b/static/favicon.webp differ diff --git a/static/jira.svg b/static/jira.svg new file mode 100644 index 0000000..c1cf0e2 --- /dev/null +++ b/static/jira.svg @@ -0,0 +1,89 @@ + + + + + + image/svg+xml + + Jira Core-blue + + + + + + + + + + + + Jira Core-blue + + + + + diff --git a/static/nextcloud.png b/static/nextcloud.png new file mode 100644 index 0000000..bfd3aa8 Binary files /dev/null and b/static/nextcloud.png differ diff --git a/static/osi.png b/static/osi.png new file mode 100644 index 0000000..75ea0c2 Binary files /dev/null and b/static/osi.png differ diff --git a/static/sympa.png b/static/sympa.png new file mode 100644 index 0000000..d644c9a Binary files /dev/null and b/static/sympa.png differ diff --git a/static/zimbra.png b/static/zimbra.png new file mode 100644 index 0000000..038d91a Binary files /dev/null and b/static/zimbra.png differ