diverse improvements regarding logic and style

lektura
max.mehl 2017-03-23 19:14:20 +01:00
parent e903f14867
commit 744d21db9e
6 changed files with 26 additions and 11 deletions

View File

@ -118,6 +118,7 @@ DefaultContentLanguage = "en"
[Languages.de.navigation]
brand = "Public Money, Public Code"
[Languages.de.navigation.links]
start = "Start"
about = "Über"
reasons = "Gründe"
resources = "Ressourcen"

View File

@ -1,6 +1,5 @@
<!DOCTYPE html>
{{ $data := index .Site.Data .Site.Language.Lang }}
<html lang="en-US">
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
<head>
{{ partial "head.html" . }}
</head>

View File

@ -1,6 +1,5 @@
<!DOCTYPE html>
{{ $data := index .Site.Data .Site.Language.Lang }}
<html lang="en-US">
<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
<head>
{{ partial "head.html" . }}
</head>

View File

@ -1,5 +1,4 @@
<!DOCTYPE html>
{{ $data := index .Site.Data .Site.Language.Lang }}
<html lang="en-US">
<head>
{{ partial "head.html" . }}

View File

@ -3,21 +3,27 @@
<div class="header-content">
<div class="header-content-inner">
<div class="col-lg-8 col-lg-offset-2 text-center">
<h1>Signatures</h1>
<hr />
<table class="signatures">
<tbody>
<tr>
<th>ID</th>
<th>Name</th>
<th>Country</th>
<th>Zip Code</th>
</tr>
{{ range $.Site.Data.signatures }}
{{ range . }}
<tr>
<td>{{ .name }}</td>
<td>{{ .country }}</td>
<td>{{ .zip }}</td>
</tr>
{{end}}
{{ if eq .confirmed "yes" }}
<tr>
<td>{{ .id }}</td>
<td>{{ .name }}</td>
<td>{{ .country }}</td>
<td>{{ .zip }}</td>
</tr>
{{ end }}
{{ end }}
{{ end }}
</tbody>
</table>

View File

@ -31,6 +31,17 @@
font-size: 0.8em;
}
/* Signature table */
table.signatures {
margin: 0 auto;
}
table.signatures th, table.signatures td {
border: 1px solid darkgrey;
border-collapse: collapse;
text-align: left;
padding: 2px;
}
/* SHARE BUTTONS IN "SPREAD THE WORD" SECTION */
.share-buttons a {
background-position: left 5px center;