Skip to content

Commit db107ac

Browse files
committed
add : color clustring added.
1 parent 51bcc5a commit db107ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates/GOD.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h4 class="table_header">Players</h4>
2424
<tr class="{{ ip2role_index_name[ip][3] }}">
2525
<td class="action_table" id="is_comment">{% if ip2role_index_name[ip][4] == True%}+{% endif %}</td>
2626
<td class="action_table" id="player_name">{{ ip2role_index_name[ip][2] }}</td>
27-
<td class="action_table" id="player_role">{{ ip2role_index_name[ip][0] }}</td>
27+
<td class="action_table" id="player_role"><p class="{{ role2team[ip2role_index_name[ip][0]] }}">{{ ip2role_index_name[ip][0] }}</p></td>
2828
<td class="action_table"><a href="javascript:delay('/GOD?Ban={{ ip }}', 2000)" onclick="ban_sound_play()">Ban</a></td>
2929
<td class="action_table"><a href="/GOD?Comment={{ ip }}">Comment</a></td>
3030
<td class="action_table"><a href="javascript:delay('/GOD?Kill={{ ip }}', 1500)" onclick="kill_sound_play()">Kill</a></td>
@@ -37,7 +37,7 @@ <h4 class="table_header">Players</h4>
3737
<tr class="{{ ip2role_index_name[ip][3] }}">
3838
<td class="action_table" id="is_comment">{% if ip2role_index_name[ip][4] == True%}+{% endif %}</td>
3939
<td class="action_table" id="player_name">{{ ip2role_index_name[ip][2] }}</td>
40-
<td class="action_table" id="player_role">{{ ip2role_index_name[ip][0] }}</td>
40+
<td class="action_table" id="player_role"><p class="{{ role2team[ip2role_index_name[ip][0]] }}">{{ ip2role_index_name[ip][0] }}</p></td>
4141
<td class="action_table"><a href="javascript:delay('/GOD?Ban={{ ip }}', 2000)" onclick="ban_sound_play()">Ban</a></td>
4242
<td class="action_table"><a href="/GOD?Comment={{ ip }}">Comment</a></td>
4343
<td class="action_table"><a href="javascript:delay('/GOD?Kill={{ ip }}', 1500)" onclick="kill_sound_play()">Kill</a></td>
@@ -50,7 +50,7 @@ <h4 class="table_header">Players</h4>
5050
<tr class="{{ ip2role_index_name[ip][3] }}">
5151
<td class="action_table" id="is_comment">{% if ip2role_index_name[ip][4] == True%}+{% endif %}</td>
5252
<td class="action_table" id="player_name">{{ ip2role_index_name[ip][2] }}</td>
53-
<td class="action_table" id="player_role">{{ ip2role_index_name[ip][0] }}</td>
53+
<td class="action_table" id="player_role"><p class="{{ role2team[ip2role_index_name[ip][0]] }}">{{ ip2role_index_name[ip][0] }}</p></td>
5454
<td class="action_table"><a href="javascript:delay('/GOD?Ban={{ ip }}', 2000)" onclick="ban_sound_play()">Ban</a></td>
5555
<td class="action_table"><a href="/GOD?Comment={{ ip }}">Comment</a></td>
5656
<td class="action_table"><a href="javascript:delay('/GOD?Kill={{ ip }}', 1500)" onclick="kill_sound_play()">Kill</a></td>
@@ -71,7 +71,7 @@ <h4 class="table_header">Comments</h4>
7171
<tr class="{{ ip2role_index_name[ip][3] }}">
7272
<td class="action_table" id="is_comment">{{ comments.index(ip) + 1 }}</td>
7373
<td class="action_table" id="player_name">{{ ip2role_index_name[ip][2] }}</td>
74-
<td class="action_table" id="player_role">{{ ip2role_index_name[ip][0] }}</td>
74+
<td class="action_table" id="player_role"><p class="{{ role2team[ip2role_index_name[ip][0]] }}">{{ ip2role_index_name[ip][0] }}</p></td>
7575
</tr>
7676
{% endfor %}
7777
{% endblock %}

0 commit comments

Comments
 (0)