Source

django-coverage / django_coverage / templates / index.html

Full commit
{% extends "base.html" %}
{% block title %}Test results - Index page{% endblock %}
{% block content %}
<div class="heade"><h1>Test results</h1></div>
<div class="coverage {{ summary.css }}">
<h1>Tests coverage info</h1>
<ul class="links">
  <a href="coverage/index.html">Covered modules</a>
  <a href="coverage/errors.html">Coverage errors</a>
  <a href="coverage/excludes.html">Coverage excludes</a>
</ul>
<dl class="coverage-summary {{ coverage_summary.css }}">
  <dt>Total lines:</dt><dd>{{ coverage_summary.total_lines }}</dd>
  <dt>Covered lines:</dt><dd>{{ coverage_summary.executed_lines }}</dd>
  <dt>Uncovered</dt><dd>{{ coverage_summary.excluded_lines }}</dd>
  <dt>% coverage</dt><dd>{{ coverage_summary.coverage_percent }}</dd>
</dl>
</div>
<p>There are {{ summary.testsRun }} in {{ TestTime }}</p>
<ol class="results">
{% for group in result_list %}
  <li class="{{ group.classes }}"><div class="group">{{ group.name }}</div>
  <ol>{% for item in group.items %}
    <li class="{{ item.result_class }}">{{ item.name }}
    {% if item.data %}<a href="#{{ item.class_name }}-{{ item.name }}">details</a><pre id="{{ item.class_name }}-{{ item.name }}">{{ item.data|escape }}</pre>{% endif %}
    </li>{% endfor %}</ol>
  </li>
{% endfor %}
</ol>
</div class="footer"><p>Report created {{ creation_time }} by {{ report_generator }}<p></div>
{% endblock %}