diff --git a/promgen/templates/base.html b/promgen/templates/base.html index ad14b0ed8..67841d88e 100644 --- a/promgen/templates/base.html +++ b/promgen/templates/base.html @@ -5,7 +5,7 @@ - {% block title %}Promgen {{ VERSION }}{% endblock %} + {% block title %}Promgen {{ VERSION }}{% endblock %} diff --git a/promgen/templates/promgen/ajax_clause_check.html b/promgen/templates/promgen/ajax_clause_check.html index f4b344ab8..cb756c7d8 100644 --- a/promgen/templates/promgen/ajax_clause_check.html +++ b/promgen/templates/promgen/ajax_clause_check.html @@ -1,6 +1,6 @@ {% load i18n %} {% load promgen %} -
+
Query Result

Query Duration: {{ duration }}

diff --git a/promgen/templates/promgen/ajax_exporter.html b/promgen/templates/promgen/ajax_exporter.html index 5c70b4a1c..e54ada290 100644 --- a/promgen/templates/promgen/ajax_exporter.html +++ b/promgen/templates/promgen/ajax_exporter.html @@ -1,4 +1,4 @@ -
+
diff --git a/promgen/templates/promgen/alert_detail.html b/promgen/templates/promgen/alert_detail.html index 765edda47..ba62084a1 100644 --- a/promgen/templates/promgen/alert_detail.html +++ b/promgen/templates/promgen/alert_detail.html @@ -6,7 +6,7 @@
    {% for error in alert.alerterror_set.all %} -
{% for alert in data.alerts %} - + - + {% endfor %}
URL
{{alert.startsAt}}{{alert.startsAt}} {{alert.generatorURL|urlizetrunc:100}}{{alert.generatorURL|urlizetrunc:100}}
Raw Data -
{{alert.json|pretty_json}}
+
{{alert.json|pretty_json}}
{% endblock %} diff --git a/promgen/templates/promgen/alert_list.html b/promgen/templates/promgen/alert_list.html index 9c8c491f2..7a2ca064c 100644 --- a/promgen/templates/promgen/alert_list.html +++ b/promgen/templates/promgen/alert_list.html @@ -26,16 +26,16 @@ {% for alert in alert_list %} {% ifchanged alert.created|date %} - {{ alert.created|date }} + {{ alert.created|date }} {% endifchanged %} - {{ alert.created|timezone:TIMEZONE }} - {{alert.json.commonLabels.alertname}} - {{alert.json.commonLabels.datasource}} - {{alert.json.commonLabels.service}} - {{alert.json.commonLabels.project}} - {{alert.json.commonLabels.job}} + {{ alert.created|timezone:TIMEZONE }} + {{alert.json.commonLabels.alertname}} + {{alert.json.commonLabels.datasource}} + {{alert.json.commonLabels.service}} + {{alert.json.commonLabels.project}} + {{alert.json.commonLabels.job}} {{alert.sent_count}} {{alert.error_count}} diff --git a/promgen/templates/promgen/audit_list.html b/promgen/templates/promgen/audit_list.html index b9f9d9bc0..941b45f83 100644 --- a/promgen/templates/promgen/audit_list.html +++ b/promgen/templates/promgen/audit_list.html @@ -7,7 +7,7 @@

Log

{% if request.GET %} -