feat(base.html): add base template

This commit is contained in:
2026-03-12 20:34:17 +01:00
parent 14ea136fbb
commit 6f4bc3aa0f

View File

@@ -0,0 +1,39 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% block title %}{% endblock %} judas</title>
<link
rel="stylesheet"
href="{{ url_for('static', filename='css/dist/output.css') }}"
/>
<link rel="stylesheet" href="https://cdn-uicons.flaticon.com/2.6.0/uicons-regular-rounded/css/uicons-regular-rounded.css" />
<link rel="stylesheet" href="https://cdn-uicons.flaticon.com/2.6.0/uicons-regular-straight/css/uicons-regular-straight.css" />
<link rel="stylesheet" href="https://cdn-uicons.flaticon.com/2.6.0/uicons-solid-rounded/css/uicons-solid-rounded.css" />
<link rel="stylesheet" href="https://cdn-uicons.flaticon.com/2.6.0/uicons-solid-straight/css/uicons-solid-straight.css" />
<link rel="stylesheet" href="https://cdn-uicons.flaticon.com/2.6.0/uicons-bold-rounded/css/uicons-bold-rounded.css" />
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script src="https://cdn.socket.io/4.8.1/socket.io.min.js"></script>
<script>
const socket = io();
socket.on("connect", () => {
console.log("Connected to server");
$("#no-connection-message").hide();
});
socket.on("disconnect", () => {
console.log("Disconnected from server");
$("#no-connection-message").show();
});
</script>
</head>
<body class="bg-ctp-base text-ctp-text h-screen">
{% include "base/header.html" %}
<!-- -->
{% block content %}{% endblock %}
<!-- -->
{% block scripts %}{% endblock %}
</body>
</html>