next change | 239:d63d57df465c |
previous change | 120:21ef016ac29d |
Permissions: -rw-r--r--
8
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
{% extends "base.html" %} |
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
|
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
{% block title %}Recently checked projects{% end %} |
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
|
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
{% block content %} |
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
<div class="uk-container uk-container-center uk-margin-large-top"> |
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
<h2>Recently checked projects</h2> |
84
84:4f2bfc44855a
viewer: don't break words in the tables at all
Anton Shestakov <av6@dwimlabs.net>
previous changes: 46:0f45e02848a1
line |
diff
|
<table class="uk-table uk-table-middle uk-text-nowrap"> |
8
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
<tbody> |
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
{% for check in checks %} |
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
{% set project = check.project %} |
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
{% set change = check.change %} |
109
109:6cbbab799f3c
viewer: provide change/branch links for projects (i.e. on Bitbucket)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 103:679aa3a62795
line |
diff
|
{% set adapter = project.get_adapter() %} |
8
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
<tr> |
84
84:4f2bfc44855a
viewer: don't break words in the tables at all
Anton Shestakov <av6@dwimlabs.net>
previous changes: 46:0f45e02848a1
line |
diff
|
<td>{% module Badges(check) %}</td> |
116
116:fe38aeec943b
viewer: move project name closed to the check result on /
Anton Shestakov <av6@dwimlabs.net>
previous changes: 115:2311bfce57b4
line |
diff
|
<td class="uk-width-1-1 uk-text-break"><a href="{{ project.get_url() }}">{{ project.get_title() }}</a></td> |
115
115:2311bfce57b4
viewer: remove Check.get_url() method for not being very useful
Anton Shestakov <av6@dwimlabs.net>
previous changes: 109:6cbbab799f3c
line |
diff
|
<td><a href="{{ project.get_url() }}/{{ check.ordinal }}">check #{{ check.ordinal }}</a></td> |
109
109:6cbbab799f3c
viewer: provide change/branch links for projects (i.e. on Bitbucket)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 103:679aa3a62795
line |
diff
|
<td><a href="{{ adapter.get_branch_url(change) }}">{{ change.branch }}</a></td> |
120
120:21ef016ac29d
models: revs are not unique, can be nulls
Anton Shestakov <av6@dwimlabs.net>
previous changes: 116:fe38aeec943b
line |
diff
|
<td><a href="{{ adapter.get_commit_url(change) }}">{% if change.rev is not None %}{{ change.rev }}:{% end %}{{ change.node[:12] }}</a></td> |
25
25:52cac2f85af5
viewer: the two existing UI modules can just use positional arguments
Anton Shestakov <av6@dwimlabs.net>
previous changes: 24:16c6f6907c16
line |
diff
|
<td>{% module Time(check.finished) %}</td> |
27
27:9fa79edc2e45
viewer: use new get_duration() method to format time taken by a check
Anton Shestakov <av6@dwimlabs.net>
previous changes: 26:8c1ce7d12350
line |
diff
|
<td>{{ check.get_duration() }}</td> |
8
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
</tr> |
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
{% end %} |
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
</tbody> |
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
</table> |
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
</div> |
8:12e714447f64
viewer: add basic index page
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
{% end %} |