aplay latest design

This commit is contained in:
Thomas Dedek
2019-12-19 15:25:05 +01:00
parent a6e9d9230f
commit 6da77d7bf8
51 changed files with 612 additions and 657 deletions

View File

@@ -10,8 +10,6 @@
<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

@@ -1,29 +1,57 @@
{{ define "main" }}
<h1 style="text-align: center">{{ .Title }}</h1>
<img style="display:block; width: 80%; max-width: 500px; margin:auto" src="{{ "ecg-portal-logo.png" | absURL }}" />
<div>
{{ .Content }}
</div>
<div id="epframe">
{{ 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 }}
<a href="{{ .url }}" target="_blank">
<div class="epsquare epcol{{ .cssClass }}">
<div class="eptextfunc">{{ $found := false }}
{{ range $key, $value := .title }}
{{ if eq (string $.Site.Language) $key }}
<p>{{ $value }}</p>
{{ $value }}
{{ $found = true }}
{{ end }}
{{ end }}
{{ if eq $found false }}
<p>{{ .description.en }}</p>
{{ end }}
</div>
</a>
{{ .title.en }}
{{ end }}</div>
<div class="eptexttool">{{ .solution }}</div>
</div></a>
{{ end }}
</div>
<!--Platzhalter-->
<div class="epsquareplus"></div>
</div>
<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">
<div class="epsrect" style="background-image: url({{ "gwoe-arbeitsbuch-5v.jpg" | absURL }});"></div>
</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">
<div class="epsrect" style="background-image: url({{ "gwoe-arbeitsbuch-5k.jpg" | absURL }});">
</div></a>
<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="eptextfunc" style="color: #5a5a5a; text-transform:uppercase; text-align:left;padding-left:24px; font-size: 95%">Umgangs<br />kodex</div></div>
</a>
<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></a>
</div>
<!--Platzhalter-->
<div class="epsquareplus"></div>
<!--Platzhalter-->
<div class="epsquareplus"></div>
{{ end }}