heroagent/pkg/servers/ui/views/layouts/base.jet
2025-05-23 15:56:35 +04:00

37 lines
1.5 KiB
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ block "title" . }}My App{{ end }}</title>
<!-- Bootstrap CSS from CDN -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-4Q6Gf2aSP4eDXB8Miphtr37CMZZQ5oXLH2yaXMJ2w8e2ZtHTl7GptT4jmndRuHDT" crossorigin="anonymous">
<!-- Custom CSS -->
<link rel="stylesheet" href="/static/css/custom.css">
</head>
<body>
{{ import "pkg/servers/ui/views/components/navbar.jet" }}
{{ yield navbar() }}
<div class="container-fluid">
<div class="row">
<nav id="sidebarMenu" class="col-md-3 col-lg-2 d-md-block bg-light sidebar collapse">
<div class="position-sticky pt-3">
{{ import "pkg/servers/ui/views/components/sidebar.jet" }}
{{ yield sidebar() }}
</div>
</nav>
<main class="col-md-9 ms-sm-auto col-lg-10 px-md-4">
{{ yield body() }}
</main>
</div>
</div>
<!-- Bootstrap JS Bundle from CDN -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/js/bootstrap.bundle.min.js" integrity="sha384-j1CDi7MgGQ12Z7Qab0qlWQ/Qqz24Gc6BM0thvEMVjHnfYGF0rmFCozFSxQBxwHKO" crossorigin="anonymous"></script>
<!-- Custom JS -->
<script src="/static/js/custom.js"></script>
{{ yield scripts() }}
</body>
</html>