language switcher

This commit is contained in:
Astro 2015-04-10 01:25:28 +02:00
parent 067663d90c
commit 5f2873fb23
2 changed files with 8 additions and 0 deletions

View file

@ -56,6 +56,11 @@ header a {
box-shadow: 0px 0px 3px #c4c4c4; box-shadow: 0px 0px 3px #c4c4c4;
} }
header .lang a {
background-color: olive;
color: yellow;
}
header ul { header ul {
list-style: none outside none; list-style: none outside none;
} }

View file

@ -4,6 +4,9 @@
<ul> <ul>
<li> <li>
<a href=@{HomeR}>_{MsgHome} <a href=@{HomeR}>_{MsgHome}
<li .lang>
<a onclick="document.cookie = '_LANG=en'; location.reload()">EN
<a onclick="document.cookie = '_LANG=de'; location.reload()">DE
<div id="main" role="main"> <div id="main" role="main">
$maybe msg <- mmsg $maybe msg <- mmsg