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():
3131 return render_template ("index.html" ,
3232 image_name = image_name ,
3333 role_name = role , role_name_fa = role2fa [role ],
34- description = descriptions [role ],
34+ description = descriptions [role ], description_fa = descriptions_fa [ role ],
3535 player_id = id - 1 ,
3636 is_farsi = True )
3737
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+
113h1 {
214 font-size : 30px ;
315 padding : 0 0 0 0 ;
416 margin : 0 0 0 0 ;
517}
18+
619h2 {
720 font-size : 25px ;
821 color : rgb (172 , 161 , 147 );
922 padding : 0 0 0 0 ;
1023 margin : 0 0 0 0 ;
1124}
25+
1226p {
1327 font-size : 10px ;
1428 color : rgb (163 , 157 , 150 );
1529 padding : 0 0 0 0 ;
1630 margin : 0 0 0 0 ;
1731}
32+
1833table , td , th {
1934 width : 100% ;
2035 text-align : center;
@@ -32,10 +47,3 @@ th, td {
3247.id_section {
3348 font-size : 10px ;
3449}
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>
1919{% block desc %}
2020< p > {{ description }}</ p >
2121{% if is_farsi == True %}
22- < p id ="fa "> ... </ p >
22+ < p id ="fa "> {{ description_fa }} </ p >
2323{% endif %}
2424{% endblock %}
2525
2626{% block id_sec %}
27+ < hr >
2728< p class ="id_section "> Your id (Tell it to the God): {{ player_id }}</ p >
2829{% endblock %}
You can’t perform that action at this time.
0 commit comments