Add report and index links when a run fails

This commit is contained in:
Gaël Métais
2014-12-29 22:06:33 +01:00
parent c55a83cbe2
commit f601044645
3 changed files with 11 additions and 36 deletions
+3 -21
View File
@@ -1,25 +1,7 @@
.status {
margin-top: 2em;
margin: 2em;
font-size: 2.5em;
}
@-webkit-keyframes rotating {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
}
}
@keyframes rotating {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.waiting .icon-lab {
-webkit-animation: rotating 3s linear 0s infinite;
-webkit-transform: translateZ(0);
animation: rotating 3s linear 0s infinite;
.queueLink {
color: #FFF;
}
+3 -14
View File
@@ -1,19 +1,8 @@
.status {
margin-top: 2em;
margin: 2em;
font-size: 2.5em;
}
@-webkit-keyframes rotating {
from { -webkit-transform: rotate(0deg); }
to { -webkit-transform: rotate(360deg); }
}
@keyframes rotating {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.waiting .icon-lab {
-webkit-animation: rotating 3s linear 0s infinite;
-webkit-transform: translateZ(0);
animation: rotating 3s linear 0s infinite;
.queueLink {
color: #FFF;
}
+5 -1
View File
@@ -1,6 +1,10 @@
<p>Tested url: &nbsp; <a href="{{url}}" target="_blank" class="testedUrl">{{url}}</a></p>
<div class="status" ng-if="status.statusCode == 'failed'">Test failed</div>
<div ng-if="status.statusCode == 'failed'">
<div class="status">Test failed :(</div>
<p><a class="queueLink" href="https://github.com/gmetais/YellowLabTools/issues" target="_blank">Report a bug on GitHub</a></p>
<p><a class="queueLink" href="/">Back to index</a></p>
</div>
<div class="status" ng-if="status.statusCode == 'awaiting'">
<ng-pluralize count="status.position" when="{
'one': 'Waiting behind 1 other test',