2015-01-30 15:27:19 -05:00
|
|
|
.modal-dialog
|
|
|
|
.modal-content
|
2015-02-03 20:07:15 -05:00
|
|
|
img(src="/images/pages/play/modal/leaderboard-background.png", draggable="false")#leaderboard-background
|
|
|
|
|
|
|
|
h1.level-title= levelName
|
2015-01-30 15:27:19 -05:00
|
|
|
|
|
|
|
div#close-modal
|
|
|
|
span.glyphicon.glyphicon-remove
|
|
|
|
|
|
|
|
ul#leaderboard-nav.nav.nav-pills.nav-stacked
|
2015-02-03 20:07:15 -05:00
|
|
|
- var lastScoreType = null;
|
2015-01-30 15:27:19 -05:00
|
|
|
for submenu, index in submenus
|
2015-02-03 20:07:15 -05:00
|
|
|
if lastScoreType && submenu.scoreType != lastScoreType
|
|
|
|
br
|
2015-01-31 00:36:36 -05:00
|
|
|
li(class=index ? "" : "active")
|
|
|
|
a(href='#' + submenu.scoreType + '-' + submenu.timespan + '-view', data-toggle='tab')
|
2015-02-03 20:07:15 -05:00
|
|
|
if submenu.scoreType != lastScoreType
|
|
|
|
.scoreType(data-i18n='leaderboard.' + submenu.scoreType.replace('-', '_'))= submenu.scoreType
|
|
|
|
else
|
|
|
|
.scoreType
|
2015-01-31 00:36:36 -05:00
|
|
|
.timespan(data-i18n='leaderboard.' + submenu.timespan)
|
2015-02-03 20:07:15 -05:00
|
|
|
- lastScoreType = submenu.scoreType;
|
2015-01-30 15:27:19 -05:00
|
|
|
|
|
|
|
.tab-content.leaderboard-tab-content
|
|
|
|
for submenu, index in submenus
|
2015-01-31 00:36:36 -05:00
|
|
|
.tab-pane(id=submenu.scoreType + '-' + submenu.timespan + '-view')
|
2015-01-30 15:27:19 -05:00
|
|
|
.leaderboard-tab-view
|