[gnome-continuous] build.gnome.org: display inprogress tasks on next row
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] build.gnome.org: display inprogress tasks on next row
- Date: Wed, 14 May 2014 11:06:05 +0000 (UTC)
commit 566bcbacebb94c55dc204c7fa61de62c5c1ad06d
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Wed May 14 13:05:53 2014 +0200
build.gnome.org: display inprogress tasks on next row
extras/build.gnome.org/index.html | 27 +++++++++++++++------------
1 files changed, 15 insertions(+), 12 deletions(-)
---
diff --git a/extras/build.gnome.org/index.html b/extras/build.gnome.org/index.html
index 82db7c6..e9cb7f0 100644
--- a/extras/build.gnome.org/index.html
+++ b/extras/build.gnome.org/index.html
@@ -18,18 +18,21 @@
<div class='container-fluid'>
<div ng-controller="ContinuousHomeCtrl" id="sidebar" class="nav nav-sidebar row col-sm-3 col-md-2"
role="navigation">
- <ul class="list-group">
- <li ng-repeat="build in builds" class='list-group-item list-group-item-success' ng-class="{
- 'list-group-item-danger': build.failed.indexOf('resolve') > -1,
- 'list-group-item-danger': build.failed.indexOf('build') > -1,
- 'list-group-item-warning': build.failed.indexOf('smoketest') > -1,
- 'list-group-item-warning': build.failed.indexOf('smoketest-classic') > -1}"
- >
- <a href="#/build/{{build.name}}">Build {{build['name']}}</a>
- <span class='badge btn-warning' ng-if='build.failed.length > 0 && build.inprogress.length ==
0'>!</span>
- <span class='badge btn-info' ng-if='build.inprogress.length > 0'>{{ build.inprogress.join(' ')
}}</span>
- </li>
- </ul>
+ <div class="list-group">
+ <div ng-repeat="build in builds" class='list-group-item list-group-item-success' ng-class="{
+ 'list-group-item-danger': build.failed.indexOf('resolve') > -1,
+ 'list-group-item-danger': build.failed.indexOf('build') > -1,
+ 'list-group-item-warning': build.failed.indexOf('smoketest') > -1,
+ 'list-group-item-warning': build.failed.indexOf('smoketest-classic') > -1}"
+ >
+ <a href="#/build/{{build.name}}">
+ <div>Build {{build['name']}}
+ <span class='badge btn-warning pull-right' ng-if='build.failed.length > 0 &&
build.inprogress.length == 0'>!</span>
+ </div>
+ <div class='badge btn-info' ng-if='build.inprogress.length > 0'>{{ build.inprogress.join(' ')
}}</div>
+ </a>
+ </div>
+ </div>
</div>
<div ng-view class="content"></div>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]