1625e4ec8f
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
26 lines
456 B
HTML
26 lines
456 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Dashboard{% endblock %}
|
|
|
|
{% block sidebar %}
|
|
|
|
{% block sidebarHeader %}
|
|
<h2>Virtual Machines</h2>
|
|
{% endblock %}
|
|
|
|
{% block sidebarList %}
|
|
<ul>
|
|
{% for vm in vms %}
|
|
<li><a href="/vm/{{ vm.hostname }}">{{ vm.hostname }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %}
|
|
|
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Dashboard</h1>
|
|
|
|
Welcome
|
|
{% endblock %} |