incorporated flags

This commit is contained in:
nek0 2015-04-10 19:45:16 +02:00
parent b2425b33eb
commit 37c4745a58
2 changed files with 11 additions and 3 deletions

View file

@ -29,6 +29,11 @@ article#func.article {
line-height: normal; line-height: normal;
} }
img.flag {
width: 3.2em;
height: 2em;
}
#message { #message {
padding: 10px; padding: 10px;
box-shadow: 0px 0px 3px #c4c4c4; box-shadow: 0px 0px 3px #c4c4c4;

View file

@ -5,9 +5,12 @@
<li> <li>
<a href=@{HomeR}>_{MsgHome} <a href=@{HomeR}>_{MsgHome}
<li .lang> <li .lang>
<a onclick="document.cookie = '_LANG=en'; location.reload()">EN <a onclick="document.cookie = '_LANG=en'; location.reload()">
<a onclick="document.cookie = '_LANG=de'; location.reload()">DE <img .flag src=@{StaticR images_en_svg}>
<a onclick="document.cookie = '_LANG=cz'; location.reload()">CZ <a onclick="document.cookie = '_LANG=de'; location.reload()">
<img .flag src=@{StaticR images_de_svg}>
<a onclick="document.cookie = '_LANG=cz'; location.reload()">
<img .flag src=@{StaticR images_cz_svg}>
<div id="main" role="main"> <div id="main" role="main">
$maybe msg <- mmsg $maybe msg <- mmsg