yammat/templates/home.hamlet
2016-04-26 14:09:08 +02:00

28 lines
677 B
Text

$doctype 5
$if null beverages
<h1>!!!MATEKALYPSE!!!
<article .article #func>
<a href=@{SelectCashR}>
<p>_{MsgPayCash}
$forall (Entity uId user) <- users
<article .article>
$if userAvatar user /= Nothing
<a href=@{SelectR uId} style="background-image: url(@{GetAvatarR $ fromJust $ userAvatar user})" .avatar>
<p>#{userIdent user}
$else
<a href=@{SelectR uId}>
<p>#{userIdent user}
<article .article #func>
<a href=@{NewUserR}>
<p>_{MsgCreateUser}
<article .article #func>
<a href=@{ReactivateR}>
<p>_{MsgReactivateOldUser}
<form action=@{HomeBarcodeR} method=GET>
<input type=hidden #barcodeInput name=barcode>