yammat/templates/home.hamlet

31 lines
753 B
Plaintext
Raw Normal View History

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