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

29 lines
677 B
HTML

{% 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">
<img src="/metrics/{{ metric }}/{{ vm['id'] }}/{{ duration }}/l"/>
</div>
{% endblock %}
{% block pagesource %}/templates/display-metric.html{% endblock %}