1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-03-14 17:57:39 +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-family: "JEMROKtrial-Regular";
src: url("/static/wrapped/fonts/1/jr-font.ttf");
src: url("/static/wrapped/fonts/1/JEMROKtrial-Regular.ttf");
}
body {
font-family: "JEMROKtrial-Regular", sans-serif;
@ -54,7 +54,7 @@ h1 {
margin: 10px 0;
padding: 10px;
border-radius: 5px;
font-weight: bold;
font-weight: normal;
}
.ranking-bar {
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>
<ul class="list" id="glob_top3_conso">
<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>
<script>
let liste = {{ glob_top3_conso | safe }};
@ -69,7 +69,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
ul.appendChild(li);
});
</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>
</div>
<script>

View File

@ -8,12 +8,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
<div class="wrap-container">
<h2>{% trans "NoteKfet Wrapped" %}</h2>
<h1 id="name">{{ wrapped.note.club.name }}</h1>
{% trans "Your best consumer" %}
{% trans "Your best consumer:" %}
<div class="category" id="consumer"></div>
{% trans "Your worst creditor" %}
{% trans "Your worst creditor:" %}
<div class="category" id="creditor"></div>
<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>
</ul>
</div>

View File

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