aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/apps/frontPageApp/frontPage.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/webapp/apps/frontPageApp/frontPage.html')
-rwxr-xr-x[-rw-r--r--]src/main/webapp/apps/frontPageApp/frontPage.html36
1 files changed, 28 insertions, 8 deletions
diff --git a/src/main/webapp/apps/frontPageApp/frontPage.html b/src/main/webapp/apps/frontPageApp/frontPage.html
index 4523e6f..5cdea9a 100644..100755
--- a/src/main/webapp/apps/frontPageApp/frontPage.html
+++ b/src/main/webapp/apps/frontPageApp/frontPage.html
@@ -3,13 +3,33 @@
<div class="page-header">
<h1>Newcomers</h1>
</div>
-
- <style>
- .personsGrid {
- height: 400px;
- }
- </style>
-
- <div class="personsGrid" ng-grid="personsGridOptions"><!-- --></div>
+ <table class="table">
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Badges</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr ng-repeat="person in persons.rows">
+ <td><a href="/person/{{person.uuid}}">{{person.name}}</a></td>
+ <td>{{person.badges.length}}</td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <td colspan="2">
+ <ul class="pager">
+ <li class="previous" ng-class="{disabled: persons.startIndex == 0}">
+ <a ng-click="persons.prev()">&larr; Older</a>
+ </li>
+ <li class="next">
+ <a ng-click="persons.next()">Newer &rarr;</a>
+ </li>
+ </ul>
+ </td>
+ </tr>
+ </tfoot>
+ </table>
</div>