nonebot-plugin-l4d2-server 1.0.0a1__py3-none-any.whl → 1.0.0a2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nonebot_plugin_l4d2_server/__init__.py +4 -4
- nonebot_plugin_l4d2_server/__main__.py +64 -14
- nonebot_plugin_l4d2_server/config.py +6 -1
- nonebot_plugin_l4d2_server/l4_anne/__init__.py +124 -0
- nonebot_plugin_l4d2_server/l4_anne/ranne.py +18 -0
- nonebot_plugin_l4d2_server/l4_help/Help.json +59 -22
- nonebot_plugin_l4d2_server/l4_help/__init__.py +2 -2
- nonebot_plugin_l4d2_server/l4_help/icon//344/273/213/347/273/215.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//344/273/273/345/212/241.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//344/277/241/346/201/257.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//345/205/254/345/221/212.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//345/210/200/345/211/221.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//345/210/207/346/215/242.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//345/210/240/351/231/244.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//345/210/267/346/226/260.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//345/215/241/347/273/204.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//345/223/252/351/207/214.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//345/234/260/345/233/276.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//345/257/274/345/205/245.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//345/257/274/345/207/272.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//345/275/261.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//346/213/274/345/233/276.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//346/216/242/347/264/242.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//346/216/250/351/200/201.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//346/224/266/351/233/206.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//346/224/273/347/225/245.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//346/233/264/346/226/260.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//346/235/220/346/226/231.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//346/237/245/350/257/242.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//346/240/241/351/252/214.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//346/257/217/346/234/210.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//346/267/261/346/270/212.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//346/267/273/345/212/240.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//346/270/205/351/231/244.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//347/212/266/346/200/201.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//347/255/276/345/210/260.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//347/273/221/345/256/232.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//350/241/250.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//350/241/250/346/203/205.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//350/247/222/350/211/262.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//350/256/260/345/275/225.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//351/205/215/347/275/256.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/icon//351/207/215/345/220/257.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/texture2d/badge.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/texture2d/banner.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/texture2d/bg.jpg +0 -0
- nonebot_plugin_l4d2_server/l4_help/texture2d/button.png +0 -0
- nonebot_plugin_l4d2_server/l4_help/texture2d/icon.png +0 -0
- nonebot_plugin_l4d2_server/l4_image/__init__.py +4 -4
- nonebot_plugin_l4d2_server/l4_image/anne_pil.py +17 -0
- nonebot_plugin_l4d2_server/l4_image/convert.py +1 -1
- nonebot_plugin_l4d2_server/l4_image/download.py +5 -5
- nonebot_plugin_l4d2_server/l4_image/html_img.py +45 -74
- nonebot_plugin_l4d2_server/l4_image/image_tools.py +11 -11
- nonebot_plugin_l4d2_server/l4_image/img/anne/back.png +0 -0
- nonebot_plugin_l4d2_server/l4_image/img/anne/back1.jpg +0 -0
- nonebot_plugin_l4d2_server/l4_image/img/head/head.png +0 -0
- nonebot_plugin_l4d2_server/l4_image/img/header/logo.png +0 -0
- nonebot_plugin_l4d2_server/l4_image/img/header/player1.jpg +0 -0
- nonebot_plugin_l4d2_server/l4_image/img/template/Bocchi_The_Rock.html +17 -30
- nonebot_plugin_l4d2_server/l4_image/img/template/Bocchi_The_Rock.png +0 -0
- nonebot_plugin_l4d2_server/l4_image/img/template/Pixel.html +17 -26
- nonebot_plugin_l4d2_server/l4_image/img/template/Pixel.png +0 -0
- nonebot_plugin_l4d2_server/l4_image/img/template/Rainbow.html +48 -14
- nonebot_plugin_l4d2_server/l4_image/img/template/Rainbow.png +0 -0
- nonebot_plugin_l4d2_server/l4_image/img/template/normal.html +14 -24
- nonebot_plugin_l4d2_server/{data/img → l4_image/img/template}/vac.png +0 -0
- nonebot_plugin_l4d2_server/l4_image/img/template/vac_white.png +0 -0
- nonebot_plugin_l4d2_server/l4_image/vtfs.py +3 -3
- nonebot_plugin_l4d2_server/l4_request/__init__.py +68 -9
- nonebot_plugin_l4d2_server/l4_request/draw_msg.py +38 -43
- nonebot_plugin_l4d2_server/l4_request/utils.py +0 -0
- nonebot_plugin_l4d2_server/utils/api/api.py +8 -2
- nonebot_plugin_l4d2_server/utils/api/models.py +108 -0
- nonebot_plugin_l4d2_server/utils/api/request.py +257 -39
- nonebot_plugin_l4d2_server/utils/database/models.py +12 -23
- nonebot_plugin_l4d2_server/utils/utils.py +10 -10
- {nonebot_plugin_l4d2_server-1.0.0a1.dist-info → nonebot_plugin_l4d2_server-1.0.0a2.dist-info}/METADATA +19 -11
- nonebot_plugin_l4d2_server-1.0.0a2.dist-info/RECORD +96 -0
- nonebot_plugin_l4d2_server/data/L4D2/image/head/head.png +0 -0
- nonebot_plugin_l4d2_server/data/L4D2/image/header/logo.png +0 -0
- nonebot_plugin_l4d2_server/data/L4D2/image/header/player1.jpg +0 -0
- nonebot_plugin_l4d2_server/data/L4D2/image/template/anne.html +0 -68
- nonebot_plugin_l4d2_server/data/L4D2/image/template/back.png +0 -0
- nonebot_plugin_l4d2_server/data/L4D2/image/template/fingerprint.svg +0 -15
- nonebot_plugin_l4d2_server/data/L4D2/image/template/group_ip.html +0 -258
- nonebot_plugin_l4d2_server/data/L4D2/image/template/help.html +0 -262
- nonebot_plugin_l4d2_server/data/L4D2/image/template/help_dack.html +0 -269
- nonebot_plugin_l4d2_server/data/L4D2/image/template/ip.html +0 -54
- nonebot_plugin_l4d2_server/data/L4D2/image/template/l.svg +0 -10
- nonebot_plugin_l4d2_server/data/L4D2/image/template/m.svg +0 -1
- nonebot_plugin_l4d2_server/data/L4D2/image/template/vue.css +0 -531
- nonebot_plugin_l4d2_server/data/L4D2/image/template/w.svg +0 -1
- nonebot_plugin_l4d2_server/data/icon//344/273/213/347/273/215.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//344/273/273/345/212/241.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//344/277/241/346/201/257.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//345/205/254/345/221/212.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//345/210/200/345/211/221.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//345/210/207/346/215/242.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//345/210/240/351/231/244.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//345/210/267/346/226/260.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//345/215/241/347/273/204.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//345/223/252/351/207/214.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//345/234/260/345/233/276.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//345/257/274/345/205/245.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//345/257/274/345/207/272.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//345/275/261.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//346/213/274/345/233/276.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//346/216/242/347/264/242.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//346/216/250/351/200/201.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//346/224/266/351/233/206.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//346/224/273/347/225/245.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//346/233/264/346/226/260.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//346/235/220/346/226/231.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//346/237/245/350/257/242.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//346/240/241/351/252/214.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//346/257/217/346/234/210.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//346/267/261/346/270/212.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//346/267/273/345/212/240.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//346/270/205/351/231/244.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//347/212/266/346/200/201.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//347/255/276/345/210/260.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//347/273/221/345/256/232.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//350/241/250.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//350/241/250/346/203/205.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//350/247/222/350/211/262.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//350/256/260/345/275/225.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//351/205/215/347/275/256.png +0 -0
- nonebot_plugin_l4d2_server/data/icon//351/207/215/345/220/257.png +0 -0
- nonebot_plugin_l4d2_server/data/img/l4d2.png +0 -0
- nonebot_plugin_l4d2_server/data/img/linux.png +0 -0
- nonebot_plugin_l4d2_server/data/img/white.png +0 -0
- nonebot_plugin_l4d2_server/l4_image/img/template//345/276/256/350/275/257/351/233/205/351/273/221.ttf +0 -0
- nonebot_plugin_l4d2_server-1.0.0a1.dist-info/RECORD +0 -144
- {nonebot_plugin_l4d2_server-1.0.0a1.dist-info → nonebot_plugin_l4d2_server-1.0.0a2.dist-info}/WHEEL +0 -0
- {nonebot_plugin_l4d2_server-1.0.0a1.dist-info → nonebot_plugin_l4d2_server-1.0.0a2.dist-info}/licenses/LICENSE +0 -0
@@ -1,68 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<head>
|
4
|
-
<link rel="stylesheet" type="text/css" href="vue.css">
|
5
|
-
</head>
|
6
|
-
</br>
|
7
|
-
|
8
|
-
<body style="background-image: url('back.png'); background-size: cover;">
|
9
|
-
<font color="yellow">
|
10
|
-
{% for item in data %}
|
11
|
-
<h1>
|
12
|
-
<center>求生药役anne电信服数据</center>
|
13
|
-
</h1>
|
14
|
-
<div class="scissors" style="border-top:1px dashed orange;">
|
15
|
-
</div>
|
16
|
-
<h3>
|
17
|
-
<center>
|
18
|
-
{% for msg_one in item.one_msg %}
|
19
|
-
{{ msg_one }}<br>
|
20
|
-
{% endfor %}</center>
|
21
|
-
</h3>
|
22
|
-
</font>
|
23
|
-
<div class="scissors" style="border-top:1px dashed orange;">
|
24
|
-
</div>
|
25
|
-
<div class="myinfo">
|
26
|
-
<table class="transparent-bg">
|
27
|
-
<tbody>
|
28
|
-
<tr>
|
29
|
-
<td rowspan="6">
|
30
|
-
<img src={{item.header}} width="200" height="200" style="border-radius: 50%;">
|
31
|
-
</td>
|
32
|
-
<td>昵  称 | {{item.name}}</td>
|
33
|
-
<td>Steam id | {{item.Steam_ID}}</td>
|
34
|
-
</tr>
|
35
|
-
<tr>
|
36
|
-
<td>游玩时间 | {{item.play_time}}</td>
|
37
|
-
<td>最后上线 | {{item.last_online}}</td>
|
38
|
-
</tr>
|
39
|
-
<tr>
|
40
|
-
<td>排  行 | {{item.rank}}</td>
|
41
|
-
|
42
|
-
<td>分  数 | {{item.points}}</td>
|
43
|
-
</tr>
|
44
|
-
<tr>
|
45
|
-
<td>分数 / 分 | {{item.point_min}}</td>
|
46
|
-
<td>小僵尸数 | {{item.killed}}</td>
|
47
|
-
</tr>
|
48
|
-
<tr>
|
49
|
-
<td>爆  头 | {{item.shut}}</td>
|
50
|
-
<td>爆 头 率 | {{item.out}}</td>
|
51
|
-
</tr>
|
52
|
-
<tr>
|
53
|
-
<td>游玩次数 | {{item.playtimes}}</td>
|
54
|
-
<td>救 援 关 | {{item.last_one}}</td>
|
55
|
-
</tr>
|
56
|
-
</tbody>
|
57
|
-
</table>
|
58
|
-
</div>
|
59
|
-
<font color="yellow">
|
60
|
-
{% endfor %}
|
61
|
-
<h5>
|
62
|
-
<center>©爱丽数码</center></br>
|
63
|
-
<center>
|
64
|
-
Power by Nonebot2 & Design by Agnes Digital
|
65
|
-
</center>
|
66
|
-
</h5>
|
67
|
-
</font>
|
68
|
-
</body>
|
Binary file
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<svg
|
2
|
-
aria-hidden="true"
|
3
|
-
focusable="false"
|
4
|
-
data-prefix="fas"
|
5
|
-
data-icon="fingerprint"
|
6
|
-
class="svg-inline--fa fa-fingerprint mr-2"
|
7
|
-
role="img"
|
8
|
-
xmlns="http://www.w3.org/2000/svg"
|
9
|
-
viewBox="0 0 512 512"
|
10
|
-
>
|
11
|
-
<path
|
12
|
-
fill="currentColor"
|
13
|
-
d="M256.12 245.96c-13.25 0-24 10.74-24 24 1.14 72.25-8.14 141.9-27.7 211.55-2.73 9.72 2.15 30.49 23.12 30.49 10.48 0 20.11-6.92 23.09-17.52 13.53-47.91 31.04-125.41 29.48-224.52.01-13.25-10.73-24-23.99-24zm-.86-81.73C194 164.16 151.25 211.3 152.1 265.32c.75 47.94-3.75 95.91-13.37 142.55-2.69 12.98 5.67 25.69 18.64 28.36 13.05 2.67 25.67-5.66 28.36-18.64 10.34-50.09 15.17-101.58 14.37-153.02-.41-25.95 19.92-52.49 54.45-52.34 31.31.47 57.15 25.34 57.62 55.47.77 48.05-2.81 96.33-10.61 143.55-2.17 13.06 6.69 25.42 19.76 27.58 19.97 3.33 26.81-15.1 27.58-19.77 8.28-50.03 12.06-101.21 11.27-152.11-.88-55.8-47.94-101.88-104.91-102.72zm-110.69-19.78c-10.3-8.34-25.37-6.8-33.76 3.48-25.62 31.5-39.39 71.28-38.75 112 .59 37.58-2.47 75.27-9.11 112.05-2.34 13.05 6.31 25.53 19.36 27.89 20.11 3.5 27.07-14.81 27.89-19.36 7.19-39.84 10.5-80.66 9.86-121.33-.47-29.88 9.2-57.88 28-80.97 8.35-10.28 6.79-25.39-3.49-33.76zm109.47-62.33c-15.41-.41-30.87 1.44-45.78 4.97-12.89 3.06-20.87 15.98-17.83 28.89 3.06 12.89 16 20.83 28.89 17.83 11.05-2.61 22.47-3.77 34-3.69 75.43 1.13 137.73 61.5 138.88 134.58.59 37.88-1.28 76.11-5.58 113.63-1.5 13.17 7.95 25.08 21.11 26.58 16.72 1.95 25.51-11.88 26.58-21.11a929.06 929.06 0 0 0 5.89-119.85c-1.56-98.75-85.07-180.33-186.16-181.83zm252.07 121.45c-2.86-12.92-15.51-21.2-28.61-18.27-12.94 2.86-21.12 15.66-18.26 28.61 4.71 21.41 4.91 37.41 4.7 61.6-.11 13.27 10.55 24.09 23.8 24.2h.2c13.17 0 23.89-10.61 24-23.8.18-22.18.4-44.11-5.83-72.34zm-40.12-90.72C417.29 43.46 337.6 1.29 252.81.02 183.02-.82 118.47 24.91 70.46 72.94 24.09 119.37-.9 181.04.14 246.65l-.12 21.47c-.39 13.25 10.03 24.31 23.28 24.69.23.02.48.02.72.02 12.92 0 23.59-10.3 23.97-23.3l.16-23.64c-.83-52.5 19.16-101.86 56.28-139 38.76-38.8 91.34-59.67 147.68-58.86 69.45 1.03 134.73 35.56 174.62 92.39 7.61 10.86 22.56 13.45 33.42 5.86 10.84-7.62 13.46-22.59 5.84-33.43z"
|
14
|
-
></path>
|
15
|
-
</svg>
|
@@ -1,258 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
|
3
|
-
<head>
|
4
|
-
<style>
|
5
|
-
body {
|
6
|
-
margin: 0px;
|
7
|
-
zoom: 150%;
|
8
|
-
}
|
9
|
-
|
10
|
-
.image {
|
11
|
-
display: flex;
|
12
|
-
flex-direction: column;
|
13
|
-
overflow: scroll;
|
14
|
-
width: max-content;
|
15
|
-
padding: 20px;
|
16
|
-
}
|
17
|
-
|
18
|
-
.head {
|
19
|
-
display: flex;
|
20
|
-
flex-direction: row;
|
21
|
-
align-items: center;
|
22
|
-
justify-content: space-between;
|
23
|
-
background-color: #f5f6f7;
|
24
|
-
padding-left: 20px;
|
25
|
-
padding-right: 20px;
|
26
|
-
padding-top: 10px;
|
27
|
-
padding-bottom: 10px;
|
28
|
-
border: 2px solid;
|
29
|
-
border-radius: 50px;
|
30
|
-
border-color: #e5e7eb;
|
31
|
-
font-size: 16px;
|
32
|
-
margin-bottom: 20px;
|
33
|
-
}
|
34
|
-
|
35
|
-
.plugins {
|
36
|
-
display: grid;
|
37
|
-
grid-template-columns: auto auto auto;
|
38
|
-
row-gap: 20px;
|
39
|
-
column-gap: 20px;
|
40
|
-
margin-bottom: 20px;
|
41
|
-
}
|
42
|
-
|
43
|
-
.plugin {
|
44
|
-
display: flex;
|
45
|
-
padding: 5px;
|
46
|
-
border: 1px solid;
|
47
|
-
border-radius: 5px;
|
48
|
-
border-color: #e5e7eb;
|
49
|
-
box-shadow: 0px 2px 6px 1px rgba(0, 0, 0, 0.2);
|
50
|
-
background-color: #f5f6f7;
|
51
|
-
}
|
52
|
-
|
53
|
-
.plugin_meta {
|
54
|
-
display: flex;
|
55
|
-
flex-direction: column;
|
56
|
-
padding: 5px;
|
57
|
-
width: 250px;
|
58
|
-
justify-content: space-between;
|
59
|
-
}
|
60
|
-
|
61
|
-
.plugin_name {
|
62
|
-
font-size: 20px;
|
63
|
-
}
|
64
|
-
|
65
|
-
.plugin_description {
|
66
|
-
font-size: 15px;
|
67
|
-
color: gray;
|
68
|
-
margin-top: 5px;
|
69
|
-
margin-bottom: 5px;
|
70
|
-
}
|
71
|
-
|
72
|
-
.plugin_meta_line1 {
|
73
|
-
display: flex;
|
74
|
-
flex-direction: row;
|
75
|
-
align-items: center;
|
76
|
-
justify-content: space-between;
|
77
|
-
}
|
78
|
-
|
79
|
-
.plugin_meta_line3 {
|
80
|
-
display: flex;
|
81
|
-
flex-direction: row;
|
82
|
-
align-items: center;
|
83
|
-
}
|
84
|
-
|
85
|
-
.package_name_label {
|
86
|
-
background-image: url(./fingerprint.svg);
|
87
|
-
width: 13px;
|
88
|
-
height: 13px;
|
89
|
-
margin-right: 8px;
|
90
|
-
}
|
91
|
-
|
92
|
-
.package_name {
|
93
|
-
font-size: 13px;
|
94
|
-
color: gray;
|
95
|
-
}
|
96
|
-
|
97
|
-
.switch {
|
98
|
-
position: relative;
|
99
|
-
display: inline-block;
|
100
|
-
width: 40px;
|
101
|
-
height: 24px;
|
102
|
-
}
|
103
|
-
|
104
|
-
.slider {
|
105
|
-
position: absolute;
|
106
|
-
cursor: pointer;
|
107
|
-
top: 0;
|
108
|
-
left: 0;
|
109
|
-
right: 0;
|
110
|
-
bottom: 0;
|
111
|
-
background-color: #ccc;
|
112
|
-
}
|
113
|
-
|
114
|
-
.slider:before {
|
115
|
-
position: absolute;
|
116
|
-
content: "";
|
117
|
-
height: 16px;
|
118
|
-
width: 16px;
|
119
|
-
left: 4px;
|
120
|
-
bottom: 4px;
|
121
|
-
background-color: white;
|
122
|
-
}
|
123
|
-
|
124
|
-
.switch input {
|
125
|
-
display: none;
|
126
|
-
}
|
127
|
-
|
128
|
-
.switch input:checked+.slider {
|
129
|
-
background-color: rgba(86, 40, 238, 0.5);
|
130
|
-
}
|
131
|
-
|
132
|
-
.switch input:checked+.slider:before {
|
133
|
-
-webkit-transform: translateX(16px);
|
134
|
-
-ms-transform: translateX(16px);
|
135
|
-
transform: translateX(16px);
|
136
|
-
}
|
137
|
-
|
138
|
-
.slider.round {
|
139
|
-
border-radius: 24px;
|
140
|
-
}
|
141
|
-
|
142
|
-
.slider.round:before {
|
143
|
-
border-radius: 50%;
|
144
|
-
}
|
145
|
-
|
146
|
-
.checkbox {
|
147
|
-
visibility: hidden;
|
148
|
-
}
|
149
|
-
|
150
|
-
.slider.locked {
|
151
|
-
opacity: 0.5;
|
152
|
-
}
|
153
|
-
|
154
|
-
.switch input+span .lock {
|
155
|
-
width: 8px;
|
156
|
-
height: 7px;
|
157
|
-
background: #99a3ba;
|
158
|
-
position: absolute;
|
159
|
-
left: 8px;
|
160
|
-
bottom: 7px;
|
161
|
-
border-radius: 2px;
|
162
|
-
display: block;
|
163
|
-
z-index: 1;
|
164
|
-
transition: all 0.45s ease;
|
165
|
-
}
|
166
|
-
|
167
|
-
.switch input+span .lock:before {
|
168
|
-
content: "";
|
169
|
-
width: 2px;
|
170
|
-
height: 2px;
|
171
|
-
border-radius: 1px;
|
172
|
-
background: #fff;
|
173
|
-
position: absolute;
|
174
|
-
display: block;
|
175
|
-
left: 50%;
|
176
|
-
top: 50%;
|
177
|
-
margin: -1px 0 0 -1px;
|
178
|
-
}
|
179
|
-
|
180
|
-
.switch input+span .lock:after {
|
181
|
-
content: "";
|
182
|
-
border-top-left-radius: 4px;
|
183
|
-
border-top-right-radius: 4px;
|
184
|
-
border: 1px solid #99a3ba;
|
185
|
-
border-bottom: 0;
|
186
|
-
width: 4px;
|
187
|
-
height: 4px;
|
188
|
-
left: 1px;
|
189
|
-
bottom: 6px;
|
190
|
-
position: absolute;
|
191
|
-
z-index: 1;
|
192
|
-
-webkit-transform-origin: 0 100%;
|
193
|
-
transform-origin: 0 100%;
|
194
|
-
transition: all 0.45s ease;
|
195
|
-
}
|
196
|
-
|
197
|
-
.switch input:checked+span .lock {
|
198
|
-
background: #5628ee;
|
199
|
-
-webkit-transform: translateX(16px);
|
200
|
-
-ms-transform: translateX(16px);
|
201
|
-
transform: translateX(16px);
|
202
|
-
}
|
203
|
-
|
204
|
-
.lock {
|
205
|
-
visibility: hidden;
|
206
|
-
}
|
207
|
-
|
208
|
-
.lock.locked {
|
209
|
-
visibility: inherit;
|
210
|
-
}
|
211
|
-
</style>
|
212
|
-
</head>
|
213
|
-
|
214
|
-
<body>
|
215
|
-
<div class="image">
|
216
|
-
<div class="head">
|
217
|
-
<span><b>已加载服务器</b></span>
|
218
|
-
<span>发送 “<b>服务器昵称/序号</b>” 查看详情</span>
|
219
|
-
</div>
|
220
|
-
<div class="plugins">
|
221
|
-
{% for plugin in plugins %}
|
222
|
-
<div class="plugin">
|
223
|
-
<div class="plugin_meta">
|
224
|
-
<div class="plugin_meta_line1">
|
225
|
-
<div class="plugin_name">{{ plugin.server_id }}:{{ plugin.server_tag }}</div>
|
226
|
-
<div class="plugin_status">
|
227
|
-
<label class="switch">
|
228
|
-
<input class="checkbox" type="checkbox" {% if plugin.enabled %} checked {% endif %} />
|
229
|
-
<span class="slider round {% if plugin.locked %} locked {% endif %}">
|
230
|
-
<span class="lock {% if plugin.locked %} locked {% endif %}"></span>
|
231
|
-
</span>
|
232
|
-
</label>
|
233
|
-
</div>
|
234
|
-
</div>
|
235
|
-
<div class="plugin_meta_line2">
|
236
|
-
<font color="blue">服务器在线:{{ plugin.server_number }} / {{ plugin.server_all_number }}</font><br>
|
237
|
-
<font color="blue"></font><br>
|
238
|
-
<font color="green">服务器玩家{{ plugin.server_people }} / {{ plugin.server_all_people }}</font><br>
|
239
|
-
<font color="green"></font><br>
|
240
|
-
</div>
|
241
|
-
<!-- <div class="plugin_meta_line3">
|
242
|
-
<svg width="13px" height="13px">
|
243
|
-
<image xlink:href="{{ plugin.system }}" width="13px" height="13px" />
|
244
|
-
</svg>
|
245
|
-
<div class="package_name"> {{ plugin.max_players }} </div>
|
246
|
-
<div class="package_name"> {{ plugin.tick }} </div>
|
247
|
-
</div> -->
|
248
|
-
</div>
|
249
|
-
</div>
|
250
|
-
{% endfor %}
|
251
|
-
</div>
|
252
|
-
<div class="head">
|
253
|
-
<span>Power by Nonebot2 & Design by Agnes Digital</span>
|
254
|
-
</div>
|
255
|
-
</div>
|
256
|
-
|
257
|
-
</html>
|
258
|
-
</body>
|
@@ -1,262 +0,0 @@
|
|
1
|
-
<html>
|
2
|
-
|
3
|
-
<head>
|
4
|
-
<style>
|
5
|
-
body {
|
6
|
-
margin: 0px;
|
7
|
-
zoom: 150%;
|
8
|
-
}
|
9
|
-
|
10
|
-
.image {
|
11
|
-
display: flex;
|
12
|
-
flex-direction: column;
|
13
|
-
overflow: scroll;
|
14
|
-
width: max-content;
|
15
|
-
padding: 20px;
|
16
|
-
}
|
17
|
-
|
18
|
-
.head {
|
19
|
-
display: flex;
|
20
|
-
flex-direction: row;
|
21
|
-
align-items: center;
|
22
|
-
justify-content: space-between;
|
23
|
-
background-color: #f5f6f7;
|
24
|
-
padding-left: 20px;
|
25
|
-
padding-right: 20px;
|
26
|
-
padding-top: 10px;
|
27
|
-
padding-bottom: 10px;
|
28
|
-
border: 2px solid;
|
29
|
-
border-radius: 50px;
|
30
|
-
border-color: #e5e7eb;
|
31
|
-
font-size: 16px;
|
32
|
-
margin-bottom: 20px;
|
33
|
-
}
|
34
|
-
|
35
|
-
.plugins {
|
36
|
-
display: grid;
|
37
|
-
grid-template-columns: auto auto auto;
|
38
|
-
row-gap: 20px;
|
39
|
-
column-gap: 20px;
|
40
|
-
margin-bottom: 20px;
|
41
|
-
}
|
42
|
-
|
43
|
-
.plugin {
|
44
|
-
display: flex;
|
45
|
-
padding: 5px;
|
46
|
-
border: 1px solid;
|
47
|
-
border-radius: 5px;
|
48
|
-
border-color: #e5e7eb;
|
49
|
-
box-shadow: 0px 2px 6px 1px rgba(0, 0, 0, 0.2);
|
50
|
-
background-color: #f5f6f7;
|
51
|
-
}
|
52
|
-
|
53
|
-
.plugin_meta {
|
54
|
-
display: flex;
|
55
|
-
flex-direction: column;
|
56
|
-
padding: 5px;
|
57
|
-
width: 250px;
|
58
|
-
justify-content: space-between;
|
59
|
-
}
|
60
|
-
|
61
|
-
.plugin_name {
|
62
|
-
font-size: 20px;
|
63
|
-
}
|
64
|
-
|
65
|
-
.plugin_description {
|
66
|
-
font-size: 15px;
|
67
|
-
color: gray;
|
68
|
-
margin-top: 5px;
|
69
|
-
margin-bottom: 5px;
|
70
|
-
}
|
71
|
-
|
72
|
-
.plugin_meta_line1 {
|
73
|
-
display: flex;
|
74
|
-
flex-direction: row;
|
75
|
-
align-items: center;
|
76
|
-
justify-content: space-between;
|
77
|
-
}
|
78
|
-
|
79
|
-
.plugin_meta_line3 {
|
80
|
-
display: flex;
|
81
|
-
flex-direction: row;
|
82
|
-
align-items: center;
|
83
|
-
}
|
84
|
-
|
85
|
-
.package_name_label {
|
86
|
-
background-image: url(./fingerprint.svg);
|
87
|
-
width: 13px;
|
88
|
-
height: 13px;
|
89
|
-
margin-right: 8px;
|
90
|
-
}
|
91
|
-
|
92
|
-
.package_name {
|
93
|
-
font-size: 13px;
|
94
|
-
color: gray;
|
95
|
-
}
|
96
|
-
|
97
|
-
.switch {
|
98
|
-
position: relative;
|
99
|
-
display: inline-block;
|
100
|
-
width: 40px;
|
101
|
-
height: 24px;
|
102
|
-
}
|
103
|
-
|
104
|
-
.slider {
|
105
|
-
position: absolute;
|
106
|
-
cursor: pointer;
|
107
|
-
top: 0;
|
108
|
-
left: 0;
|
109
|
-
right: 0;
|
110
|
-
bottom: 0;
|
111
|
-
background-color: #ccc;
|
112
|
-
}
|
113
|
-
|
114
|
-
.slider:before {
|
115
|
-
position: absolute;
|
116
|
-
content: "";
|
117
|
-
height: 16px;
|
118
|
-
width: 16px;
|
119
|
-
left: 4px;
|
120
|
-
bottom: 4px;
|
121
|
-
background-color: white;
|
122
|
-
}
|
123
|
-
|
124
|
-
.switch input {
|
125
|
-
display: none;
|
126
|
-
}
|
127
|
-
|
128
|
-
.switch input:checked+.slider {
|
129
|
-
background-color: rgba(86, 40, 238, 0.5);
|
130
|
-
}
|
131
|
-
|
132
|
-
.switch input:checked+.slider:before {
|
133
|
-
-webkit-transform: translateX(16px);
|
134
|
-
-ms-transform: translateX(16px);
|
135
|
-
transform: translateX(16px);
|
136
|
-
}
|
137
|
-
|
138
|
-
.slider.round {
|
139
|
-
border-radius: 24px;
|
140
|
-
}
|
141
|
-
|
142
|
-
.slider.round:before {
|
143
|
-
border-radius: 50%;
|
144
|
-
}
|
145
|
-
|
146
|
-
.checkbox {
|
147
|
-
visibility: hidden;
|
148
|
-
}
|
149
|
-
|
150
|
-
.slider.locked {
|
151
|
-
opacity: 0.5;
|
152
|
-
}
|
153
|
-
|
154
|
-
.switch input+span .lock {
|
155
|
-
width: 8px;
|
156
|
-
height: 7px;
|
157
|
-
background: #99a3ba;
|
158
|
-
position: absolute;
|
159
|
-
left: 8px;
|
160
|
-
bottom: 7px;
|
161
|
-
border-radius: 2px;
|
162
|
-
display: block;
|
163
|
-
z-index: 1;
|
164
|
-
transition: all 0.45s ease;
|
165
|
-
}
|
166
|
-
|
167
|
-
.switch input+span .lock:before {
|
168
|
-
content: "";
|
169
|
-
width: 2px;
|
170
|
-
height: 2px;
|
171
|
-
border-radius: 1px;
|
172
|
-
background: #fff;
|
173
|
-
position: absolute;
|
174
|
-
display: block;
|
175
|
-
left: 50%;
|
176
|
-
top: 50%;
|
177
|
-
margin: -1px 0 0 -1px;
|
178
|
-
}
|
179
|
-
|
180
|
-
.switch input+span .lock:after {
|
181
|
-
content: "";
|
182
|
-
border-top-left-radius: 4px;
|
183
|
-
border-top-right-radius: 4px;
|
184
|
-
border: 1px solid #99a3ba;
|
185
|
-
border-bottom: 0;
|
186
|
-
width: 4px;
|
187
|
-
height: 4px;
|
188
|
-
left: 1px;
|
189
|
-
bottom: 6px;
|
190
|
-
position: absolute;
|
191
|
-
z-index: 1;
|
192
|
-
-webkit-transform-origin: 0 100%;
|
193
|
-
transform-origin: 0 100%;
|
194
|
-
transition: all 0.45s ease;
|
195
|
-
}
|
196
|
-
|
197
|
-
.switch input:checked+span .lock {
|
198
|
-
background: #5628ee;
|
199
|
-
-webkit-transform: translateX(16px);
|
200
|
-
-ms-transform: translateX(16px);
|
201
|
-
transform: translateX(16px);
|
202
|
-
}
|
203
|
-
|
204
|
-
.lock {
|
205
|
-
visibility: hidden;
|
206
|
-
}
|
207
|
-
|
208
|
-
.lock.locked {
|
209
|
-
visibility: inherit;
|
210
|
-
}
|
211
|
-
</style>
|
212
|
-
</head>
|
213
|
-
|
214
|
-
<body>
|
215
|
-
<div class="image">
|
216
|
-
<div class="head">
|
217
|
-
<span><b>已加载服务器</b></span>
|
218
|
-
<span>发送 “<b>服务器昵称/序号</b>” 查看详情</span>
|
219
|
-
</div>
|
220
|
-
<div class="plugins">
|
221
|
-
{% for plugin in plugins %}
|
222
|
-
<div class="plugin">
|
223
|
-
<div class="plugin_meta">
|
224
|
-
<div class="plugin_meta_line1">
|
225
|
-
<div class="plugin_name">{{ plugin.number }}:{{ plugin.name }}</div>
|
226
|
-
<div class="plugin_status">
|
227
|
-
<label class="switch">
|
228
|
-
<input class="checkbox" type="checkbox" {% if plugin.enabled %} checked {% endif %} />
|
229
|
-
<span class="slider round {% if plugin.locked %} locked {% endif %}">
|
230
|
-
<span class="lock {% if plugin.locked %} locked {% endif %}"></span>
|
231
|
-
</span>
|
232
|
-
</label>
|
233
|
-
</div>
|
234
|
-
</div>
|
235
|
-
<div class="plugin_meta_line2">
|
236
|
-
<font color="blue">{{ plugin.map_ }}</font><br>
|
237
|
-
{% for Player in plugin.Players %}
|
238
|
-
{% if Player.name %}
|
239
|
-
<font color="green">{{Player.name}} | {{Player.Duration}}</font><br>
|
240
|
-
{% else %}
|
241
|
-
<br>
|
242
|
-
{% endif %}
|
243
|
-
{% endfor %}
|
244
|
-
</div>
|
245
|
-
<div class="plugin_meta_line3">
|
246
|
-
<svg width="13px" height="13px">
|
247
|
-
<image xlink:href="{{ plugin.system }}" width="13px" height="13px" />
|
248
|
-
</svg>
|
249
|
-
<div class="package_name"> {{ plugin.rank_players }} </div>
|
250
|
-
<div class="package_name"> {{ plugin.tick }} </div>
|
251
|
-
</div>
|
252
|
-
</div>
|
253
|
-
</div>
|
254
|
-
{% endfor %}
|
255
|
-
</div>
|
256
|
-
<div class="head">
|
257
|
-
<span><b>Power by Nonebot2 & Design by Agnes Digital</b></span>
|
258
|
-
</div>
|
259
|
-
</div>
|
260
|
-
|
261
|
-
</html>
|
262
|
-
</body>
|