Initial commit
This commit is contained in:
commit
24f0a28a3c
25 changed files with 3190 additions and 0 deletions
26
views/layout.hbs
Normal file
26
views/layout.hbs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{title}}</title>
|
||||
<script src="//unpkg.com/@alpinejs/persist" defer></script>
|
||||
<script src="//unpkg.com/@alpinejs/intersect" defer></script>
|
||||
<script src="//unpkg.com/alpinejs" defer></script>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="/stylesheets/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
{{#if flashes}}
|
||||
<div class="container position-absolute start-50 top-0 translate-middle-x pt-2" style="z-index: 5;">
|
||||
{{#each flashes}}
|
||||
<div class="alert alert-info alert-dismissible fade show" role="alert">
|
||||
{{this}}
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{{body}}}
|
||||
</body>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue