-
Notifications
You must be signed in to change notification settings - Fork 7
/
menu.html
163 lines (147 loc) · 4.35 KB
/
menu.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<style>
.qjh-menu {
height: max-content;
box-shadow: 1px 1px 10px #909090;
padding: 1em;
position: fixed;
z-index: 999;
right: 1%;
top: 3%;
width: 25%;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
.form-inline {
display: inline-block;
}
</style>
<div class="card container qjh-menu">
<div class="card-header">
<div class="card-title text-bold h5" id="qjh-menu-title">
QingJiaoHelper
<button
class="btn btn-link float-right"
type="button"
id="qjh-menu-close-button"
>
❌
</button>
</div>
</div>
<div class="card-body">
<div class="toast toast-warning">
⚠注意:勾选的功能会在下一次刷新页面时<mark><b>自动激活</b></mark
>,未勾选的功能只能手动启用!点击<b>一键完成</b>按钮可以在这个菜单中直接完成,而不用手动跳转到对应页面。
</div>
<div class="divider text-center" data-content="考试"></div>
<div class="form-group">
<label class="form-switch">
<b>期末考试</b>
<input
type="checkbox"
qjh-type="toggle"
qjh-key="qjh_isTaskFinalExaminationEnabled"
/>
<i class="form-icon"></i>
<button class="btn btn-sm mx-2" type="button">
<a href="/courses/exams/finalExam">点击跳转</a>
</button>
</label>
</div>
<div class="form-group">
<label class="form-switch">
<b>知识竞赛</b>
<input
type="checkbox"
qjh-type="toggle"
qjh-key="qjh_isTaskCompetitionEnabled"
/>
<i class="form-icon"></i>
<button class="btn btn-sm mx-2" type="button">
<a href="/competition">点击跳转</a>
</button>
</label>
</div>
<div class="divider text-center" data-content="课程"></div>
<div>
<div class="form-group" id="qjh-menu-feat-courses">
<label class="form-switch">
<b>完成所选年级的课程</b>
<input
type="checkbox"
qjh-type="toggle"
qjh-key="qjh_isTaskCoursesEnabled"
/>
<i class="form-icon"></i>
<button class="btn btn-sm mx-2" type="button" qjh-feat-key="courses">
一键完成👉
</button>
</label>
</div>
<div class="form-group" id="qjh-menu-feat-self-courses">
<label class="form-switch">
<b>完成所选年级的自学课程</b>
<input
type="checkbox"
qjh-type="toggle"
qjh-key="qjh_isTaskSelfCourseEnabled"
/>
<i class="form-icon"></i>
<button
class="btn btn-sm mx-2"
type="button"
qjh-feat-key="selfCourse"
>
一键完成👉
</button>
</label>
</div>
<div class="divider text-center" data-content="其他"></div>
<div class="form-group"></div>
<label class="form-switch">
<b>获取每日学分(点赞视频和领取徽章)</b>
<input
type="checkbox"
qjh-type="toggle"
qjh-key="qjh_isTaskGetCreditEnabled"
/>
<i class="form-icon"></i>
<button
class="btn btn-sm mx-2"
type="button"
onclick="taskGetCredit"
qjh-feat-key="credit"
>
一键完成👉
</button>
</label>
</div>
<div class="form-group">
<label class="form-switch">
<b>自动开始作答、下一题和提交</b>
<input
type="checkbox"
qjh-type="toggle"
qjh-key="qjh_isFullAutomaticEmulationEnabled"
/>
<i class="form-icon"></i>
</label>
</div>
</div>
<div class="divider"></div>
<div class="card-footer text-gray">
本脚本由 FoliageOwO 以
<b><a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GPL-3.0</a></b>
开源许可在 GitHub 开源,脚本地址:<a
href="https://github.com/FoliageOwO/QingJiaoHelper"
target="_blank"
>GitHub</a
>、<a
href="https://greasyfork.org/zh-CN/scripts/452984-qingjiaohelper"
target="_blank"
>GreasyFork</a
>。
</div>
</div>
</div>