Add a link to the app repo

This commit is contained in:
Alexandre Aubin 2018-01-30 13:37:27 -05:00
parent b88754ee70
commit 6f43325e42
3 changed files with 24 additions and 11 deletions

View file

@ -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

View file

@ -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">

View file

@ -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,7 +39,7 @@
<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 %}
@ -60,6 +61,13 @@
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>