capsul-flask/capsulflask/templates/display-metric.html

29 lines
677 B
HTML
Raw Permalink Normal View History

2020-05-13 05:28:53 +00:00
{% extends 'base.html' %}
{% block title %}{{ vm['id'] }} - {{ metric }} - {{ duration }}{% endblock %}
{% block content %}
<div class="row half-margin">
<h1>{{ vm['id'] }} - {{ metric }} - {{ duration }}</h1>
</div>
<div class="row third-margin">
{% for d in durations %}
<a href="/metrics/html/{{ metric }}/{{ vm['id'] }}/{{ d }}">
{% if d == duration %}
<span class="code">{{ d }}</span>
{% else %}
{{ d }}
{% endif %}
</a>
{% endfor %}
</div>
<div class="row">
2020-05-13 05:34:38 +00:00
<img src="/metrics/{{ metric }}/{{ vm['id'] }}/{{ duration }}/l"/>
2020-05-13 05:28:53 +00:00
</div>
{% endblock %}
{% block pagesource %}/templates/display-metric.html{% endblock %}