summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-11-18 11:57:05 +0100
committerChristian Grothoff <christian@grothoff.org>2014-11-18 11:57:05 +0100
commitbc6cb57ff278a9b034129b22fd39ebeab45669a5 (patch)
tree2d72e6833d5f499e1e921a853e39031565e6c6aa
parentc8bfbfb28602bfd46a21e0c7908ca857b71cb722 (diff)
parent9319b10bbd02677b414f0560a4ace198e8b92bb2 (diff)
downloadwww-bc6cb57ff278a9b034129b22fd39ebeab45669a5.tar.gz
www-bc6cb57ff278a9b034129b22fd39ebeab45669a5.tar.bz2
www-bc6cb57ff278a9b034129b22fd39ebeab45669a5.zip
merge
-rw-r--r--common/header.inc1
-rw-r--r--common/navigation.inc2
-rw-r--r--lang.css6
-rw-r--r--main.html5
4 files changed, 12 insertions, 2 deletions
diff --git a/common/header.inc b/common/header.inc
index c54bba37..51f441de 100644
--- 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
index e12abb06..d538a4d3 100644
--- 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
new file mode 100644
index 00000000..f0153e54
--- /dev/null
+++ 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
index 2cefb159..acb4517c 100644
--- 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>