Repository navigation
Expand file tree
/
Copy pathchanges_data.html
More file actions
50 lines (47 loc) · 2.3 KB
/
Copy pathchanges_data.html
File metadata and controls
50 lines (47 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<div id="contentnav">
{% comment %}Arrows are Bootstrap Icons arrow-left / arrow-right (MIT, twbs/icons){% endcomment %}
{% if prev %}<a id="previous" href="#" data-revision="{{ prev.rev }}" data-desc="{{ prev.desc }}"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16" aria-hidden="true" focusable="false"><path fill-rule="evenodd" d="M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8"/></svg>{{ prev.short_rev }}{% if prev.summary %} ({{ prev.summary }}){% endif %}</a>{% endif %}
{% if next %}<a id="next" href="#" data-revision="{{ next.rev }}" data-desc="{{ next.desc }}">{{ next.short_rev }}{% if next.summary %} ({{ next.summary }}){% endif %}<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16" aria-hidden="true" focusable="false"><path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8"/></svg></a>{% endif %}
</div>
<div class="leftcolumn">
{% include 'codespeed/changes_table.html' %}
</div>
<div class="rightcolumn">
<table class="revision">
<col/>
<col/>
<thead>
<tr>
<th colspan="2">Revision</th>
</tr>
</thead>
<tbody>
<tr class="commit-id">
<th class="infofirst">Commit</th>
<td>{% if rev.get_browsing_url %}<a href="{{ rev.get_browsing_url }}">{{ rev.commitid }}</a>{% else %}{{ rev.commitid }}{% endif %}</td>
</tr>
<tr class="date"><th class="infofirst">Date</td><td>{{ rev.date }}</td></tr>
{% if rev.branch.project.repo_type != "N" %}
<tr class="repo-path"><th class="infofirst">Repo</th><td>{{ rev.branch.project.repo_path }}</td></tr>
{% endif %}
</tbody>
</table>
{% if exe.project.repo_type != 'N' %}
<table class="revision">
<col/>
<col/>
<thead class="commits">
<tr>
<th colspan="2">Commit logs</th>
</tr>
</thead>
<tbody class="commits" data-commitid="{{ rev.id }}">
<tr><td colspan="2" style="text-align:center;">Loading...</td></tr>
</tbody>
<script type="text/javascript">
var el = $("tbody.commits");
el.load("logs/", "revisionid=" + el.data("commitid"));
</script>
</table>
{% endif %}
</div>