refactor: update templates for new frontend structure

- Extract inline JavaScript from index.templ
- Replace with external script include for theme.js
- All templates reference /static/ for assets
- Cleaner separation of concerns between markup and logic
This commit is contained in:
2026-01-29 14:09:29 -05:00
parent 16cb9bd89a
commit b887c38abf
7 changed files with 8 additions and 53 deletions
+1
View File
@@ -7,6 +7,7 @@ templ AdminLibrary(user User) {
<meta charset="UTF-8">
<title>Library Management - Bookmann</title>
<script src="/static/htmx.min.js"></script>
<script src="/static/toast.js"></script>
<link href="/static/style.css" rel="stylesheet">
<style>
:root {