File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ def listing():
31
31
user = get_current_user ()
32
32
typed_dojos = {
33
33
"Start Here" : [],
34
+ "Tools Learning" : [],
34
35
"Elementary" : [],
35
36
"Intermediate" : [],
36
37
"Advanced" : [],
@@ -42,6 +43,8 @@ def listing():
42
43
for dojo in Dojos .viewable (user = user ):
43
44
if dojo .type == "welcome" :
44
45
typed_dojos ["Start Here" ].append (dojo )
46
+ elif dojo .type == "tools" :
47
+ typed_dojos ["Tools Learning" ].append (dojo )
45
48
elif dojo .type == "elementary" :
46
49
typed_dojos ["Elementary" ].append (dojo )
47
50
elif dojo .type == "intermediate" :
Original file line number Diff line number Diff line change @@ -16,6 +16,12 @@ <h1>神奇宝贝道馆</h1>
16
16
{% if type == "Start Here" %}
17
17
< h2 > 入门篇</ h2 >
18
18
< p > 在开展神奇宝贝道馆挑战前,新手训练家们需要在真新镇的大木博士研究所获得初始神奇宝贝,神奇宝贝图鉴,神奇宝贝球等物资。</ p >
19
+ {% elif type == "Tools Learning" %}
20
+ < h2 > 工具篇</ h2 >
21
+ < p > 工欲善其事必先利其器。我们提供了多种新手训练家门需要的工具学习课程,例如如何使用神器宝贝图鉴,如何使用神奇宝贝球,如何收服神奇宝贝等。</ p >
22
+ {% elif type == "Course" %}
23
+ < h2 > 课程</ h2 >
24
+ < p > 我们在平台上提供了众多课程,包含软件安全。</ p >
19
25
{% elif type == "Elementary" %}
20
26
< h2 > 初级篇</ h2 >
21
27
< p > 深灰道馆,华蓝道馆构成了 pwn.hust.college 平台初级篇的主要课程内容,完成关卡后你可以获得< a href ="{{ url_for( "pwncollege_belts.view_belts ") }}"> 徽章</ a > 奖励。建议按照顺序进行学习,祝你好运!</ p >
@@ -25,9 +31,6 @@ <h2>中级篇</h2>
25
31
{% elif type == "Advanced" %}
26
32
< h2 > 高级篇</ h2 >
27
33
< p > 神奇宝贝联盟大会 </ p >
28
- {% elif type == "Course" %}
29
- < h2 > 课程</ h2 >
30
- < p > 我们在平台上提供了众多课程,包含软件安全。</ p >
31
34
{% elif type == "Archive" %}
32
35
< h2 > 归档</ h2 >
33
36
< p > 历史课程</ p >
You can’t perform that action at this time.
0 commit comments