diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-12-28 16:39:13 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-12-28 16:39:13 +0100 |
commit | 54ec271b75dad82da9bd4ee2975a22490d66d6dc (patch) | |
tree | aa72a3a77445f4b0ee238932536e44cb0878089f /src/main/webapp/apps/personApp | |
parent | c9ff3d5495b0229d837fa0ec23486cc7b6b191d0 (diff) | |
download | esper-testing-54ec271b75dad82da9bd4ee2975a22490d66d6dc.tar.gz esper-testing-54ec271b75dad82da9bd4ee2975a22490d66d6dc.tar.bz2 esper-testing-54ec271b75dad82da9bd4ee2975a22490d66d6dc.tar.xz esper-testing-54ec271b75dad82da9bd4ee2975a22490d66d6dc.zip |
o Showing date and build result IN COLOR!
Diffstat (limited to 'src/main/webapp/apps/personApp')
-rw-r--r-- | src/main/webapp/apps/personApp/person.html | 31 |
1 files changed, 21 insertions, 10 deletions
diff --git a/src/main/webapp/apps/personApp/person.html b/src/main/webapp/apps/personApp/person.html index 2c0c3e7..5a8395e 100644 --- a/src/main/webapp/apps/personApp/person.html +++ b/src/main/webapp/apps/personApp/person.html @@ -5,20 +5,31 @@ </div> <h3>Badges</h3> + <p ng-repeat="badge in person.badges"> <span class="badge-level-{{badge.level}} badge">{{badge.name}}</span><span ng-show="badge.count > 1"> x {{badge.count}}</span> </p> - <h3>Badges in progress</h3> - <p ng-repeat="badge in person.badgesInProgress"> - <span class="badge badge-level-{{badge.level}}">{{badge.name}}</span> progress: {{badge.progress}} of {{badge.goal}} - </p> + <div ng-repeat="badge in person.badgesInProgress"> + <div class="progress"> + <div class="bar" style="width: {{badge.progress / badge.goal * 100}}%;">{{badge.name}}</div> + </div> + </div> - <h3>Builds</h3> - <ul> - <li ng-repeat="build in builds"> - {{build.uuid}} - </li> - </ul> + <h3>Recent builds</h3> + <table class="table"> + <thead> + <tr> + <th>Date</th> + <th>Success</th> + </tr> + </thead> + <tbody> + <tr ng-repeat="build in builds" class="{{{true: 'success', false: 'error'}[build.success]}}"> + <td>{{build.date | date:'medium'}}</td> + <td>{{build.success}}</td> + </tr> + </tbody> + </table> </div> |