espial/templates/popup-layout.hamlet
Jon Schoning 2e3e7097e6 init
2019-01-30 20:54:47 -06:00

17 lines
378 B
Plaintext

<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}