argos/argos/server/templates/base.html

73 lines
2.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Argos</title>
<link rel="shortcut icon"
href="{{ url_for('static', path='/logo.png') }}">
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible"
content="IE=Edge">
{% if refresh %}
<meta http-equiv="refresh"
content="{{ delay }}">
{% endif %}
<link rel="stylesheet"
href="{{ url_for('static', path='/styles.css') }}">
</head>
<body>
<header class="container">
<nav>
<ul>
<li>
<img src="{{ url_for('static', path='/logo-64.png') }}"
alt="">
</li>
<li>
<h1 id="title">Argos monitoring</h1>
</li>
</ul>
<ul>
<li>
<a href="{{ url_for('get_severity_counts_view') }}"
class="outline {{ 'contrast' if request.url == url_for('get_severity_counts_view') }}"
role="button">
Dashboard
</a>
<a href="{{ url_for('get_domains_view') }}"
class="outline {{ 'contrast' if request.url == url_for('get_domains_view') }}"
role="button">
Domains
</a>
<a href="{{ url_for('get_agents_view') }}"
class="outline {{ 'contrast' if request.url == url_for('get_agents_view') }}"
role="button">
Agents
</a>
</li>
</ul>
</nav>
</header>
<main class="container">
<div id="header">
{% block title %}
{% endblock title %}
</div>
<div id="content">
{% block content %}
{% endblock content %}
</div>
</main>
<footer class="text-center">
<a href="https://framasoft.frama.io/framaspace/argos/">Argos Panoptès</a>,
<a href="https://framagit.org/framasoft/framaspace/argos/-/blob/main/LICENSE">AGPLv3</a>
(<a href="https://framagit.org/framasoft/framaspace/argos">sources</a>)
<br/>
API documentation:
<a href="{{ url_for('get_severity_counts_view') }}docs">Swagger</a>
or
<a href="{{ url_for('get_severity_counts_view') }}redoc">Redoc</a>
</footer>
</body>
</html>