make /sidebar neater

master
Aevann1 2022-08-04 22:37:39 +02:00
parent 0dde4c81c5
commit e15b61d6b3
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
<div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" id="sidebar-content"> <div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" {% if request.path != '/sidebar' %}id="sidebar-content"{% endif %}>
{%- set art_path = "assets/images/" + SITE_NAME + "/sidebar/" -%} {%- set art_path = "assets/images/" + SITE_NAME + "/sidebar/" -%}
{%- set sidebar_art = "/" + art_path + listdir('files/' + art_path)|random() + '?v=1' -%} {%- set sidebar_art = "/" + art_path + listdir('files/' + art_path)|random() + '?v=1' -%}

View File

@ -1,4 +1,4 @@
<div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" id="sidebar-content"> <div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" {% if request.path != '/sidebar' %}id="sidebar-content"{% endif %}>
{% if sub %} {% if sub %}
{% set image = sub.sidebar_url %} {% set image = sub.sidebar_url %}

View File

@ -1,4 +1,4 @@
<div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 bg-white" id="sidebar-content"> <div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 bg-white" {% if request.path != '/sidebar' %}id="sidebar-content"{% endif %}>
<p class="text-center text-md mb-4"> <p class="text-center text-md mb-4">
<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>

View File

@ -1,4 +1,4 @@
<div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" id="sidebar-content"> <div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" {% if request.path != '/sidebar' %}id="sidebar-content"{% endif %}>
{% if sub %} {% if sub %}
{% set image=sub.sidebar_url %} {% set image=sub.sidebar_url %}

View File

@ -1,4 +1,4 @@
<div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" id="sidebar-content"> <div class="col sidebar text-left {% if '/sidebar' not in request.path %}d-none d-lg-block{% endif %} pt-3 pb-5 bg-white" {% if request.path != '/sidebar' %}id="sidebar-content"{% endif %}>
{% if sub %} {% if sub %}
{% set image=sub.sidebar_url %} {% set image=sub.sidebar_url %}