summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJulian Kirsch <kirschju@sec.in.tum.de>2014-11-18 11:51:21 +0100
committerJulian Kirsch <kirschju@sec.in.tum.de>2014-11-18 11:51:21 +0100
commit52ea5e2fffe8e044611c9a02625f62a2a4864a75 (patch)
tree64b89a564764555180518ddd1908af42b9dbeed9 /common
parent70eaab03e8e433f4d43b690350153b4283c4255b (diff)
downloadwww-52ea5e2fffe8e044611c9a02625f62a2a4864a75.tar.gz
www-52ea5e2fffe8e044611c9a02625f62a2a4864a75.tar.bz2
www-52ea5e2fffe8e044611c9a02625f62a2a4864a75.zip
Add simple language selector
Diffstat (limited to 'common')
-rw-r--r--common/header.inc1
-rw-r--r--common/navigation.inc2
2 files changed, 3 insertions, 0 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>