espial/templates/popup-layout.hamlet
2024-02-09 23:44:06 +01: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}