Ajouter des fichiers et des modifications existants
This commit is contained in:
commit
4ea514650d
13 changed files with 1481 additions and 0 deletions
21
templates/base.html
Normal file
21
templates/base.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link href="/assets/main.css" rel="stylesheet" />
|
||||
<link href="https://rsms.me/inter/inter.css" rel="stylesheet" />
|
||||
<!-- Allow any inheriting page to set it's own title -->
|
||||
<title>{% block title %}{{ title }}{% endblock %}</title>
|
||||
|
||||
<!-- htmx from the unpkg CDN - your mileage may vary -->
|
||||
<script src="https://unpkg.com/htmx.org@1.9.10"></script>
|
||||
|
||||
<!-- Allow any inheriting page to extend head with additional assets -->
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
<body hx-boost="true">
|
||||
<div id="content">
|
||||
<!-- Inheriting pages will have their content rendered here, similar to app root in React, Angular, etc. -->
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue