Reorder the columns in the builds list

This commit is contained in:
Joseph Schorr 2015-03-18 12:13:07 -04:00
parent ced7c0ab49
commit 704b60e5ce

View file

@ -40,15 +40,15 @@
<td ng-class="tablePredicateClass('id', options.predicate, options.reverse)"> <td ng-class="tablePredicateClass('id', options.predicate, options.reverse)">
<a href="javascript:void(0)" ng-click="orderBy('id')">Build ID</a> <a href="javascript:void(0)" ng-click="orderBy('id')">Build ID</a>
</td> </td>
<td ng-class="tablePredicateClass('tags', options.predicate, options.reverse)">
<a href="javascript:void(0)" ng-click="orderBy('tags')">Tags</a>
</td>
<td ng-class="tablePredicateClass('commit_sha', options.predicate, options.reverse)"> <td ng-class="tablePredicateClass('commit_sha', options.predicate, options.reverse)">
<a href="javascript:void(0)" ng-click="orderBy('commit_sha')">Triggered By</a> <a href="javascript:void(0)" ng-click="orderBy('commit_sha')">Triggered By</a>
</td> </td>
<td ng-class="tablePredicateClass('started_datetime', options.predicate, options.reverse)"> <td ng-class="tablePredicateClass('started_datetime', options.predicate, options.reverse)">
<a href="javascript:void(0)" ng-click="orderBy('started_datetime')">Date Started</a> <a href="javascript:void(0)" ng-click="orderBy('started_datetime')">Date Started</a>
</td> </td>
<td ng-class="tablePredicateClass('tags', options.predicate, options.reverse)">
<a href="javascript:void(0)" ng-click="orderBy('tags')">Tags</a>
</td>
<td class="options-col"></td> <td class="options-col"></td>
</thead> </thead>
@ -57,15 +57,15 @@
<td> <td>
<a href="/repository/{{ repository.namespace }}/{{ repository.name }}/build/{{ build.id }}">{{ build.id.substr(0, 8) }}</a> <a href="/repository/{{ repository.namespace }}/{{ repository.name }}/build/{{ build.id }}">{{ build.id.substr(0, 8) }}</a>
</td> </td>
<td>
<div class="triggered-build-description" build="build"></div>
</td>
<td>{{ build.started | amCalendar }}</td>
<td> <td>
<span class="building-tag" ng-repeat="tag in build.building_tags"> <span class="building-tag" ng-repeat="tag in build.building_tags">
<i class="fa fa-tag"></i>{{ tag }} <i class="fa fa-tag"></i>{{ tag }}
</span> </span>
</td> </td>
<td>
<div class="triggered-build-description" build="build"></div>
</td>
<td>{{ build.started | amCalendar }}</td>
</tr> </tr>
</table> </table>
</div> </div>