projects
/
recipes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Beginning of frontend + recipe editing
[recipes.git]
/
backend
/
templates
/
base.html
diff --git
a/backend/templates/base.html
b/backend/templates/base.html
index
2ca77df
..
6b8e1ad
100644
(file)
--- a/
backend/templates/base.html
+++ b/
backend/templates/base.html
@@
-8,10
+8,15
@@
</head>
<body>
</head>
<body>
- <div class="header-container"><h1><a href="/">~~ Recettes de cuisine ~~</a></h1><div><a href="/signinform" >Sign in</a> / <a href="/signup">Sign Up</a></div></div>
- <div class="main-container">
- {% block main_container %}{% endblock %}
- </div>
+ <script type="module">
+ import init from '/static/frontend.js';
+ async function run() {
+ await init();
+ }
+ run();
+ </script>
+
+ {% block body_container %}{% endblock %}
<div class="footer-container">gburri - 2022</div>
</body>
</html>
\ No newline at end of file
<div class="footer-container">gburri - 2022</div>
</body>
</html>
\ No newline at end of file