mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-10 01:37:27 +08:00
Update to v2.6
This commit is contained in:
@@ -20,10 +20,28 @@
|
||||
<span class="char-num">{{present['description']}}</span>
|
||||
<br />
|
||||
|
||||
<span>Items: </span>
|
||||
<span class="char-num" style='white-space:pre'>{{present['items']}}</span>
|
||||
{% if present['items'] %}<br />
|
||||
{% for x in present['items'] %}
|
||||
<span>Item id: </span>
|
||||
<span class="char-num">{{x['item_id']}}</span>
|
||||
<br />
|
||||
|
||||
<span>Item type: </span>
|
||||
<span class="char-num">{{x['type']}}</span>
|
||||
<br />
|
||||
|
||||
<span>Amount: </span>
|
||||
<span class="char-num">{{x['amount']}}</span>
|
||||
<br />
|
||||
|
||||
|
||||
|
||||
{% if not loop.last %}
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
</div>
|
||||
{% if not loop.last %}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block header %}
|
||||
<h1>{% block title %}All items{% endblock %}</h1>
|
||||
<h1>{% block title %}All purchases{% endblock %}</h1>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
@@ -29,21 +29,21 @@
|
||||
<br />
|
||||
{% if item['items'] %}<br />
|
||||
{% for x in item['items'] %}
|
||||
<span>Item id: </span>
|
||||
<span class="char-num">{{x['item_id']}}</span>
|
||||
<br />
|
||||
<span>Item id: </span>
|
||||
<span class="char-num">{{x['item_id']}}</span>
|
||||
<br />
|
||||
|
||||
<span>Item type: </span>
|
||||
<span class="char-num">{{x['type']}}</span>
|
||||
<br />
|
||||
<span>Item type: </span>
|
||||
<span class="char-num">{{x['type']}}</span>
|
||||
<br />
|
||||
|
||||
|
||||
|
||||
{% if not loop.last %}
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if not loop.last %}
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
{% if not loop.last %}
|
||||
|
||||
@@ -22,9 +22,28 @@
|
||||
</span>
|
||||
<br />
|
||||
|
||||
<span>Items: </span>
|
||||
<span class="char-num" style='white-space:pre'>{{redeem['items']}}</span>
|
||||
{% if redeem['items'] %}<br />
|
||||
{% for x in redeem['items'] %}
|
||||
<span>Item id: </span>
|
||||
<span class="char-num">{{x['item_id']}}</span>
|
||||
<br />
|
||||
|
||||
<span>Item type: </span>
|
||||
<span class="char-num">{{x['type']}}</span>
|
||||
<br />
|
||||
|
||||
<span>Amount: </span>
|
||||
<span class="char-num">{{x['amount']}}</span>
|
||||
<br />
|
||||
|
||||
|
||||
|
||||
{% if not loop.last %}
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
<div><a href="/web/redeem/{{redeem['code']}}">使用者 Players who have used it.</a></div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -14,15 +14,25 @@
|
||||
<label for="expire_ts">Expire time</label>
|
||||
<input type="datetime-local" name="expire_ts" id="expire_ts" required>
|
||||
<br />
|
||||
<div>Items:</div>
|
||||
<label for="fragment">Fragments</label>
|
||||
<input name="fragment" id="fragment">
|
||||
<label for="ticket">Memories</label>
|
||||
<input name="ticket" id="ticket">
|
||||
|
||||
<div class="content">两种奖励只能有一个,另一个请留空。如果都填写,以记忆源点优先。</div>
|
||||
<div class="content">There can only be one of the two kinds of present. Please leave the other one blank. If you
|
||||
fill both, the memories will be given priority.</div>
|
||||
<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='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>
|
||||
</select>
|
||||
</div>
|
||||
<label for="amount">Amount</label>
|
||||
<input name="amount" id="amount" value="1" required>
|
||||
<br />
|
||||
|
||||
<div class="content">时间填写是一个HTML5控件</div>
|
||||
<div class="content">Time filling is an HTML5 control.</div>
|
||||
<input type="submit" value="Add">
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
<label for="type">Type</label>
|
||||
<div>
|
||||
<select name="type">
|
||||
<option value='single' selected>Single</option>
|
||||
<option value='pack'>Pack</option>
|
||||
<option value='single' selected>Single song</option>
|
||||
<option value='pack'>Song pack</option>
|
||||
<option value='world_song'>World song</option>
|
||||
<option value='character'>Character</option>
|
||||
</select>
|
||||
|
||||
@@ -11,27 +11,40 @@
|
||||
<input name="code" id="code">
|
||||
<div>Or</div>
|
||||
<div>随机批量生成 Batch generation at random</div>
|
||||
<label for="amount">Amount</label>
|
||||
<input name="amount" id="amount">
|
||||
<label for="redeem_amount">Redeem code amount</label>
|
||||
<input name="redeem_amount" id="redeem_amount">
|
||||
<br />
|
||||
<div>Type:
|
||||
<div>Redeem code type:
|
||||
<br />
|
||||
<br />
|
||||
<label><input type="radio" name="type" value="0" checked>仅可使用一次 It can only be used once.</label>
|
||||
<label><input type="radio" name="redeem_type" value="0" checked>仅可使用一次 It can only be used once.</label>
|
||||
<br />
|
||||
<label><input type="radio" name="type" value="1">每个用户仅可以使用一次 Each user can only use it once.</label>
|
||||
<label><input type="radio" name="redeem_type" value="1">每个用户仅可以使用一次 Each user can only use it once.</label>
|
||||
</div>
|
||||
|
||||
|
||||
<br />
|
||||
<div>Items:</div>
|
||||
<label for="fragment">Fragments</label>
|
||||
<input name="fragment" id="fragment">
|
||||
<label for="ticket">Memories</label>
|
||||
<input name="ticket" id="ticket">
|
||||
|
||||
<div class="content">两种奖励可以都有,不需要请留空。</div>
|
||||
<div class="content">You can have both kinds of items. Please leave it blank if you don't need it.</div>
|
||||
<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>
|
||||
</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>
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
<div class="content">
|
||||
这里可以将旧版本的数据库同步到新版本的数据库,并刷新用户拥有的角色列表。<br />
|
||||
这里可以将旧版本的数据库同步到新版本的数据库,并刷新用户拥有的全角色列表。<br />
|
||||
可上传文件: arcaea_database.db和arcsong.db<br />
|
||||
新数据库不存在的数据会被添加,存在的重复数据也会被改变。<br /><br />
|
||||
Here you can synchronize the old version of the database to the new version of the database and refresh the list of
|
||||
Here you can synchronize the old version of the database to the new version of the database and refresh the list of full
|
||||
characters owned by players.<br />
|
||||
Uploadable files: arcaea_database.db & arcsong.db<br />
|
||||
Data that does not exist in the new database will be added and the existing duplicate data will also be changed.
|
||||
|
||||
Reference in New Issue
Block a user