Files
Arcaea-server/latest version/templates/web/changepurchase.html
Lost-MSth 3fbf473de2 Ready to update to v2.5
Please wait for some time. I need to change readme. I almost forgot what I changed before.
WARNING: There will be many bugs!
2021-06-10 19:01:26 +08:00

32 lines
1.2 KiB
HTML

{% extends 'base.html' %}
{% block header %}
<h1>{% block title %}Change the purchases{% endblock %}</h1>
{% endblock %}
{% block content %}
<form action="/web/changepurchase" method="post">
<div class="title">Add the purchase</div>
<label for="purchase_name">Purchase name</label>
<input name="purchase_name" id="purchase_name" required>
<label for="price">Price</label>
<input name="price" id="price">
<label for="orig_price">Original price</label>
<input name="orig_price" id="orig_price">
<label for="discount_from">Discount from</label>
<input type="datetime-local" name="discount_from" id="discount_from">
<label for="discount_to">Discount to</label>
<input type="datetime-local" name="discount_to" id="discount_to">
<div class="content">时间填写是一个HTML5控件</div>
<div class="content">Time filling is an HTML5 control.</div>
<br />
<input type="submit" value="Add">
</form>
<form action="/web/changepurchase/delete" method="post">
<div class="title">Delete the purchase</div>
<label for="purchase_name">Purchase name</label>
<input name="purchase_name" id="purchase_name" required>
<br />
<input type="submit" value="Delete">
</form>
{% endblock %}