mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-06-02 07:42:51 +02:00
42 lines
1.5 KiB
HTML
42 lines
1.5 KiB
HTML
{% load static django_htmx %}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{% block title %}Character Sheet{% endblock %}</title>
|
|
<link href="{% static "vendor/bootstrap-5.2.2.min.css" %}"
|
|
rel="stylesheet"
|
|
integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi"
|
|
crossorigin="anonymous">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
{% block content %}
|
|
{% include "common/hello-random.html" %}
|
|
{% endblock %}
|
|
</div>
|
|
|
|
<script src="{% static 'vendor/htmx-1.8.2.min.js' %}" defer></script>
|
|
{% django_htmx_script %}
|
|
{% if debug %}
|
|
<script type="javascript">
|
|
if (typeof window.htmx !== "undefined") {
|
|
htmx.on("htmx:afterSettle", function(detail) {
|
|
if (
|
|
typeof window.djdt !== "undefined"
|
|
&& detail.target instanceof HTMLBodyElement
|
|
) {
|
|
djdt.show_toolbar();
|
|
}
|
|
});
|
|
}
|
|
</script>
|
|
{% endif %}
|
|
<script src="{% static "vendor/bootstrap-5.2.2.bundle.min.js" %}"
|
|
integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3"
|
|
crossorigin="anonymous"></script>
|
|
</body>
|
|
</html>
|