summaryrefslogtreecommitdiff
path: root/partials/builder_detail.html
blob: 8eae351274477b92e2fe40691c4572e4df42b899 (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
<div class="container">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title"><strong>{{builder.name}}</strong></h3>
        </div>
        <div class="panel-body">
            <p><strong>State:</strong> {{builder.data.state}}</p>
            <p><strong>Recent Builds:</strong></p>
            <table class="table table-striped table-hover">
            <thead><strong>
                <td>Time</td>
                <td>Revision</td>
                <td>Result</td>
                <td>Number</td>
            </strong>
            </thead>
            <tbody>
                <!-- TODO: Load all builds into $scope.builds rather than
                           using builder.data.cachedBuilds -->
                <tr ng-repeat="build in builder.data.cachedBuilds">
                    <td>build.time</td>
                    <td>build.revision</td>
                    <td>build.result</td>
                    <td>{{build}}</td>
                </tr>
            </tbody>
            </table>
        </div>
    </div>
</div>