forked from rDrama/rDrama
Update 'files/templates/header.html' (#146)
Reviewed-on: rDrama/rDrama#146 Co-authored-by: Lascaille <lascaille@noreply.fsdfsd.net> Co-committed-by: Lascaille <lascaille@noreply.fsdfsd.net>master
parent
619bdba5b2
commit
23af2576c8
|
@ -165,32 +165,32 @@
|
|||
<ul class="navbar-nav ml-auto d-none d-md-flex">
|
||||
|
||||
{% if not (v and v.patron) %}
|
||||
<a class="btn btn-primary mr-3 pb-0 pt-2 donate-link" href="/donate">Donate</a>
|
||||
<a class="btn btn-primary mr-3 pb-0 pt-2 donate-link" id="header--donate--item" href="/donate">Donate</a>
|
||||
{% endif %}
|
||||
|
||||
{% if v %}
|
||||
{% if v.notifications_count %}
|
||||
<li class="nav-item d-flex align-items-center text-center justify-content-center mx-1">
|
||||
<li class="nav-item d-flex align-items-center text-center justify-content-center mx-1" id="header--notifications--item">
|
||||
<a class="nav-link position-relative" href="/notifications{% if v.notifications_do %}/{{v.notifications_do}}{% endif %}" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Notifications"><i class="notif-{{v.notifications_do}}-bell fas fa-bell" style="color: {{v.notifications_color}}"></i><span class="notif-{{v.notifications_do}} notif-count ml-1" style="padding-left: 4.5px;{% if v.notifications_do %}background:{{v.notifications_color}}{% endif %}">{{v.notifications_count}}</span></a>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="nav-item d-flex align-items-center text-center justify-content-center mx-1">
|
||||
<li class="nav-item d-flex align-items-center text-center justify-content-center mx-1" id="header--notifications--item">
|
||||
<a class="nav-link" href="/notifications" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Notifications"><i class="fas fa-bell"></i></a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if v.admin_level >= PERMS['ADMIN_HOME_VISIBLE'] %}
|
||||
<li class="nav-item d-flex align-items-center justify-content-center text-center mx-1">
|
||||
<li class="nav-item d-flex align-items-center justify-content-center text-center mx-1" id="header--admintools--item">
|
||||
<a class="nav-link" href="/admin" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Admin Tools"><i class="fas fa-crown"></i></a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
<li class="nav-item d-flex align-items-center justify-content-center text-center mx-1">
|
||||
<li class="nav-item d-flex align-items-center justify-content-center text-center mx-1" id="header--createpost--item">
|
||||
<a class="nav-link" href="/submit" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Create Post"><i class="fas fa-feather-alt"></i></a>
|
||||
</li>
|
||||
|
||||
{% if FEATURES['CHAT'] and v.admin_level >= PERMS['CHAT'] -%}
|
||||
<li class="nav-item d-none d-lg-flex align-items-center justify-content-center text-center mx-1">
|
||||
<li class="nav-item d-none d-lg-flex align-items-center justify-content-center text-center mx-1" id="header--chat--item">
|
||||
<a class="nav-link position-relative" href="/chat">
|
||||
<i class="fas fa-messages" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Chat"></i>
|
||||
<b id="chat-count-header-bar" class="text-lg" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Users in chat right now">
|
||||
|
@ -200,26 +200,26 @@
|
|||
</li>
|
||||
{%- endif %}
|
||||
|
||||
<li class="nav-item d-flex align-items-center justify-content-center text-center mx-1">
|
||||
<li class="nav-item d-flex align-items-center justify-content-center text-center mx-1" id="header--randomuser--item">
|
||||
<a class="nav-link" href="/random_user" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Random User"><i class="fas fa-music"></i></a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item d-none d-lg-flex align-items-center justify-content-center text-center mx-1">
|
||||
<li class="nav-item d-none d-lg-flex align-items-center justify-content-center text-center mx-1" id="header--allcomments--item">
|
||||
<a class="nav-link" href="/comments" data-bs-toggle="tooltip" data-bs-placement="bottom" title="All Comments"><i class="fas fa-comment-dots"></i></a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item d-none d-lg-flex align-items-center justify-content-center text-center mx-1">
|
||||
<li class="nav-item d-none d-lg-flex align-items-center justify-content-center text-center mx-1" id="header--leaderboard--item">
|
||||
<a class="nav-link" href="/leaderboard" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Leaderboard"><i class="fas fa-trophy"></i></a>
|
||||
</li>
|
||||
|
||||
{% if FEATURES['GAMBLING'] %}
|
||||
<li class="nav-item d-flex align-items-center justify-content-center text-center mx-1">
|
||||
<li class="nav-item d-flex align-items-center justify-content-center text-center mx-1" id="header--casino--item">
|
||||
<a class="nav-link" href="/casino" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Casino"><i class="fas fa-cards"></i></a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if FEATURES['AWARDS'] -%}
|
||||
<li class="nav-item d-none d-lg-flex align-items-center justify-content-center text-center mx-1">
|
||||
<li class="nav-item d-none d-lg-flex align-items-center justify-content-center text-center mx-1" id="header--shop--item">
|
||||
<a class="nav-link" href="/shop/awards" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Shop"><i class="fas fa-store"></i></a>
|
||||
</li>
|
||||
{%- endif %}
|
||||
|
|
Loading…
Reference in New Issue