yammat/templates/select.hamlet

34 lines
828 B
Text
Raw Normal View History

2015-04-04 04:46:33 +00:00
$doctype 5
<div .header>
<ul>
<li>
2015-04-09 22:40:58 +00:00
_{MsgCurrentCharge (userBalance user) (appCurrency $ appSettings master)}
2015-04-04 04:46:33 +00:00
<li>
<a href=@{RechargeR uId}>
2015-04-09 22:40:58 +00:00
_{MsgRecharge}
2015-04-07 20:03:21 +00:00
<li>
<a href=@{ModifyUserR uId}>
2015-04-09 22:40:58 +00:00
_{MsgEditUser}
<li>
<a href=@{TransferSelectR uId}>
_{MsgTransfer}
2015-04-04 04:46:33 +00:00
2015-04-09 22:40:58 +00:00
<h3>_{MsgChoosePrompt $ userIdent user}
2015-04-04 04:46:33 +00:00
2015-04-06 02:37:20 +00:00
$if null beverages
<h1>
!!!MATEKALYPSE!!!
2015-04-04 04:46:33 +00:00
$forall (Entity bId bev) <- beverages
<article .article>
$if beverageAvatar bev /= Nothing
<a href=@{BuyR uId bId} style="background-image: url(@{GetAvatarR $ fromJust $ beverageAvatar bev})" .avatar>
<p>#{beverageIdent bev}
$else
<a href=@{BuyR uId bId}>
<p>#{beverageIdent bev}
2015-07-20 23:14:21 +00:00
2015-07-20 23:42:52 +00:00
<form action=@{SelectBarcodeR uId} method=GET>
2015-07-20 23:28:05 +00:00
<input type=hidden #barcodeInput name=barcode>