espial/templates/popup-layout.hamlet
2022-06-01 13:29:03 -05:00

17 lines
370 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.logoutE(event)()" href="@{AuthR LogoutR}">
[log out]
$nothing
<a .link href="@{AuthR LoginR}">
[log in]
<div .cf>
<div .ph2.mw7>
^{widget}