move icons back to sidebar for PCM

master
Aevann1 2022-07-12 02:40:30 +02:00
parent 334c5d449b
commit b7b0b200ad
2 changed files with 25 additions and 25 deletions

View File

@ -145,35 +145,35 @@
</li> </li>
{% if v.can_gamble and LOTTERY_ENABLED %} {% if v.can_gamble and LOTTERY_ENABLED %}
<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">
<a class="nav-link" href="/lottery" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Lottery"><i class="fas fa-ticket"></i></a> <a class="nav-link" href="/lottery" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Lottery"><i class="fas fa-ticket"></i></a>
</li> </li>
{% endif %} {% 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">
<a class="nav-link" href="/shop" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Shop"><i class="fas fa-store"></i></a> <a class="nav-link" href="/shop" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Shop"><i class="fas fa-store"></i></a>
</li> </li>
{% if SITE_NAME != 'PCM' %}
<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">
<a class="nav-link" href="/marseys" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Marseys"><i class="fas fa-cat"></i></a> <a class="nav-link" href="/marseys" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Marseys"><i class="fas fa-cat"></i></a>
</li> </li>
<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">
<a class="nav-link" href="/badges" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Badges"><i class="fas fa-hexagon"></i></a> <a class="nav-link" href="/badges" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Badges"><i class="fas fa-hexagon"></i></a>
</li> </li>
<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">
<a class="nav-link" href="/log" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Moderation Log"><i class="fas fa-scroll-old"></i></a> <a class="nav-link" href="/log" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Moderation Log"><i class="fas fa-scroll-old"></i></a>
</li> </li>
<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">
<a class="nav-link" href="/transfers" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Transfers"><i class="fas fa-arrow-right-arrow-left"></i></a> <a class="nav-link" href="/transfers" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Transfers"><i class="fas fa-arrow-right-arrow-left"></i></a>
</li> </li>
<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">
<a class="nav-link" href="/random_post" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Random Post"><i class="fas fa-random"></i></a> <a class="nav-link" href="/random_post" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Random Post"><i class="fas fa-random"></i></a>
</li> </li>
<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">
<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> <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>
{% endif %}
<li class="nav-item d-flex align-items-center justify-content-center text-center"> <li class="nav-item d-flex align-items-center justify-content-center text-center">
<div class="dropdown" id="header--dropdown"> <div class="dropdown" id="header--dropdown">

View File

@ -1,8 +1,8 @@
<div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 bg-white" style="max-width:300px"> <div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 bg-white" style="max-width:300px">
<p class="text-center text-md mb-4 d-md-none"> <p class="text-center text-md mb-4">
{% if v and v.can_gamble and LOTTERY_ENABLED -%} {% if v and v.can_gamble and LOTTERY_ENABLED -%}
<a class="sidebar-link" href="/lottery" data-bs-toggle="tooltip" data-bs-placement="top" title="Lottery"><i class="fas fa-ticket"></i></a> <a class="sidebar-link" href="/lottery" data-bs-toggle="tooltip" data-bs-placement="top" title="Lottery"><i class="fas fa-ticket"></i></a>
{%- endif %} {%- endif %}
<a class="sidebar-link" href="/log" data-bs-toggle="tooltip" data-bs-placement="top" title="Moderation Log"><i class="fas fa-scroll-old"></i></a> <a class="sidebar-link" href="/log" data-bs-toggle="tooltip" data-bs-placement="top" title="Moderation Log"><i class="fas fa-scroll-old"></i></a>
<a class="sidebar-link" href="/transfers" data-bs-toggle="tooltip" data-bs-placement="top" title="Transfers"><i class="fas fa-arrow-right-arrow-left"></i></a> <a class="sidebar-link" href="/transfers" data-bs-toggle="tooltip" data-bs-placement="top" title="Transfers"><i class="fas fa-arrow-right-arrow-left"></i></a>