commit bc6cb57ff278a9b034129b22fd39ebeab45669a5
parent c8bfbfb28602bfd46a21e0c7908ca857b71cb722
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 18 Nov 2014 11:57:05 +0100
merge
Diffstat:
4 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/common/header.inc b/common/header.inc
@@ -8,6 +8,7 @@
<!-- Custom styles for this template -->
<link href="justified-nav.css" rel="stylesheet">
+ <link href="lang.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
diff --git a/common/navigation.inc b/common/navigation.inc
@@ -1,3 +1,5 @@
+ <button onclick="document.body.className='en'">english</button>
+ <button onclick="document.body.className='de'">deutsch</button>
<div class="masthead">
<ul class="nav nav-justified">
<li class="active"><a href="/">Home</a></li>
diff --git a/lang.css b/lang.css
@@ -0,0 +1,6 @@
+body.en :lang(de) {
+ display: none;
+}
+body.de :lang(en) {
+ display: none;
+}
diff --git a/main.html b/main.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="en">
+<html>
<head>
<meta charset="utf-8">
<title>Taler - Taxable Anonymous Libre Electronic Reserves</title>
@@ -12,7 +12,8 @@
<!-- Jumbotron -->
<div class="jumbotron">
<img src="images/logo.png"></img>
- <h1>Electronic Payments for Libre Society!</h1>
+ <h1 lang="en">Electronic Payments for Libre Society!</h1>
+ <h1 lang="de">Deutlich!</h1>
<p class="lead">We are building Taler, a new electronic payment system for privacy and security.</p>
<!-- p><a class="btn btn-lg btn-success" href="#" role="button">Get started today</a></p -->
</div>