Anton Shestakov <av6@dwimlabs.net>, Tue, 14 Jun 2016 13:37:38 +0800
viewer: add check view
templates/index.html
Permissions: -rw-r--r--
{% extends "base.html" %} {% block title %}Recently checked projects
{% end %} <div class="uk-container uk-container-center uk-margin-large-top"> <h2>Recently checked projects
</h2> <table class="uk-table uk-table-middle"> {% for check in checks %} {% set project = check.project %} {% set change = check.change %} <td>{{ check.errors }} error(s),
{{ check.warnings }} warning(s)
</td> <td>#
{{ check.ordinal }}</td> <a href="/{{ project.domain }}/{{ project.user or '-' }}/{{ project.name }}"> <td>{{ change.rev }}:
{{ change.node[:12] }} {{ change.branch }}</td> <td>{{ check.started }}</td> <td>{{ check.finished }}</td> <td>{{ check.finished - check.started }}</td>