aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/apps/frontPageApp/badge.html
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-10 07:32:02 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-10 07:32:02 +0100
commit7838a06e5521db39aee8b3b87785fcb5e32cd7ad (patch)
treef10592e5f062d17522dcf08c11faa6ad166254e1 /src/main/webapp/apps/frontPageApp/badge.html
parentbc54871dac7ef10102edecf91a747d6595a4640f (diff)
downloadesper-testing-7838a06e5521db39aee8b3b87785fcb5e32cd7ad.tar.gz
esper-testing-7838a06e5521db39aee8b3b87785fcb5e32cd7ad.tar.bz2
esper-testing-7838a06e5521db39aee8b3b87785fcb5e32cd7ad.tar.xz
esper-testing-7838a06e5521db39aee8b3b87785fcb5e32cd7ad.zip
o Creating a single (awarded) badge view.
Diffstat (limited to 'src/main/webapp/apps/frontPageApp/badge.html')
-rwxr-xr-xsrc/main/webapp/apps/frontPageApp/badge.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/main/webapp/apps/frontPageApp/badge.html b/src/main/webapp/apps/frontPageApp/badge.html
new file mode 100755
index 0000000..92fc7ae
--- /dev/null
+++ b/src/main/webapp/apps/frontPageApp/badge.html
@@ -0,0 +1,30 @@
+<div class="container">
+
+ <navbar/>
+
+ <div class="page-header">
+ <h1>Badge</h1>
+ </div>
+
+ <div class="row">
+ <div class="span12">
+ The badge <badge-span badge="badge.badge"></badge-span> was awarded to <person-link person="badge.person"></person-link> at
+ {{badge.badge.createdDate | date:'medium'}}.
+ </div>
+ </div>
+
+ <div class="row" ng-switch="badge.badge.name">
+ <div class="span12" ng-switch-when="UNBREAKABLE">
+ <h2>Details</h2>
+ <p>
+ The badge was awarded for having {{badge.personalBadge.builds.length}} successful builds in a row:
+ </p>
+ <ul class="unstyled">
+ <li ng-repeat="b in badge.personalBadge.builds">
+ <a class="btn" href="/build/{{b}}">{{$index + 1}} <i class="icon-chevron-right"></i></a>
+ </li>
+ </ul>
+ </div>
+ </div>
+
+</div>