mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-12 19:17:26 +08:00
Update a midway version (waiting for offical update)
Add some things and fix some bugs. It will not have a description.
This commit is contained in:
39
latest version/templates/web/allredeem.html
Normal file
39
latest version/templates/web/allredeem.html
Normal file
@@ -0,0 +1,39 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block header %}
|
||||
<h1>{% block title %}All redeem codes{% endblock %}</h1>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if posts %}<br />
|
||||
{% for redeem in posts %}
|
||||
|
||||
<div class="char-redeem">
|
||||
<span>Code: </span>
|
||||
<span class="name">{{redeem['code']}}</span>
|
||||
<br />
|
||||
|
||||
<span>Type: </span>
|
||||
<span class="char-num">
|
||||
{% if redeem['type'] == 0 %}
|
||||
仅可使用一次 It can only be used once.
|
||||
{% elif redeem['type'] == 1 %}
|
||||
每个用户仅可以使用一次 Each user can only use it once.
|
||||
{% endif %}
|
||||
</span>
|
||||
<br />
|
||||
|
||||
<span>Items: </span>
|
||||
<span class="char-num" style='white-space:pre'>{{redeem['items']}}</span>
|
||||
<br />
|
||||
<div><a href="/web/redeem/{{redeem['code']}}">使用者 Players who have used it.</a></div>
|
||||
|
||||
</div>
|
||||
{% if not loop.last %}
|
||||
<br />
|
||||
<hr />
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
50
latest version/templates/web/changeredeem.html
Normal file
50
latest version/templates/web/changeredeem.html
Normal file
@@ -0,0 +1,50 @@
|
||||
{% 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="amount">Amount</label>
|
||||
<input name="amount" id="amount">
|
||||
<br />
|
||||
<div>Type:
|
||||
<br />
|
||||
<br />
|
||||
<label><input type="radio" name="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>
|
||||
</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>
|
||||
<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 %}
|
||||
24
latest version/templates/web/changeuserpwd.html
Normal file
24
latest version/templates/web/changeuserpwd.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block header %}
|
||||
<h1>{% block title %}Change user password{% endblock %}</h1>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form action="/web/changeuserpwd" method="post">
|
||||
<div class="title">Edit the user's password</div>
|
||||
<label for="name">Arcaea Username</label>
|
||||
<input name="name" id="name">
|
||||
or<br />
|
||||
<label for="user_code">Arcaea User Code</label>
|
||||
<input name="user_code" id="user_code">
|
||||
<br />
|
||||
<br />
|
||||
|
||||
<label for="pwd">Password</label>
|
||||
<input type="password" name="pwd" id="pwd" required>
|
||||
<label for="pwd2">Enter again</label>
|
||||
<input type="password" name="pwd2" id="pwd2" required>
|
||||
|
||||
<input type="submit" value="Edit">
|
||||
</form>
|
||||
{% endblock %}
|
||||
@@ -17,10 +17,12 @@
|
||||
<a href="{{ url_for('index.all_character') }}">角色信息查询 All characters</a></br></br>
|
||||
<a href="{{ url_for('index.all_item') }}">购买信息查询 All items</a></br></br>
|
||||
<a href="{{ url_for('index.all_present') }}">奖励信息查询 All presents</a></br></br>
|
||||
<a href="{{ url_for('index.all_redeem') }}">兑换码信息查询 All redeem codes</a></br></br>
|
||||
<a href="{{ url_for('index.single_chart_top') }}">单个铺面排行榜查询 Single song chart tops</a>
|
||||
<hr>
|
||||
<h1>系统方面 System</h1>
|
||||
<a href="{{ url_for('index.update_database') }}">数据库更新 Update databases</a></br></br>
|
||||
<a href="{{ url_for('index.edit_userpwd') }}">用户密码修改 Change user password</a></br></br>
|
||||
<a href="{{ url_for('index.update_user_save') }}">用户存档更新 Update user saves</a></br></br>
|
||||
<a href="{{ url_for('index.change_song') }}">歌曲修改 Change the songs</a></br></br>
|
||||
<a href="{{ url_for('index.change_character') }}">角色修改 Change the characters</a></br></br>
|
||||
@@ -28,7 +30,9 @@
|
||||
<a href="{{ url_for('index.change_user') }}">用户信息修改 Change user information</a></br></br>
|
||||
<a href="{{ url_for('index.change_user_purchase') }}">用户购买信息修改 Change user purchase information</a></br></br>
|
||||
<a href="{{ url_for('index.change_present') }}">奖励修改 Change the presents</a></br></br>
|
||||
<a href="{{ url_for('index.deliver_present') }}">奖励分发 Deliver the presents</a>
|
||||
<a href="{{ url_for('index.deliver_present') }}">奖励分发 Deliver the presents</a></br></br>
|
||||
<a href="{{ url_for('index.change_redeem') }}">兑换码修改 Change the redeem codes</a>
|
||||
|
||||
|
||||
|
||||
{% endblock %}
|
||||
24
latest version/templates/web/redeem.html
Normal file
24
latest version/templates/web/redeem.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block header %}
|
||||
<h1>{% block title %}Redeem - {{code}}{% endblock %}</h1>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if posts %}
|
||||
{% for user in posts %}
|
||||
|
||||
<div id="user-info">
|
||||
<div class="name">{{user['name']}}
|
||||
<span class="rank">UID: {{user['user_id']}}</span>
|
||||
<span class="rank">User code: {{user['user_code']}}</span>
|
||||
</div>
|
||||
</div>
|
||||
{% if not loop.last %}
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
<br />
|
||||
<a href="{{ url_for('index.all_redeem') }}">Back</a>
|
||||
{% endblock %}
|
||||
@@ -12,10 +12,10 @@
|
||||
<div class="content">
|
||||
这里可以将旧版本的数据库同步到新版本的数据库,并刷新用户拥有的角色列表。<br />
|
||||
可上传文件: arcaea_database.db和arcsong.db<br />
|
||||
新数据库不存在的数据会被添加,存在的数据将不会被改变。<br /><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
|
||||
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 data will not be changed.
|
||||
Data that does not exist in the new database will be added and the existing duplicate data will also be changed.
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user