aboutsummaryrefslogtreecommitdiffstats
path: root/yocto_console_view/src/module/console.tpl.jade
blob: d5c12f16c7e8c4c2c0a2965540660d90d21799e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.console.no-select
    .load-indicator(ng-hide='c.builds.$resolved && c.changes.$resolved && c.buildrequests.$resolved && c.buildsets.$resolved')
        .spinner
            i.fa.fa-circle-o-notch.fa-spin.fa-2x
            p loading
    div(ng-show="c.changes.$resolved && c.filtered_changes.length==0")
        p No changes. Console view needs changesource to be setup, and
            a(href="#changes") changes
            | to be in the system.

    table.table.table-striped.table-bordered(ng-hide="c.filtered_changes.length==0" ng-class="{'table-fixedwidth': c.isBigTable()}")
        tr.first-row
            th.row-header(ng-style="{'width': c.getRowHeaderWidth()}")
                i.fa.fa-plus-circle.pull-left(ng-click='c.openAll()' uib-tooltip='Open information for all changes' uib-tooltip-placement='right')
                i.fa.fa-minus-circle.pull-left(ng-click='c.closeAll()' uib-tooltip='Close information for all changes' uib-tooltip-placement='right')
            th.column(ng-repeat="builder in c.builders")
                span.builder(ng-style="{'margin-top': c.getColHeaderHeight()}")
                    a(ng-href='#/builders/{{ builder.builderid }}'
                      ng-bind='builder.name')
        tr.tag_row(ng-repeat="tag_line in c.tag_lines")
            td.row-header
            td(ng-repeat="tag in tag_line" colspan="{{tag.colspan}}")
                span(uib-tooltip='{{ tag.tag }}' ng-style='{width: tag.colspan*50}') {{tag.tag}}
        tr(ng-repeat="change in c.filtered_changes | orderBy: ['-when_timestamp'] track by change.changeid")
            td
                yoctochangedetails(change="change")
            td.column(ng-repeat="builder in change.builders"
                      title="{{builder.name}}")
                a(ng-repeat="build in builder.builds | orderBy: ['number']")
                    span.badge-status(ng-if='build.buildid'
                                  ng-class="c.results2class(build, 'pulse')"
                                  ng-click='c.selectBuild(build)')
                        | {{ build.number }}