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] [Languages.de.navigation]
brand = "Public Money, Public Code" brand = "Public Money, Public Code"
[Languages.de.navigation.links] [Languages.de.navigation.links]
start = "Start"
about = "Über" about = "Über"
reasons = "Gründe" reasons = "Gründe"
resources = "Ressourcen" resources = "Ressourcen"

View File

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

View File

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

View File

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

View File

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

View File

@ -31,6 +31,17 @@
font-size: 0.8em; 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 IN "SPREAD THE WORD" SECTION */
.share-buttons a { .share-buttons a {
background-position: left 5px center; background-position: left 5px center;