codecombat/app/templates/play/modal/leaderboard-modal.jade

18 lines
778 B
Text
Raw Normal View History

2015-01-30 15:27:19 -05:00
.modal-dialog
.modal-content
img(src="/images/pages/play/modal/game-menu-background.png", draggable="false")#leaderboard-background
div#close-modal
span.glyphicon.glyphicon-remove
ul#leaderboard-nav.nav.nav-pills.nav-stacked
for submenu, index in submenus
2015-01-31 00:36:36 -05:00
li(class=index ? "" : "active")
a(href='#' + submenu.scoreType + '-' + submenu.timespan + '-view', data-toggle='tab')
.scoreType(data-i18n='leaderboard.' + submenu.scoreType.replace('-', '_'))= submenu.scoreType
.timespan(data-i18n='leaderboard.' + submenu.timespan)
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