yammat/templates/home.hamlet

31 lines
753 B
Text
Raw Normal View History

2015-04-04 04:46:33 +00:00
$doctype 5
$if null beverages
<h1>!!!MATEKALYPSE!!!
2015-04-08 13:56:37 +00:00
<article .article #func>
2015-04-04 04:46:33 +00:00
<a href=@{SelectCashR}>
2015-04-09 22:40:58 +00:00
<p>_{MsgPayCash}
2015-04-04 04:46:33 +00:00
$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}
2015-04-04 04:46:33 +00:00
$if not (appUserCreationBlocked settings)
<article .article #func>
<a href=@{NewUserR}>
<p>_{MsgCreateUser}
2016-04-26 12:09:08 +00:00
$if not (null ousers)
<article .article #func>
<a href=@{ReactivateR}>
<p>_{MsgReactivateOldUser}
2015-07-20 23:28:05 +00:00
2015-07-20 23:42:52 +00:00
<form action=@{HomeBarcodeR} method=GET>
2015-07-20 23:28:05 +00:00
<input type=hidden #barcodeInput name=barcode>