mirror of
https://github.com/YunoHost/tartiflette.git
synced 2024-09-03 20:06:08 +02:00
Add a link to the app repo
This commit is contained in:
parent
b88754ee70
commit
6f43325e42
3 changed files with 24 additions and 11 deletions
|
@ -11,7 +11,7 @@
|
||||||
a { color:#007bff; }
|
a { color:#007bff; }
|
||||||
|
|
||||||
.ci-app-table > thead, .ci-app-table > tbody { display: block; width: 100%;}
|
.ci-app-table > thead, .ci-app-table > tbody { display: block; width: 100%;}
|
||||||
.ci-app-table { margin: 0 auto; margin-top: 100px; max-width: 1070px; overflow-x: visible; }
|
.ci-app-table { margin: 0 auto; margin-top: 100px; max-width: 1150px; overflow-x: visible; }
|
||||||
.ci-app-table th, .ci-app-table td { display: block; border: none; padding; 0px;float: left; height:33px; width: 33px; margin: 5px; }
|
.ci-app-table th, .ci-app-table td { display: block; border: none; padding; 0px;float: left; height:33px; width: 33px; margin: 5px; }
|
||||||
|
|
||||||
th.ci-app-test-title
|
th.ci-app-test-title
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<h2 class="text-center my-3">{{ app.name.title() }}</h2>
|
<h2 class="text-center my-3">{{ app.name.title() }}
|
||||||
|
<a href="{{ app.repo }}" style="font-size:15px">
|
||||||
|
<span class="oi oi-external-link text-info"
|
||||||
|
aria-hidden="true"
|
||||||
|
title="To the Git repo!"></span>
|
||||||
|
</a></h2>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="mx-auto">
|
<div class="mx-auto">
|
||||||
|
@ -41,7 +46,7 @@
|
||||||
<span class="daysAgo" timestamp="{{ result.date.timestamp() }}" href="{{ result.url }}"></span>
|
<span class="daysAgo" timestamp="{{ result.date.timestamp() }}" href="{{ result.url }}"></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if result.commit != result.app.master_commit %}
|
{% if result.commit != result.app.master_commit %}
|
||||||
<span class="oi oi-clock text-warning"
|
<span class="oi oi-clock text-warning"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
title="This test is outdated : a more recent commit exists in master than the one tested."></span>
|
title="This test is outdated : a more recent commit exists in master than the one tested."></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -70,7 +75,7 @@
|
||||||
Commit is not up to date on {{ app.list.name }}.json !
|
Commit is not up to date on {{ app.list.name }}.json !
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if app.testing_diff > 0 %}
|
{% if app.testing_diff > 0 %}
|
||||||
<p class="card-text text-info">
|
<p class="card-text text-info">
|
||||||
<span class="oi oi-fork" aria-hidden="true"></span>
|
<span class="oi oi-fork" aria-hidden="true"></span>
|
||||||
|
@ -94,7 +99,7 @@
|
||||||
No issues opened for this app !
|
No issues opened for this app !
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if app.opened_prs > 0 %}
|
{% if app.opened_prs > 0 %}
|
||||||
<p class="card-text text-info">
|
<p class="card-text text-info">
|
||||||
<span class="oi oi-beaker" aria-hidden="true"></span>
|
<span class="oi oi-beaker" aria-hidden="true"></span>
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
<th class="ci-app-test-title"><div><span>{{ test }}</span></div></th>
|
<th class="ci-app-test-title"><div><span>{{ test }}</span></div></th>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<th class="ci-app-test-title"></th>
|
<th class="ci-app-test-title"></th>
|
||||||
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -26,8 +27,8 @@
|
||||||
<span class="official-star oi oi-star" title="Official" aria-hidden="true"></span>
|
<span class="official-star oi oi-star" title="Official" aria-hidden="true"></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<a href="{{ url_for('main.appci_app', app=result.app.name) }}">
|
<a href="{{ url_for('main.appci_app', app=result.app.name) }}">
|
||||||
<span title="App">
|
<span class="font-weight-bold" title="More tests / info for this app">
|
||||||
<strong>{{ result.app.name }}</strong></span>
|
{{ result.app.name }}</span>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td class="ci-app-level" value="{{ result.level }}">
|
<td class="ci-app-level" value="{{ result.level }}">
|
||||||
|
@ -38,28 +39,35 @@
|
||||||
<div title="{{ test }}" value="{{ r }}"></div>
|
<div title="{{ test }}" value="{{ r }}"></div>
|
||||||
</td>
|
</td>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<td class="ci-app-test-info">
|
<td class="ci-app-test-info px-0">
|
||||||
{% if result.date == None %}
|
{% if result.date == None %}
|
||||||
<span class="daysAgo" href="{{ result.url }}">???</span>
|
<span class="daysAgo" href="{{ result.url }}">???</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="daysAgo" timestamp="{{ result.date.timestamp() }}" href="{{ result.url }}"></span>
|
<span class="daysAgo" timestamp="{{ result.date.timestamp() }}" href="{{ result.url }}"></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if result.commit != result.app.master_commit %}
|
{% if result.commit != result.app.master_commit %}
|
||||||
<span class="oi oi-clock text-warning"
|
<span class="oi oi-clock text-warning"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
title="This test is outdated : a more recent commit exists in master than the one tested."></span>
|
title="This test is outdated : a more recent commit exists in master than the one tested."></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if result.app.public_commit != result.app.master_commit %}
|
{% if result.app.public_commit != result.app.master_commit %}
|
||||||
<span class="oi oi-warning text-warning"
|
<span class="oi oi-warning text-warning"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
title="Master commit is not up to date with {{ result.app.list.name }}.json !"></span>
|
title="Master commit is not up to date with {{ result.app.list.name }}.json !"></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if result.app.testing_diff > 0 %}
|
{% if result.app.testing_diff > 0 %}
|
||||||
<span class="oi oi-fork text-info"
|
<span class="oi oi-fork text-info"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
title="An active testing branch exists for this app."></span>
|
title="An active testing branch exists for this app."></span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
<td class="px-0">
|
||||||
|
<a href="{{ result.app.repo }}">
|
||||||
|
<span class="oi oi-external-link text-info"
|
||||||
|
aria-hidden="true"
|
||||||
|
title="To the Git repo!"></span>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in a new issue