changed color in top 10 + updated resources
This commit is contained in:
parent
bb97f1adc1
commit
7e4a2a30d9
|
@ -53,7 +53,7 @@
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if member %}
|
{% if member %}
|
||||||
<li class="list-group-item">{% trans "Status: Member" %}</li>
|
<li class="list-group-item is-member">{% trans "Status: Member" %}</li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li class="list-group-item">{% trans "Status: Visitor" %}</li>
|
<li class="list-group-item">{% trans "Status: Visitor" %}</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% get_current_language as lang %}
|
{% get_current_language as lang %}
|
||||||
|
{% load is_member %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-9 col-sm-12 news-card">
|
<div class="col-lg-9 col-sm-12 news-card">
|
||||||
{% if news %}
|
{% if news %}
|
||||||
|
@ -44,9 +45,12 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="list-group">
|
<ul class="list-group">
|
||||||
<li class="list-group-item active">Top 10</li>
|
<li class="list-group-item">Top 10</li>
|
||||||
{% for t in top %}
|
{% for t in top %}
|
||||||
<li class="list-group-item"># {{ forloop.counter }} <a class="profile_link" href="{% url 'accounts:profile' user_name=t.user.username %}"> {{ t.user.username }}</a> <span style="position:absolute;right: 15px;">{{ t.score }}</span></li>
|
{% ismember t.user.userprofileinfo as is_member %}
|
||||||
|
<li class="list-group-item"># {{ forloop.counter }}
|
||||||
|
<a class="profile_link {{is_member}}" href="{% url 'accounts:profile' user_name=t.user.username %}"> {{ t.user.username }}</a>
|
||||||
|
<span style="position:absolute;right: 15px;">{{ t.score }}</span></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="list-group">
|
<ul class="list-group">
|
||||||
|
|
|
@ -149,7 +149,7 @@ msgstr ""
|
||||||
#: resources/templates/resources/donate.html:18
|
#: resources/templates/resources/donate.html:18
|
||||||
msgid ""
|
msgid ""
|
||||||
"A different color for your pseudo in the scoreboard, to let everyone know "
|
"A different color for your pseudo in the scoreboard, to let everyone know "
|
||||||
"you're a member. (not yet implemented but coming soon)"
|
"you're a member."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: resources/templates/resources/donate.html:19
|
#: resources/templates/resources/donate.html:19
|
||||||
|
|
|
@ -149,7 +149,7 @@ msgstr ""
|
||||||
#: resources/templates/resources/donate.html:18
|
#: resources/templates/resources/donate.html:18
|
||||||
msgid ""
|
msgid ""
|
||||||
"A different color for your pseudo in the scoreboard, to let everyone know "
|
"A different color for your pseudo in the scoreboard, to let everyone know "
|
||||||
"you're a member. (not yet implemented but coming soon)"
|
"you're a member."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: resources/templates/resources/donate.html:19
|
#: resources/templates/resources/donate.html:19
|
||||||
|
|
|
@ -149,7 +149,7 @@ msgstr ""
|
||||||
#: resources/templates/resources/donate.html:18
|
#: resources/templates/resources/donate.html:18
|
||||||
msgid ""
|
msgid ""
|
||||||
"A different color for your pseudo in the scoreboard, to let everyone know "
|
"A different color for your pseudo in the scoreboard, to let everyone know "
|
||||||
"you're a member. (not yet implemented but coming soon)"
|
"you're a member."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: resources/templates/resources/donate.html:19
|
#: resources/templates/resources/donate.html:19
|
||||||
|
|
|
@ -151,10 +151,10 @@ msgstr "Lorsque vous adherez à 42CTF, vous obtenez les avantages suivants :"
|
||||||
#: resources/templates/resources/donate.html:18
|
#: resources/templates/resources/donate.html:18
|
||||||
msgid ""
|
msgid ""
|
||||||
"A different color for your pseudo in the scoreboard, to let everyone know "
|
"A different color for your pseudo in the scoreboard, to let everyone know "
|
||||||
"you're a member. (not yet implemented but coming soon)"
|
"you're a member."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Une couleur différente pour votre pseudo sur le scoreboard, pour que tout le "
|
"Une couleur différente pour votre pseudo sur le scoreboard, pour que tout le "
|
||||||
"monde sache que vous êtes membre (en cours de développement)."
|
"monde sache que vous êtes membre."
|
||||||
|
|
||||||
#: resources/templates/resources/donate.html:19
|
#: resources/templates/resources/donate.html:19
|
||||||
msgid ""
|
msgid ""
|
||||||
|
|
|
@ -149,7 +149,7 @@ msgstr ""
|
||||||
#: resources/templates/resources/donate.html:18
|
#: resources/templates/resources/donate.html:18
|
||||||
msgid ""
|
msgid ""
|
||||||
"A different color for your pseudo in the scoreboard, to let everyone know "
|
"A different color for your pseudo in the scoreboard, to let everyone know "
|
||||||
"you're a member. (not yet implemented but coming soon)"
|
"you're a member."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: resources/templates/resources/donate.html:19
|
#: resources/templates/resources/donate.html:19
|
||||||
|
|
|
@ -151,7 +151,7 @@ msgstr ""
|
||||||
#: resources/templates/resources/donate.html:18
|
#: resources/templates/resources/donate.html:18
|
||||||
msgid ""
|
msgid ""
|
||||||
"A different color for your pseudo in the scoreboard, to let everyone know "
|
"A different color for your pseudo in the scoreboard, to let everyone know "
|
||||||
"you're a member. (not yet implemented but coming soon)"
|
"you're a member."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: resources/templates/resources/donate.html:19
|
#: resources/templates/resources/donate.html:19
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
{% trans "Membership is then granted for 1 year." %}<br><br>
|
{% trans "Membership is then granted for 1 year." %}<br><br>
|
||||||
|
|
||||||
{% trans "When you become a member, you gain the following advantages:" %}<br>
|
{% trans "When you become a member, you gain the following advantages:" %}<br>
|
||||||
- {% trans "A different color for your pseudo in the scoreboard, to let everyone know you're a member. (not yet implemented but coming soon)" %}<br>
|
- {% trans "A different color for your pseudo in the scoreboard, to let everyone know you're a member." %}<br>
|
||||||
- {% trans "The possibility to play again past CTF, with challenges no longer available, in the form of private events with the people of your choice." %}<br>
|
- {% trans "The possibility to play again past CTF, with challenges no longer available, in the form of private events with the people of your choice." %}<br>
|
||||||
{% trans "Ex: you played Welcome CTF 2021, and want to play it again with your friends during one weekend." %}
|
{% trans "Ex: you played Welcome CTF 2021, and want to play it again with your friends during one weekend." %}
|
||||||
{% trans "Or you didn't play Welcome CTF 2021 because you were not eligible." %}
|
{% trans "Or you didn't play Welcome CTF 2021 because you were not eligible." %}
|
||||||
|
|
|
@ -79,7 +79,7 @@ pre {
|
||||||
}
|
}
|
||||||
.list-group a {
|
.list-group a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #4375aa;
|
/* color: #4375aa; */
|
||||||
}
|
}
|
||||||
.list-group a:hover {
|
.list-group a:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
Loading…
Reference in New Issue