Files
Sebastian Gabrielsson 1625e4ec8f Migration to FastAPI is complete. Also added observability functionality to integrate with opentelemetry.
Migration includes:
* A move away from being a SPA to have actual endpoints
* Every page is generated via Jinja2Template
* Added observability class to export metrics and logs to opentelemetry to integrate with observability stack
* Let's database cache what the current status of all VMs are instead of using a dict to allow more multiple workers reading from a single source
* The vm status API check to proxmox not caches authentication header for an hour instead of requesting a new header everytime it makes a request every thirty seconds.
* Updated front end to be more WCAG compatible but it's still WIP
2026-05-21 15:44:03 +02:00

35 lines
882 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student Proxy Access</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<header>
<div class="header-title">{{ sitename }}</div>
<div class="header-user">{{ username }}</div>
</header>
<nav class="sidebar">
<div class="sidebarHeader">
{% block sidebarHeader %}{% endblock %}
</div>
<div class="sidebarList">
{% block sidebarList %}{% endblock %}
</div>
</nav>
<main class="content">
{% block content %}{% endblock %}
</main>
<script src="/static/scripts.js"></script>
{% block scripts %}{% endblock %}
</body>
</html>