packages feed

espial-0.0.4: 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})
^{widget}