1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-03-15 02:07:36 +00:00

update font and minor change

This commit is contained in:
quark 2025-02-24 18:37:18 +01:00
parent 587314e03c
commit 333f7aa284
6 changed files with 14 additions and 14 deletions

View File

@ -4,7 +4,7 @@
} }
@font-face { @font-face {
font-family: "JEMROKtrial-Regular"; font-family: "JEMROKtrial-Regular";
src: url("/static/wrapped/fonts/1/jr-font.ttf"); src: url("/static/wrapped/fonts/1/JEMROKtrial-Regular.ttf");
} }
body { body {
font-family: "JEMROKtrial-Regular", sans-serif; font-family: "JEMROKtrial-Regular", sans-serif;
@ -54,7 +54,7 @@ h1 {
margin: 10px 0; margin: 10px 0;
padding: 10px; padding: 10px;
border-radius: 5px; border-radius: 5px;
font-weight: bold; font-weight: normal;
} }
.ranking-bar { .ranking-bar {
width: 100%; width: 100%;

View File

@ -58,7 +58,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<h2>{% trans "The NoteKfet this year it's also" %}</h2> <h2>{% trans "The NoteKfet this year it's also" %}</h2>
<ul class="list" id="glob_top3_conso"> <ul class="list" id="glob_top3_conso">
<li>{{ glob_nb_transaction }} {% trans " transactions" %}</li> <li>{{ glob_nb_transaction }} {% trans " transactions" %}</li>
<li>{{ glob_nb_soiree }} {% trans " party" %}</li> <li>{{ glob_nb_soiree }} {% trans " parties" %}</li>
<li>{{ glob_nb_entree_pot }} {% trans " Pot entries" %}</li> <li>{{ glob_nb_entree_pot }} {% trans " Pot entries" %}</li>
<script> <script>
let liste = {{ glob_top3_conso | safe }}; let liste = {{ glob_top3_conso | safe }};
@ -69,7 +69,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
ul.appendChild(li); ul.appendChild(li);
}); });
</script> </script>
<li>{{ glob_nb_vieux_con }} {% trans " old asshole behind the bar" %} </li> <li>{{ glob_nb_vieux_con }} {% trans " old dickhead behind the bar" %} </li>
</ul> </ul>
</div> </div>
<script> <script>

View File

@ -8,12 +8,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
<div class="wrap-container"> <div class="wrap-container">
<h2>{% trans "NoteKfet Wrapped" %}</h2> <h2>{% trans "NoteKfet Wrapped" %}</h2>
<h1 id="name">{{ wrapped.note.club.name }}</h1> <h1 id="name">{{ wrapped.note.club.name }}</h1>
{% trans "Your best consumer" %} {% trans "Your best consumer:" %}
<div class="category" id="consumer"></div> <div class="category" id="consumer"></div>
{% trans "Your worst creditor" %} {% trans "Your worst creditor:" %}
<div class="category" id="creditor"></div> <div class="category" id="creditor"></div>
<ul class="list"> <ul class="list">
<li>{{ nb_soiree_orga }} {% trans "party organised" %}</li> <li>{{ nb_soiree_orga }} {% trans "party·ies organised" %}</li>
<li>{{ nb_member }} {% trans "distinct members" %}</li> <li>{{ nb_member }} {% trans "distinct members" %}</li>
</ul> </ul>
</div> </div>

View File

@ -10,12 +10,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
<h1 id="name">{{ wrapped.note.user.username }}</h1> <h1 id="name">{{ wrapped.note.user.username }}</h1>
{% if wei %} {% if wei %}
<div class="category" id="wei"> <div class="category" id="wei">
{% trans "You participate to the wei" %} {{ wei }} {% trans "in the" %} {{ bus }} {% trans "You participate to the wei: " %} {{ wei }} {% trans "in the" %} {{ bus }}
</div> </div>
{% endif %} {% endif %}
<div class="ranking-bar"> <div class="ranking-bar">
<div class="ranking-progress" id="pot_bar"> <div class="ranking-progress" id="pot_bar">
{{ nb_pot_entry }}/{{ nb_pots }} {% trans "pots" %} {{ nb_pot_entry }}/{{ nb_pots }} {% trans "pots !" %}
</div> </div>
<script> <script>
const percentage = ({{ nb_pot_entry }} / {{ nb_pots }}) *100; const percentage = ({{ nb_pot_entry }} / {{ nb_pots }}) *100;
@ -24,8 +24,8 @@ SPDX-License-Identifier: GPL-3.0-or-later
</div> </div>
{% if first_conso %} {% if first_conso %}
<ul class="list" id="user_conso"> <ul class="list" id="user_conso">
<li>{% trans "Your first conso of the year" %} {{ first_conso }}</li> <li>{% trans "Your first conso of the year: " %} {{ first_conso }}</li>
<li>{% trans "Your prefered consumtion category" %} {{ top_category }}</li> <li>{% trans "Your prefered consumtion category: " %} {{ top_category }}</li>
<script> <script>
let top3 = {{ top3_conso | safe }}; let top3 = {{ top3_conso | safe }};
let l = document.getElementById("user_conso"); let l = document.getElementById("user_conso");
@ -38,10 +38,10 @@ SPDX-License-Identifier: GPL-3.0-or-later
</ul> </ul>
{% endif %} {% endif %}
<div class="category"> <div class="category">
{{ nb_rechargement }} {% trans "it's the number of time your reload your note" %} {{ nb_rechargement }} {% trans ": it's the number of time your reload your note" %}
</div> </div>
{% if class_conso_all > 0 %} {% if class_conso_all > 0 %}
{% trans "Your overall expenses" %} {% trans "Your overall expenses: " %}
<div class="ranking-bar"> <div class="ranking-bar">
<div class="ranking-progress" id="all_bar"> <div class="ranking-progress" id="all_bar">
{{ class_conso_all }}/{{ class_part_all }} {% trans "with" %} {{ amount_conso_all }}€ {{ class_conso_all }}/{{ class_part_all }} {% trans "with" %} {{ amount_conso_all }}€
@ -54,7 +54,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% endif %} {% endif %}
<br> <br>
{% if class_conso_bde > 0 %} {% if class_conso_bde > 0 %}
{% trans "Your expenses to BDE" %} {% trans "Your expenses to BDE: " %}
<div class="ranking-bar"> <div class="ranking-bar">
<div class="ranking-progress" id="bde_bar"> <div class="ranking-progress" id="bde_bar">
{{ class_conso_bde }}/{{ class_part_bde }} {% trans "with" %} {{ amount_conso_bde }}€ {{ class_conso_bde }}/{{ class_part_bde }} {% trans "with" %} {{ amount_conso_bde }}€