mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-10 18:07:28 +08:00
Update to v1.6
This commit is contained in:
59
latest version/templates/web/allchar.html
Normal file
59
latest version/templates/web/allchar.html
Normal file
@@ -0,0 +1,59 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block header %}
|
||||
<h1>{% block title %}All characters{% endblock %}</h1>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if posts %}<br />
|
||||
{% for char in posts %}
|
||||
|
||||
<div class="char-item">
|
||||
<span>Id: </span>
|
||||
<span class="char-id">{{char['character_id']}}</span>
|
||||
<br />
|
||||
|
||||
<span>Name: </span>
|
||||
<span class="char-name">{{char['name']}}</span>
|
||||
<br />
|
||||
|
||||
<span>Level: </span>
|
||||
<span class="char-num">{{char['level']}}</span>
|
||||
<br />
|
||||
|
||||
<span>Frag: </span>
|
||||
<span class="char-num">{{char['frag']}}</span>
|
||||
<br />
|
||||
|
||||
<span>Prog: </span>
|
||||
<span class="char-num">{{char['prog']}}</span>
|
||||
<br />
|
||||
|
||||
<span>Overdrive: </span>
|
||||
<span class="char-num">{{char['overdrive']}}</span>
|
||||
<br />
|
||||
|
||||
<span>Skill id: </span>
|
||||
<span class="char-num">{{char['skill_id']}}</span>
|
||||
<br />
|
||||
|
||||
<span>Uncapped skill id: </span>
|
||||
<span class="char-num">{{char['skill_id_uncap']}}</span>
|
||||
<br />
|
||||
|
||||
<span>Is uncapped: </span>
|
||||
<span class="char-num">{{char['is_uncapped']}}</span>
|
||||
<br />
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
{% if not loop.last %}
|
||||
<br />
|
||||
<hr />
|
||||
<br />
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
@@ -14,6 +14,7 @@
|
||||
</div>
|
||||
<div class="join-date">注册于 Registered in: {{user['join_date']}}</div>
|
||||
<div class="ptt">PTT: {{user['rating_ptt']//100 ~ '.' ~ user['rating_ptt']%100}}</div>
|
||||
<div class="ptt">Memories: {{user['ticket']}}</div>
|
||||
<div>
|
||||
<div>Recent plays: </div>
|
||||
<div>
|
||||
|
||||
55
latest version/templates/web/changechar.html
Normal file
55
latest version/templates/web/changechar.html
Normal file
@@ -0,0 +1,55 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block header %}
|
||||
<h1>{% block title %}Change the characters{% endblock %}</h1>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form action="/web/changesong/editchar" method="post">
|
||||
<div class="title">Edit the character</div>
|
||||
<label for="id">ID of the character</label>
|
||||
<input name="id" id="sid" required>
|
||||
|
||||
<label for="level">Level</label>
|
||||
<input name="level" id="level">
|
||||
|
||||
<label for="frag">Frag</label>
|
||||
<input name="frag" id="frag">
|
||||
|
||||
<label for="prog">Prog</label>
|
||||
<input name="prog" id="prog">
|
||||
|
||||
<label for="overdrive">Overdrive</label>
|
||||
<input name="overdrive" id="overdrive">
|
||||
|
||||
<div>
|
||||
<select name="skill_id">
|
||||
<option value="">Skill id</option>
|
||||
{% for skill_id in skill_ids %}
|
||||
<option value={{ skill_id }}>{{ skill_id }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
<div>
|
||||
<select name="skill_id_uncap">
|
||||
<option value="">Uncapped skill id</option>
|
||||
{% for skill_id in skill_ids %}
|
||||
<option value={{ skill_id }}>{{ skill_id }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
<br />
|
||||
<div class="content">如果某些不需要修改,留空即可</div>
|
||||
<div class="content">If some things do not need to be modified, leave it blank.</div>
|
||||
<div class="content">更新时角色数据表不会同步</div>
|
||||
<div class="content">The character table will not be synchronized when updated.</div>
|
||||
<input type="submit" value="Edit">
|
||||
</form>
|
||||
<br />
|
||||
<hr />
|
||||
<form action="/web/changesong/updatechar" method="post">
|
||||
<div class="title">Update the character</div>
|
||||
<div class="content">更新所有用户拥有的角色</div>
|
||||
<div class="content">Update all users' characters.</div>
|
||||
<input type="submit" value="Update">
|
||||
</form>
|
||||
{% endblock %}
|
||||
28
latest version/templates/web/changeuser.html
Normal file
28
latest version/templates/web/changeuser.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block header %}
|
||||
<h1>{% block title %}Change user information{% endblock %}</h1>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form action="/web/changeuser/edituser" method="post">
|
||||
<div class="title">Edit the user</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="ticket">Memories</label>
|
||||
<input name="ticket" id="ticket">
|
||||
|
||||
|
||||
<br />
|
||||
<div class="content">如果某些不需要修改,留空即可</div>
|
||||
<div class="content">If some things do not need to be modified, leave it blank.</div>
|
||||
<div class="content">目前只支持修改记忆源点</div>
|
||||
<div class="content">At present, only memories can be modified.</div>
|
||||
<input type="submit" value="Edit">
|
||||
</form>
|
||||
{% endblock %}
|
||||
@@ -14,11 +14,14 @@
|
||||
<a href="{{ url_for('index.single_player_ptt') }}">单个玩家PTT详情查询 Single player ptt</a></br></br>
|
||||
<a href="{{ url_for('index.all_player') }}">所有玩家信息查询 All players</a></br></br>
|
||||
<a href="{{ url_for('index.all_song') }}">铺面信息查询 All songs</a></br></br>
|
||||
<a href="{{ url_for('index.all_character') }}">角色信息查询 All characters</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.change_song') }}">歌曲修改 Change the songs</a>
|
||||
<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>
|
||||
<a href="{{ url_for('index.change_user') }}">用户信息修改 Change user information</a>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
@@ -24,6 +24,7 @@
|
||||
<span class="rank">User code: {{user['user_code']}}</span>
|
||||
</div>
|
||||
<div class="join-date">注册于 Registered in: {{user['join_date']}}</div>
|
||||
<div class="ptt">Memories: {{user['ticket']}}</div>
|
||||
<div class="ptt">PTT: {{user['rating_ptt']//100 ~ '.' ~ user['rating_ptt']%100}}</div>
|
||||
<div class="ptt">Best 30 PTT: {{bestptt}}</div>
|
||||
<div class="ptt">Recent 10 PTT: {{recentptt}}</div>
|
||||
|
||||
Reference in New Issue
Block a user