Skip to content

Commit b0427b8

Browse files
committed
edit : minor edits on templates.
1 parent 7f2f6e2 commit b0427b8

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

static/css/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,7 @@ th, td {
2828
width: 200px;
2929
height: 200px;
3030
}
31+
32+
.id_section {
33+
font-size: 10px;
34+
}

templates/base.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@
1010
<td>{% block avatar %}{% endblock %}</td>
1111
</tr>
1212
<tr>
13-
<td class="role">{% block role_eng %}{% endblock %}</td>
13+
<td class="role">{% block role_title %}{% endblock %}</td>
1414
</tr>
1515
<tr>
16-
<td class="description">{% block desc_eng %}{% endblock %}</td>
16+
<td class="description">{% block desc %}{% endblock %}</td>
17+
</tr>
18+
<tr>
19+
<td>{% block id_sec %}{% endblock %}</td>
1720
</tr>
1821
</table>

templates/index.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,21 @@
88
<img class="avatar" src="static/images/roles/{{ image_name }}.png">
99
{% endblock %}
1010

11-
{% block role_eng %}
11+
{% block role_title %}
1212
<h1>{{ role_name }}
1313
{% if is_farsi == True %}
14-
<h2 id="fa">دن</h2>
14+
<h2 id="fa">...</h2>
1515
{% endif %}
1616
</h1>
1717
{% endblock %}
1818

19-
{% block desc_eng %}
20-
<p>The head Of Mafia Team.</p>
19+
{% block desc %}
20+
<p>...</p>
2121
{% if is_farsi == True %}
22-
<p id="fa">رییس مافیا</p>
22+
<p id="fa">...</p>
2323
{% endif %}
2424
{% endblock %}
25+
26+
{% block id_sec %}
27+
<p class="id_section">Your id (Tell it to God): {{ player_id }}</p>
28+
{% endblock %}

0 commit comments

Comments
 (0)