2022-10-30 10:43:35 +01:00
|
|
|
{% load static django_htmx tailwind_tags %}
|
2022-10-28 22:16:23 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2022-10-30 10:12:49 +01:00
|
|
|
<title>{% block title %}Character Sheet{% endblock %}</title>
|
2022-10-30 10:43:35 +01:00
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
|
|
{% tailwind_preload_css %}
|
|
|
|
{% tailwind_css %}
|
2022-10-28 22:16:23 +02:00
|
|
|
</head>
|
2022-10-30 10:43:35 +01:00
|
|
|
|
2022-10-28 22:16:23 +02:00
|
|
|
<body>
|
2022-10-30 10:12:49 +01:00
|
|
|
{% block content %}
|
|
|
|
{% include "common/hello-random.html" %}
|
|
|
|
{% endblock %}
|
2022-10-28 22:16:23 +02:00
|
|
|
<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 %}
|
|
|
|
</body>
|
|
|
|
</html>
|