genofire/hs_monolith
genofire
/
hs_monolith
Archived
1
0
Fork 0
This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
hs_monolith/webroot/static/html/item-add.html

32 lines
1.2 KiB
HTML

<h1>
{{product.title}}
<a ui-sref="item({productid:product.id})">
<i class="icon linkify"></i>
</a>
</h1>
<form class="ui form segment" ng-submit="submit()" ng-class="{'top attached':msg.type}">
<div class="field">
<label>Expiration Date</label>
<input type="date" name="fouled_at" placeholder="Fouled at date (e.g. 2017-06-30)" ng-model="obj.fouled_at"
required="" pattern="((?:19|20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|
1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31)))?">
</div>
<div class="field">
<label>Position</label>
<input type="text" name="position" placeholder="Location in Store" , ng-model="obj.position">
</div>
<div class="field">
<label>Comment</label>
<input type="text" name="comment" placeholder="Comment for this good" , ng-model="obj.comment">
</div>
<div class="field">
<label>Count</label>
<input type="number" name="count" ng-model="count" min="1">
</div>
<button class="ui button" type="submit">Submit</button>
</form>
<div class="ui bottom attached message {{msg.type}}" ng-show="msg.type">
{{msg.text}}
</div>