codecombat/app/templates/game-menu/game-menu-modal.jade

29 lines
1.1 KiB
Text
Raw Normal View History

.modal-dialog
.modal-content
img(src="/images/pages/play/modal/game-menu-background.png")#game-menu-background
ul#game-menu-nav.nav.nav-pills.nav-stacked
li
a#change-hero-tab
span.glyphicon.glyphicon-user
span(data-i18n='play.change_hero')
2014-08-08 18:56:53 -04:00
for submenu, index in submenus
li(class=submenu === showTab ? "active" : "")
a(href='#' + submenu + '-view', data-toggle='tab')
span.glyphicon(class="glyphicon-"+iconMap[submenu])
span(data-i18n='game_menu.' + submenu.replace('-', '_') + '_tab')
2014-10-27 12:27:57 -04:00
if me.get('anonymous')
li.auth-tab(data-toggle='coco-modal', data-target="modal/AuthModal")
a(data-toggle='coco-modal', data-target="modal/AuthModal")
span.glyphicon.glyphicon-pencil
span(data-i18n='game_menu.auth_tab')
.tab-content.game-menu-tab-content
for submenu, index in submenus
.tab-pane(id=submenu + '-view')
// .clearfix
//
//block modal-footer
// button.btn.btn-primary.btn-lg.overlaid-close-button(type="button", data-dismiss="modal", aria-hidden="true", data-i18n="modal.close") Close