yammat/templates/upstock.hamlet

15 lines
488 B
Text
Raw Normal View History

2015-04-04 04:46:33 +00:00
$doctype 5
2015-04-09 22:40:58 +00:00
<h3>_{MsgStockUp $ beverageIdent bev}
2015-04-04 04:46:33 +00:00
<p>
2015-04-09 22:40:58 +00:00
_{MsgCurrentStock}: #{beverageAmount bev}
2015-04-04 04:46:33 +00:00
<form method=post enctype=#{enctype}>
^{upstockWidget}
<div>
2015-04-09 22:40:58 +00:00
<input type=submit value="_{MsgFillup}">
<input onclick="e=document.getElementById('hident2');e.value=parseInt(e.value)+1;" value="_{MsgIncrement}" type="button">
<input onclick="e=document.getElementById('hident2');e.value=(parseInt(e.value)>=1)?parseInt(e.value)-1:0;" value="_{MsgDecrement}" type="button">