Add logo to sidenav

This commit is contained in:
Patrick Jentsch 2023-11-23 13:26:19 +01:00
parent 79a16cae83
commit 00e4c3ade3
2 changed files with 6 additions and 9 deletions

View File

@ -5,7 +5,6 @@
<a href="#" data-target="sidenav" class="sidenav-trigger"><i class="material-icons">menu</i></a> <a href="#" data-target="sidenav" class="sidenav-trigger"><i class="material-icons">menu</i></a>
{% endif %} {% endif %}
<a href="{{ url_for('main.index') }}" class="brand-logo" style="height: 100%; overflow: hidden;"> <a href="{{ url_for('main.index') }}" class="brand-logo" style="height: 100%; overflow: hidden;">
<img class="hide-on-small-only" src="{{ url_for('static', filename='images/nopaque_-_logo_name_slogan.svg') }}" style="height: 128px; margin-top: -32px; margin-left: -32px;">
<img class="hide-on-med-and-up" src="{{ url_for('static', filename='images/nopaque_-_logo.svg') }}" style="height: 128px; margin-top: -32px; margin-left: -32px;"> <img class="hide-on-med-and-up" src="{{ url_for('static', filename='images/nopaque_-_logo.svg') }}" style="height: 128px; margin-top: -32px; margin-left: -32px;">
</a> </a>
<ul class="right hide-on-med-and-down"> <ul class="right hide-on-med-and-down">

View File

@ -1,14 +1,12 @@
<ul class="sidenav sidenav-fixed" id="sidenav"> <ul class="sidenav sidenav-fixed" id="sidenav">
<li> <li class="primary-color hide-on-small-only">
<div class="user-view"> <div style="overflow: hidden;height: 64px; width: 250px;">
<div class="background primary-color"></div> <img class="hide-on-small-only" src="{{ url_for('static', filename='images/nopaque_-_logo_name_slogan.svg') }}" style="height: 128px; margin-top: -32px;">
</div> </div>
</li> </li>
{# <li class="primary-color"> <li class="primary-variant-color center-align hide-on-small-only">
<div style="overflow: hidden;height: 64px; width: 250px;"> <span class="white-text">from text > to data > to analysis</span>
<img class="hide-on-small-only" src="{{ url_for('static', filename='images/nopaque_-_logo_name_slogan.svg') }}" style="height: 128px; margin-top: -32px; margin-left: ;"> </li>
</div>
</li> #}
<li><a href="{{ url_for('main.index') }}"><i class="material-icons left">home</i>nopaque</a></li> <li><a href="{{ url_for('main.index') }}"><i class="material-icons left">home</i>nopaque</a></li>
<li> <li>
<a class="waves-effect" href="{{ url_for('main.news') }}"><i class="material-icons left">email</i>News</a> <a class="waves-effect" href="{{ url_for('main.news') }}"><i class="material-icons left">email</i>News</a>