31:b3bf8932a839
Anton Shestakov <av6@dwimlabs.net>, 2016-06-17
viewer: don't wrap text in columns with status badges

next change 33:640477d35e0b
previous change 29:ac35779a1585

templates/project.html

Permissions: -rw-r--r--

Other formats: Feeds:
12
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
{% extends "base.html" %}
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
{% block title %}{{ project.name }}{% end %}
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
{% block content %}
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<div class="uk-container uk-container-center uk-margin-large-top">
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<h2>{{ project.name }}</h2>
29
29:ac35779a1585 viewer: add project status badge on the project page
Anton Shestakov <av6@dwimlabs.net>
previous changes: 28:46b429c6500d
line | diff
<img src="{{ project.get_url() }}/status.svg" alt="Lint Status">
12
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<dl class="uk-description-list-horizontal list-terse">
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<dt>Last check:</dt>
28
28:46b429c6500d viewer: use positional arguments for UI modules (hopefully the last bit)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 27:9fa79edc2e45
line | diff
<dd>{% module Time(checks[0].finished) %}</dd>
12
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<dt>Clone URL:</dt>
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<dd>{{ project.url }}</dd>
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</dl>
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<table class="uk-table uk-table-middle">
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<tbody>
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
{% for check in checks %}
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
{% set change = check.change %}
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<tr>
31
31:b3bf8932a839 viewer: don't wrap text in columns with status badges
Anton Shestakov <av6@dwimlabs.net>
previous changes: 29:ac35779a1585
line | diff
<td class="uk-text-nowrap">{% module Badges(check) %}</td>
26
26:8c1ce7d12350 viewer: use new get_url() method for project and check links
Anton Shestakov <av6@dwimlabs.net>
previous changes: 25:52cac2f85af5
line | diff
<td><a href="{{ check.get_url() }}">#{{ check.ordinal }}</a></td>
12
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<td>{{ change.rev }}:{{ change.node[:12] }} {{ change.branch }}</td>
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<td>
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<div>{{ change.message }}</div>
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
<div>{{ change.author }}, <time>{{ change.date }}</time></div>
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</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.started) %}</td>
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>
12
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</tr>
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
{% end %}
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</tbody>
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</table>
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
</div>
12:2ea3583bd611 viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line | diff
{% end %}