mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2025-12-14 08:06:23 +08:00
- Add support for missions - PTT mechanism: Change first play protection to new best protection - Adapt to the new difficulty ETR - Uncap DORO*C - Incomplete support for "pick_ticket" - Fix requirements: cryptography >= 35.0.0 Note: This is an intermediate test version, only for Arcaea 5.4.0c. Next version will adapt to 5.4.0.
65 lines
2.4 KiB
HTML
65 lines
2.4 KiB
HTML
{% extends 'base.html' %}
|
|
{% block header %}
|
|
<h1>{% block title %}Change the redeem codes{% endblock %}</h1>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<form action="/web/changeredeem/addredeem" method="post">
|
|
<div class="title">Add the redeem</div>
|
|
<div>指定生成 Specify generation</div>
|
|
<label for="code">The redeem code</label>
|
|
<input name="code" id="code">
|
|
<div>Or</div>
|
|
<div>随机批量生成 Batch generation at random</div>
|
|
<label for="redeem_amount">Redeem code amount</label>
|
|
<input name="redeem_amount" id="redeem_amount">
|
|
<br />
|
|
<div>Redeem code type:
|
|
<br />
|
|
<br />
|
|
<label><input type="radio" name="redeem_type" value="0" checked>仅可使用一次 It can only be used once.</label>
|
|
<br />
|
|
<label><input type="radio" name="redeem_type" value="1">每个用户仅可以使用一次 Each user can only use it once.</label>
|
|
</div>
|
|
|
|
|
|
<br />
|
|
|
|
<label for="item_id">ID of the item</label>
|
|
<input name="item_id" id="item_id" required>
|
|
<label for="type">Type</label>
|
|
<div>
|
|
<select name="type">
|
|
<option value='single' selected>Single song</option>
|
|
<option value='pack'>Song pack</option>
|
|
<option value='world_song'>World song</option>
|
|
<option value='world_unlock'>World unlock scene</option>
|
|
<option value='character'>Character</option>
|
|
<option value='core'>Character core</option>
|
|
<option value='fragment'>Fragment</option>
|
|
<option value='memory'>Memory</option>
|
|
<option value='anni5tix'>Anniversary 5 ticket</option>
|
|
<option value='pick_ticket'>Pick ticket</option>
|
|
</select>
|
|
</div>
|
|
<label for="amount">Amount</label>
|
|
<input name="amount" id="amount" value="1" required>
|
|
<br />
|
|
|
|
|
|
<div class="content">兑换码长度为10~20。</div>
|
|
<div class="content">The length of redeem code is 10 ~ 20.</div>
|
|
<div class="content">随机生成数量不得超过1000。</div>
|
|
<div class="content">The amount of batch generation should not be more than 1000.</div>
|
|
<input type="submit" value="Add">
|
|
</form>
|
|
<br />
|
|
<hr />
|
|
<form action="/web/changeredeem/deleteredeem" method="post">
|
|
<div class="title">Delete the redeem</div>
|
|
<label for="code">The redeem code</label>
|
|
<input name="code" id="code" required>
|
|
|
|
<input type="submit" value="Delete">
|
|
</form>
|
|
{% endblock %} |