nidus-sync/html/template/sync/layout/authenticated.html

45 lines
1.3 KiB
HTML
Raw Normal View History

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{ template "title" . }} - Nidus Sync</title>
<!-- Bootstrap CSS -->
<link href="/static/css/bootstrap.css" rel="stylesheet" />
<!-- Fontawesome Icons -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
/>
<!-- Bootstrap Icons -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css"
/>
<!-- favicon -->
2026-02-10 17:45:46 +00:00
<link rel="icon" href="/static/favicon-sync.ico" type="image/x-icon" />
{{ block "extraheader" . }}{{ end }}
</head>
<body>
{{ template "sync/component/icons.html" }}
<div class="d-flex">
{{ if .User }}
{{ template "sync/component/sidebar.html" .User }}
{{ end }}
</div>
2026-02-07 18:26:47 +00:00
<div id="content">
{{ template "content" . }}
</div>
<script src="/static/vendor/js/bootstrap.bundle.min.js"></script>
<script>
document
.getElementById("sidebarToggle")
.addEventListener("click", function () {
document.getElementById("sidebar").classList.toggle("collapsed");
document.getElementById("content").classList.toggle("expanded");
});
</script>
</body>
</html>