master
Aevann1 2022-02-22 06:26:54 +02:00
parent 3dbe6af87f
commit aa9cd35016
1 changed files with 6 additions and 11 deletions

View File

@ -37,21 +37,17 @@
<div class="d-flex justify-content-between align-items-center mr-2"> <div class="d-flex justify-content-between align-items-center mr-2">
{% block navbar %} {% block navbar %}
<div class="font-weight-bold py-3"></div>
<div class="d-flex align-items-center sortingbarmargin"> <div class="d-flex align-items-center sortingbarmargin">
<div class="text-small font-weight-bold mr-2"></div>
{% if request.path == '/' and v.paid_dues %} {% if v and v.paid_dues %}
{% if ccmode=="true"%}<a class="btn btn-secondary text-primary text-small-m" href="?sort={{sort}}&t={{t}}&ccmode=false"><i class="fas fa-angry mr-2"></i>CC</a>{% endif %} {% if ccmode=="true"%}<a class="btn btn-secondary text-primary text-small-m" href="?sort={{sort}}&t={{t}}&ccmode=false">CC</a>{% endif %}
{% if ccmode=="false" %}<a class="btn btn-secondary text-small-m" href="?sort={{sort}}&t={{t}}&ccmode=true"><i class="fas fa-angry mr-2"></i>CC</a>{% endif %} {% if ccmode=="false" %}<a class="btn btn-secondary text-small-m" href="?sort={{sort}}&t={{t}}&ccmode=true">CC</a>{% endif %}
<div class="text-small font-weight-bold ml-3 mr-2"></div>
{% endif %} {% endif %}
{% if request.path == '/' and v and v.admin_level > 1 and SITE_NAME == 'Drama' %} {% if SITE_NAME == 'Drama' %}
{% if subs=="true"%}<a class="btn btn-secondary text-primary text-small-m" href="?sort={{sort}}&t={{t}}&subs=false"><i class="fas fa-angry mr-2"></i>Subs</a>{% endif %} {% if subs=="true"%}<a class="btn btn-secondary text-primary text-small-m" href="?sort={{sort}}&t={{t}}&subs=false">Subs</a>{% endif %}
{% if subs=="false" %}<a class="btn btn-secondary text-small-m" href="?sort={{sort}}&t={{t}}&subs=true"><i class="fas fa-angry mr-2"></i>Subs</a>{% endif %} {% if subs=="false" %}<a class="btn btn-secondary text-small-m" href="?sort={{sort}}&t={{t}}&subs=true">Subs</a>{% endif %}
<div class="text-small font-weight-bold ml-3 mr-2"></div>
{% endif %} {% endif %}
<div class="dropdown dropdown-actions"> <div class="dropdown dropdown-actions">
@ -75,7 +71,6 @@
</div> </div>
</div> </div>
<div class="text-small font-weight-bold ml-3 mr-2"></div>
<div class="dropdown dropdown-actions"> <div class="dropdown dropdown-actions">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton2" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton2" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{% if sort=="hot" %}<i class="fas fa-fire mr-1"></i>{% endif %} {% if sort=="hot" %}<i class="fas fa-fire mr-1"></i>{% endif %}