espial/templates/popup-layout.hamlet

17 lines
378 B
Plaintext
Raw Normal View History

2019-01-31 02:54:47 +00:00
<div #popup_header .pa2>
<div .fl>
<a .link href="@{HomeR}">Espial
$maybe userName <- musername
- (#{userName})
<div .fr>
$maybe userName <- musername
<a .link onclick="PS['Main'].logoutE(event)()" href="@{AuthR LogoutR}">
[log out]
$nothing
<a .link href="@{AuthR LoginR}">
[log in]
<div .cf>
<div .ph2.mw7>
^{widget}