next change | 101:bb31b74cc331 |
previous change | 85:aafbc75a40ac |
Permissions: -rw-r--r--
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
|
|
46
46:0f45e02848a1
models: add Project.get_title() method, use it, test it
Anton Shestakov <av6@dwimlabs.net>
previous changes: 33:640477d35e0b
line |
diff
|
{% block title %}{{ project.get_title() }}{% end %} |
12
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"> |
46
46:0f45e02848a1
models: add Project.get_title() method, use it, test it
Anton Shestakov <av6@dwimlabs.net>
previous changes: 33:640477d35e0b
line |
diff
|
<h2><a href="{{ project.get_url() }}">{{ project.get_title() }}</a></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"> |
76
76:0bf0068a51dd
viewer: generate status badge codes for embedding
Anton Shestakov <av6@dwimlabs.net>
previous changes: 75:a784221a989b
line |
diff
|
{% include ui/codes.html %} |
12
12:2ea3583bd611
viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
<dl class="uk-description-list-horizontal list-terse"> |
83
83:4f16241937e7
viewer: move clone url to the top of the properties list in project.html
Anton Shestakov <av6@dwimlabs.net>
previous changes: 76:0bf0068a51dd
line |
diff
|
<dt>Clone URL:</dt> |
83:4f16241937e7
viewer: move clone url to the top of the properties list in project.html
Anton Shestakov <av6@dwimlabs.net>
previous changes: 76:0bf0068a51dd
line |
diff
|
<dd>{{ project.url }}</dd> |
33
33:640477d35e0b
viewer: don't show last check date if there are no checks
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:b3bf8932a839
line |
diff
|
{% if checks %} |
33:640477d35e0b
viewer: don't show last check date if there are no checks
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:b3bf8932a839
line |
diff
|
<dt>Last check:</dt> |
33:640477d35e0b
viewer: don't show last check date if there are no checks
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:b3bf8932a839
line |
diff
|
<dd>{% module Time(checks[0].finished) %}</dd> |
33:640477d35e0b
viewer: don't show last check date if there are no checks
Anton Shestakov <av6@dwimlabs.net>
previous changes: 31:b3bf8932a839
line |
diff
|
{% end %} |
12
12:2ea3583bd611
viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
</dl> |
84
84:4f2bfc44855a
viewer: don't break words in the tables at all
Anton Shestakov <av6@dwimlabs.net>
previous changes: 83:4f16241937e7
line |
diff
|
<table class="uk-table uk-table-middle uk-text-nowrap"> |
12
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> |
84
84:4f2bfc44855a
viewer: don't break words in the tables at all
Anton Shestakov <av6@dwimlabs.net>
previous changes: 83:4f16241937e7
line |
diff
|
<td>{% module Badges(check) %}</td> |
85
85:aafbc75a40ac
viewer: explain what does #X mean (it's a check)
Anton Shestakov <av6@dwimlabs.net>
previous changes: 84:4f2bfc44855a
line |
diff
|
<td><a href="{{ check.get_url() }}">check #{{ 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> |
86
86:f303a92328a5
viewer: but break commit message/author/date, when needed
Anton Shestakov <av6@dwimlabs.net>
previous changes: 85:aafbc75a40ac
line |
diff
|
<td class="uk-text-break"> |
12
12:2ea3583bd611
viewer: project view
Anton Shestakov <av6@dwimlabs.net>
previous changes:
line |
diff
|
<div>{{ change.message }}</div> |
75
75:a784221a989b
viewer: add proper markup to changeset date so it's picked up by moment.js
Anton Shestakov <av6@dwimlabs.net>
previous changes: 46:0f45e02848a1
line |
diff
|
<div>{{ change.author }}, {% module Time(change.date, False) %}</div> |
12
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 %} |