26 lines
1.0 KiB
HTML
26 lines
1.0 KiB
HTML
{% extends 'base.html' %}
|
|
{% load i18n %}
|
|
{% block title %}{% trans 'Monitoring' %}{% endblock %}
|
|
|
|
{% block page_header %}
|
|
{% include 'horizon/common/_page_header.html' with title=_("Monitoring") %}
|
|
{% endblock page_header %}
|
|
{% load url from future %}
|
|
{% block main %}
|
|
<div style="padding: 3px;">
|
|
{% for dashboard in dashboards %}
|
|
<a target={{ dashboard.title }} href="/static/grafana/index.html#/dashboard/file/{{ dashboard.fileName }}?api={{api}}" class="btn btn-default btn-sm">
|
|
<span class="glyphicon glyphicon-dashboard"></span>
|
|
{% trans dashboard.title %}
|
|
</a>
|
|
{% endfor %}
|
|
{% if can_access_logs and enable_kibana_button %}
|
|
<a target="dashboard" href="{% url 'horizon:monitoring:overview:kibana_proxy' url='/' %}" class="btn btn-default btn-sm">
|
|
<span class="glyphicon glyphicon-dashboard"></span>
|
|
Log Management
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
{% include 'monitoring/overview/monitor.html' %}
|
|
{% endblock %}
|