Files
Arcaea-server/latest version/templates/web/changepurchase.html
Lost-MSth 3a1c731e24 Update to v2.8.2 without release
- Try to add support for Anniversary 5 ticket
- Update the song database

> Well, there may be bugs with Anniversary 5 ticket. Remember it can only be used when the pack is on sale.
2022-03-09 18:44:00 +08:00

36 lines
1.5 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>是否允许使用兑换券购买 Whether it is allowed to purchase with Anniversary 5 ticket:
<label><input type="radio" name="discount_reason" value="0">No</label>
<label><input type="radio" name="discount_reason" value="anni5tix">Yes</label>
</div>
<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 %}