File tree Expand file tree Collapse file tree 3 files changed +18
-9
lines changed Expand file tree Collapse file tree 3 files changed +18
-9
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def index():
31
31
return render_template ("index.html" ,
32
32
image_name = image_name ,
33
33
role_name = role , role_name_fa = role2fa [role ],
34
- description = descriptions [role ],
34
+ description = descriptions [role ], description_fa = descriptions_fa [ role ],
35
35
player_id = id - 1 ,
36
36
is_farsi = True )
37
37
Original file line number Diff line number Diff line change
1
+ .description {
2
+ text-align : justify;
3
+ text-justify : auto;
4
+ padding-left : 10% ;
5
+ padding-right : 10% ;
6
+ }
7
+
8
+ # fa {
9
+ direction : rtl;
10
+ color : rgb (189 , 185 , 181 );
11
+ }
12
+
1
13
h1 {
2
14
font-size : 30px ;
3
15
padding : 0 0 0 0 ;
4
16
margin : 0 0 0 0 ;
5
17
}
18
+
6
19
h2 {
7
20
font-size : 25px ;
8
21
color : rgb (172 , 161 , 147 );
9
22
padding : 0 0 0 0 ;
10
23
margin : 0 0 0 0 ;
11
24
}
25
+
12
26
p {
13
27
font-size : 10px ;
14
28
color : rgb (163 , 157 , 150 );
15
29
padding : 0 0 0 0 ;
16
30
margin : 0 0 0 0 ;
17
31
}
32
+
18
33
table , td , th {
19
34
width : 100% ;
20
35
text-align : center;
@@ -32,10 +47,3 @@ th, td {
32
47
.id_section {
33
48
font-size : 10px ;
34
49
}
35
-
36
- .description {
37
- text-align : justify;
38
- text-justify : auto;
39
- padding-left : 10% ;
40
- padding-right : 10% ;
41
- }
Original file line number Diff line number Diff line change @@ -19,10 +19,11 @@ <h2 id="fa">{{ role_name_fa }}</h2>
19
19
{% block desc %}
20
20
< p > {{ description }}</ p >
21
21
{% if is_farsi == True %}
22
- < p id ="fa "> ... </ p >
22
+ < p id ="fa "> {{ description_fa }} </ p >
23
23
{% endif %}
24
24
{% endblock %}
25
25
26
26
{% block id_sec %}
27
+ < hr >
27
28
< p class ="id_section "> Your id (Tell it to the God): {{ player_id }}</ p >
28
29
{% endblock %}
You can’t perform that action at this time.
0 commit comments