espial-0.0.3: templates/popup-layout.hamlet
<div #popup_header>
<div #logout>
$maybe userName <- musername
<a onclick="PS['App'].logoutE(event)()" href="@{AuthR LogoutR}">
[log out]
$nothing
<a href="@{AuthR LoginR}">
[log in]
<div #title>
<a href="@{HomeR}">Espial
$maybe userName <- musername
- (#{userName})
$maybe alert <- malert
^{alert}
^{widget}