yammat/templates/restock.hamlet

22 lines
531 B
Text
Raw Normal View History

2015-04-04 04:46:33 +00:00
$doctype 5
<h3>
2015-04-09 22:40:58 +00:00
_{MsgRestock}
2015-04-04 04:46:33 +00:00
$forall (Entity bId bev) <- beverages
<article .article>
$if isNothing (beverageAvatar bev)
<a href="@{UpstockR bId}">
<p>#{beverageIdent bev}
$else
<a href="@{UpstockR bId}" style="background-image: url(@{GetAvatarR $ fromJust $ beverageAvatar bev})" .avatar>
<p>#{beverageIdent bev}
2015-04-04 04:46:33 +00:00
2015-04-08 14:39:21 +00:00
<article .article #func>
2015-04-04 04:46:33 +00:00
<a href=@{NewArticleR}>
<p>
2015-04-09 22:40:58 +00:00
_{MsgAddItem}
2015-10-11 18:07:12 +00:00
<form action=@{RestockBarcodeR} method=GET>
<input type=hidden #barcodeInput name=barcode>