summaryrefslogtreecommitdiff
path: root/roles/monitoring/landingpage/templates/index.html.j2
blob: a9bb8acaa0d15aa60bd4124ec38ea3f135660565 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE HTML>
<html>
 <head>
  <title>{{ monitoring_landingpage_title }} - {{ host_name }}.{{ host_domain }}</title>
  <meta charset="utf-8">
 </head>
 <body style="padding-top: 5em; background-color: #eee; font-family: sans;">
  <div style="text-align:center; margin-left:auto; margin-right:auto;">
   <h1>{{ monitoring_landingpage_title }}</h1>
   <ul style="list-style-type: none;">
{% if 'prometheus' in monitoring_landingpage_services %}
     <li><a target='_blank' href='/prometheus/'>Prometheus</a></li>
{% endif %}
{% if 'alertmanager' in monitoring_landingpage_services %}
     <li><a target='_blank' href='/alertmanager/'>Prometheus Alertmanager</a></li>
{% endif %}
{% if 'grafana' in monitoring_landingpage_services %}
     <li><a target='_blank' href='/grafana/'>Grafana</a></li>
{% endif %}
   </ul>
   </div>
 </body>
</html>