yammat/templates/default-layout.hamlet

54 lines
1.7 KiB
Text
Raw Normal View History

2015-04-09 22:40:58 +00:00
<div class="container">
<header>
<nav>
<ul>
<li>
<a href=@{HomeR}>_{MsgHome}
2015-04-09 23:25:28 +00:00
<li .lang>
2015-04-10 17:45:16 +00:00
<a onclick="document.cookie = '_LANG=cz'; location.reload()">
<img .flag src=@{StaticR images_cz_svg}>
<a onclick="document.cookie = '_LANG=de'; location.reload()">
<img .flag src=@{StaticR images_de_svg}>
<a onclick="document.cookie = '_LANG=fr'; location.reload()">
<img .flag src=@{StaticR images_fr_svg}>
<a onclick="document.cookie = '_LANG=en'; location.reload()">
<img .flag src=@{StaticR images_en_svg}>
<a onclick="document.cookie = '_LANG=pl'; location.reload()">
<img .flag src=@{StaticR images_pl_svg}>
2017-07-31 17:02:49 +00:00
<a onclick="document.cookie = '_LANG=hr'; location.reload()">
<img .flag src=@{StaticR images_hr_svg}>
2018-08-02 07:19:01 +00:00
<a onclick="document.cookie = '_LANG=ee'; location.reload()">
<img .flag src=@{StaticR images_ee_svg}>
2018-08-10 09:05:16 +00:00
<a onclick="document.cookie = '_LANG=rs'; location.reload()">
<img .flag src=@{StaticR images_rs_svg}>
2015-04-09 22:40:58 +00:00
2015-10-12 00:32:45 +00:00
<hr>
2015-04-09 22:40:58 +00:00
<div id="main" role="main">
$maybe msg <- mmsg
<div #message>#{msg}
^{widget}
2015-10-12 00:32:45 +00:00
<hr>
2015-04-09 22:40:58 +00:00
<footer>
2017-06-03 00:37:22 +00:00
$maybe username <- musername
<span>
<a href=@{RestockR}>_{MsgRestock}
<span>
<a href=@{JournalR}>_{MsgJournal}
<span>
<a href=@{SummaryR}>_{MsgSummary}
<span>
<a href=@{AvatarR}>_{MsgAvatars}
<span>
<a href=@{SupplierR}>_{MsgSuppliers}
$if username /= "nobody"
<span>
<a href=@{AuthR LogoutR}>_{MsgLogout}
$nothing
<span>
<a href=@{AuthR LoginR}>_{MsgLogin}
2015-09-17 19:54:04 +00:00
<div .right>
^{pageBody copyrightWidget}