[BUGFIX] header menu logbook styling
This commit is contained in:
parent
893f768c7d
commit
670351397e
@ -10,16 +10,18 @@
|
|||||||
<title>Ruderassistent - ASKÖ Ruderverein Donau Linz</title>
|
<title>Ruderassistent - ASKÖ Ruderverein Donau Linz</title>
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-gray-100">
|
<body class="bg-gray-100">
|
||||||
{%if loggedin_user %}
|
{% if loggedin_user %}
|
||||||
{{ macros::header(loggedin_user=loggedin_user) }}
|
{{ macros::header(loggedin_user=loggedin_user) }}
|
||||||
{%endif%}
|
{% endif %}
|
||||||
|
|
||||||
<div class="flex min-h-screen {%if not loggedin_user %} items-center {% else %} items-start {% endif %} justify-center px-4 py-12 sm:px-6 lg:px-8"> {% block content %}{% endblock content %}
|
<div class="flex min-h-screen {%if not loggedin_user %} items-center {% else %} items-start {% endif %} justify-center px-4 py-12 sm:px-6 lg:px-8"> {% block content %}{% endblock content %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{%if loggedin_user %}
|
{% if loggedin_user %}
|
||||||
{% include "includes/footer" %}
|
{% include "includes/footer" %}
|
||||||
{%endif%}
|
{% endif %}
|
||||||
|
|
||||||
|
{% include "dynamics/sidebar" %}
|
||||||
|
|
||||||
<script src="/public/main.js"></script>
|
<script src="/public/main.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
@ -56,5 +56,4 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include "dynamics/sidebar" %}
|
|
||||||
{% endblock content%}
|
{% endblock content%}
|
||||||
|
4
templates/includes/book.html.tera
Normal file
4
templates/includes/book.html.tera
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-journal" viewBox="0 0 16 16">
|
||||||
|
<path d="M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"/>
|
||||||
|
<path d="M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"/>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 500 B |
@ -13,31 +13,31 @@
|
|||||||
{% include "includes/question-icon" %}
|
{% include "includes/question-icon" %}
|
||||||
<span class="sr-only">FAQs</span>
|
<span class="sr-only">FAQs</span>
|
||||||
</a>
|
</a>
|
||||||
{% if loggedin_user.is_admin%}
|
|
||||||
<a href="/boatdamage" class="inline-flex justify-center rounded-md bg-primary-600 mx-1 px-3 py-2 text-sm font-semibold text-white hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 cursor-pointer">
|
|
||||||
Bootsschaden
|
|
||||||
<span class="sr-only">Bootsschaden</span>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
{% endif %}
|
|
||||||
{% if loggedin_user.is_admin %}
|
{% if loggedin_user.is_admin %}
|
||||||
<a href="/stat" class="inline-flex justify-center rounded-md bg-primary-600 mx-1 px-3 py-2 text-sm font-semibold text-white hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 cursor-pointer">
|
<a href="#" class="inline-flex justify-center rounded-md bg-primary-600 mx-1 px-3 py-2 text-sm font-semibold text-white hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 cursor-pointer"
|
||||||
STATS
|
data-sidebar="true" data-trigger="sidebar" data-header="Logbuch" data-body="#mobile-menu">
|
||||||
|
{% include "includes/book" %}
|
||||||
<span class="sr-only">Logbuch</span>
|
<span class="sr-only">Logbuch</span>
|
||||||
</a>
|
</a>
|
||||||
<a href="/log/show" class="inline-flex justify-center rounded-md bg-primary-600 mx-1 px-3 py-2 text-sm font-semibold text-white hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 cursor-pointer">
|
<div class="hidden">
|
||||||
LOGBUCH HISTORY
|
<div id="mobile-menu">
|
||||||
<span class="sr-only">Logbuch History</span>
|
<a href="/log" class="block w-100 py-2 hover:text-primary-600">
|
||||||
|
Ausfahrt eintragen
|
||||||
</a>
|
</a>
|
||||||
<a href="/log" class="inline-flex justify-center rounded-md bg-primary-600 mx-1 px-3 py-2 text-sm font-semibold text-white hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 cursor-pointer">
|
<a href="/log/show" class="block w-100 py-2 hover:text-primary-600 border-t">
|
||||||
LOGBUCH
|
Logbuch
|
||||||
<span class="sr-only">Logbuch</span>
|
|
||||||
</a>
|
</a>
|
||||||
<a href="/admin/boat" class="inline-flex justify-center rounded-md bg-primary-600 mx-1 px-3 py-2 text-sm font-semibold text-white hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 cursor-pointer">
|
<a href="/stat" class="block w-100 py-2 hover:text-primary-600 border-t">
|
||||||
BOATS
|
Statistik
|
||||||
<span class="sr-only">Bootsverwaltung</span>
|
|
||||||
</a>
|
</a>
|
||||||
|
<a href="/admin/boat" class="block w-100 py-2 hover:text-primary-600 border-t">
|
||||||
|
Boote
|
||||||
|
</a>
|
||||||
|
<a href="/boatdamage" class="block w-100 py-2 hover:text-primary-600 border-t">
|
||||||
|
Bootsschaden
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<a href="/admin/user" class="inline-flex justify-center rounded-md bg-primary-600 mx-1 px-3 py-2 text-sm font-semibold text-white hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 cursor-pointer">
|
<a href="/admin/user" class="inline-flex justify-center rounded-md bg-primary-600 mx-1 px-3 py-2 text-sm font-semibold text-white hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 cursor-pointer">
|
||||||
<svg class="inline h-4" width="16" height="16" fill="currentColor" class="bi bi-person-lines-fill" viewbox="0 0 16 16">
|
<svg class="inline h-4" width="16" height="16" fill="currentColor" class="bi bi-person-lines-fill" viewbox="0 0 16 16">
|
||||||
|
@ -293,8 +293,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include "dynamics/sidebar" %}
|
|
||||||
|
|
||||||
{% if loggedin_user.is_cox %}
|
{% if loggedin_user.is_cox %}
|
||||||
{% include "forms/trip" %}
|
{% include "forms/trip" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -38,7 +38,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include "dynamics/sidebar" %}
|
|
||||||
|
|
||||||
<script src="/public/logbook.js"></script>
|
<script src="/public/logbook.js"></script>
|
||||||
{% endblock content%}
|
{% endblock content%}
|
||||||
|
@ -42,7 +42,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include "dynamics/sidebar" %}
|
|
||||||
|
|
||||||
<script src="/public/logbook.js"></script>
|
<script src="/public/logbook.js"></script>
|
||||||
{% endblock content%}
|
{% endblock content%}
|
||||||
|
Loading…
Reference in New Issue
Block a user