aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/apps/frontPageApp
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-06 11:46:23 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-06 11:46:23 +0100
commita9543bd5570b7435b760a8eb3c8b457c889a5fca (patch)
tree5428adaf101805ff7a5aaacc891b28e7fc007537 /src/main/webapp/apps/frontPageApp
parent15d61bce4cc56b2ee6b87e46eaff2afcf0b7cdaa (diff)
downloadesper-testing-a9543bd5570b7435b760a8eb3c8b457c889a5fca.tar.gz
esper-testing-a9543bd5570b7435b760a8eb3c8b457c889a5fca.tar.bz2
esper-testing-a9543bd5570b7435b760a8eb3c8b457c889a5fca.tar.xz
esper-testing-a9543bd5570b7435b760a8eb3c8b457c889a5fca.zip
o Better front page.
Diffstat (limited to 'src/main/webapp/apps/frontPageApp')
-rwxr-xr-xsrc/main/webapp/apps/frontPageApp/frontPage.html55
1 files changed, 19 insertions, 36 deletions
diff --git a/src/main/webapp/apps/frontPageApp/frontPage.html b/src/main/webapp/apps/frontPageApp/frontPage.html
index b121935..84e991b 100755
--- a/src/main/webapp/apps/frontPageApp/frontPage.html
+++ b/src/main/webapp/apps/frontPageApp/frontPage.html
@@ -5,44 +5,27 @@
<h1>Recent</h1>
</div>
- <h3>Badges</h3>
- <div>
- <ul class="inline">
- <li ng-repeat="b in recentBadges">
- <a href="#/person/{{b.person.uuid}}"> {{b.person.name}} </a>
- <span class="badge-level-{{badge.level}} badge">{{b.badge.name}}</span>
- </li>
- </ul>
- </div>
+ <div class="row">
+ <div class="span6">
+ <h3>Badges</h3>
- <h3>Newcomers</h3>
- <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.person.uuid}}">{{person.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>
+ <div>
+ <ul class="unstyled">
+ <li ng-repeat="b in recentBadges">
+ <badge badge-detail="b"/>
</li>
</ul>
- </td>
- </tr>
- </tfoot>
- </table>
+ </div>
+ </div>
+ <div class="span6">
+ <h3>Newcomers</h3>
+
+ <ul class="unstyled">
+ <li ng-repeat="person in persons.rows">
+ <a href="#/person/{{person.person.uuid}}">{{person.person.name}}</a>
+ </li>
+ </ul>
+ </div>
+ </div>
</div>