example-in-django-waiting-r.../waiting_room/templates/base.html

22 lines
740 B
HTML
Raw Normal View History

2024-11-05 16:52:47 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>{% block title %}Waiting Room{% endblock %}</title>
<script src="https://unpkg.com/htmx.org@2.0.3" integrity="sha384-0895/pl2MU10Hqc6jd4RvrthNlDiE9U1tWmX7WRESftEDRosgxNsQG/Ze9YMRzHq" crossorigin="anonymous"></script>
<script src="https://unpkg.com/htmx-ext-ws@2.0.1/ws.js"></script>
2024-11-07 08:17:10 +01:00
<script>
if (!localStorage.getItem('userId')) {
localStorage.setItem('userId', '{{ user_id }}');
}
</script>
2024-11-05 16:52:47 +01:00
</head>
<body>
<main>
2024-11-07 08:17:10 +01:00
{% include 'components/tasks/layout.html' %}
{% block content %}{% endblock %}
2024-11-05 16:52:47 +01:00
</main>
</body>
</html>