mirror of
https://github.com/perstarkse/minne.git
synced 2026-03-18 23:44:18 +01:00
45 lines
1.2 KiB
HTML
45 lines
1.2 KiB
HTML
{% extends "head_base.html" %}
|
|
|
|
{% block body %}
|
|
|
|
<body class="bg-base-100 relative" hx-ext="head-support">
|
|
<div class="drawer lg:drawer-open">
|
|
<input id="my-drawer" type="checkbox" class="drawer-toggle" />
|
|
<!-- Page Content -->
|
|
<div class="drawer-content flex flex-col h-screen">
|
|
<!-- Navbar -->
|
|
{% include "navigation_bar.html" %}
|
|
<!-- Main Content Area -->
|
|
<main class="flex flex-1 overflow-y-auto">
|
|
{% block main %}{% endblock %}
|
|
</main>
|
|
</div>
|
|
<!-- Sidebar -->
|
|
{% if user %}
|
|
{% include "sidebar.html" %}
|
|
{% endif %}
|
|
</div> <!-- End Drawer -->
|
|
<div id="modal"></div>
|
|
<div id="toast-container" class="fixed bottom-4 right-4 z-50 space-y-2"></div>
|
|
<!-- Add CSS for custom scrollbar -->
|
|
<style>
|
|
.custom-scrollbar::-webkit-scrollbar {
|
|
width: 4px;
|
|
}
|
|
|
|
.custom-scrollbar::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.custom-scrollbar::-webkit-scrollbar-thumb {
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.custom-scrollbar {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
|
|
}
|
|
</style>
|
|
</body>
|
|
{% endblock %} |