yammat/templates/home.hamlet

26 lines
586 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
2015-04-08 13:56:37 +00:00
<article .article #func>
2015-04-04 04:46:33 +00:00
<a href=@{NewUserR}>
2015-04-09 22:40:58 +00:00
<p>_{MsgCreateUser}
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
2015-04-08 13:56:37 +00:00
<article .article #func>
2015-04-04 04:46:33 +00:00
<a href=@{ReactivateR}>
2015-04-09 22:40:58 +00:00
<p>_{MsgReactivateOldUser}