File tree Expand file tree Collapse file tree 3 files changed +22
-6
lines changed Expand file tree Collapse file tree 3 files changed +22
-6
lines changed Original file line number Diff line number Diff line change 1
1
{% extends 'base_action.html' %}
2
2
3
+ {% block Audio %}
4
+ < audio id ="kill ">
5
+ < source src ="static/voices/kill.mp3 " type ="audio/mpeg ">
6
+ Your browser does not support the audio element.
7
+ </ audio >
8
+ < audio id ="ban ">
9
+ < source src ="static/voices/ban.mp3 " type ="audio/mpeg ">
10
+ Your browser does not support the audio element.
11
+ </ audio >
12
+ {% endblock %}
13
+
3
14
{% block sub_table %}
4
15
< tr >
5
16
< th class ="action_table " id ="is_comment "> C</ th >
12
23
< td class ="action_table " id ="is_comment "> {% if ip2role_index_name[ip][4] == True%}+{% endif %}</ td >
13
24
< td class ="action_table " id ="player_name "> {{ ip2role_index_name[ip][2] }}</ td >
14
25
< td class ="action_table " id ="player_role "> {{ ip2role_index_name[ip][0] }}</ td >
15
- < td class ="action_table "> < a href ="/GOD?Ban={{ ip }} "> Ban</ a > </ td >
26
+ < td class ="action_table "> < a href ="javascript:delay(' /GOD?Ban={{ ip }}', 2000) " onclick =" ban_sound_play() "> Ban</ a > </ td >
16
27
< td class ="action_table "> < a href ="/GOD?Comment={{ ip }} "> Comment</ a > </ td >
17
- < td class ="action_table "> < a href ="/GOD?Kill={{ ip }} "> Kill</ a > </ td >
28
+ < td class ="action_table "> < a href ="javascript:delay(' /GOD?Kill={{ ip }}', 1500) " onclick =" kill_sound_play() "> Kill</ a > </ td >
18
29
</ tr >
19
30
{% endfor %}
20
31
{% endblock %}
Original file line number Diff line number Diff line change 1
1
{% extends 'base_action.html' %}
2
2
3
+ {% block Audio %}
4
+ < audio id ="beep ">
5
+ < source src ="static/voices/beep.mp3 " type ="audio/mpeg ">
6
+ Your browser does not support the audio element.
7
+ </ audio >
8
+ {% endblock %}
9
+
3
10
{% block sub_table %}
4
11
< tr >
5
12
< td class ="role ">
Original file line number Diff line number Diff line change 9
9
< script type ="text/javascript " src ="static/js/main.js "> </ script >
10
10
</ head >
11
11
< body >
12
- < audio id ="beep ">
13
- < source src ="static/voices/beep.mp3 " type ="audio/mpeg ">
14
- Your browser does not support the audio element.
15
- </ audio >
12
+ {% block Audio %}
13
+ {% endblock %}
16
14
< table style ="border-collapse: collapse ">
17
15
{% block sub_table %}{% endblock %}
18
16
</ table >
You can’t perform that action at this time.
0 commit comments