2014-11-07 11:54:22 -05:00
|
|
|
.modal-dialog
|
|
|
|
.modal-content
|
2014-11-19 19:36:06 -05:00
|
|
|
img(src="/images/pages/play/modal/game-menu-background.png", draggable="false")#game-menu-background
|
2014-08-08 14:36:41 -04:00
|
|
|
|
2014-11-18 16:57:20 -05:00
|
|
|
div#close-modal
|
|
|
|
span.glyphicon.glyphicon-remove
|
|
|
|
|
2014-11-07 11:54:22 -05:00
|
|
|
ul#game-menu-nav.nav.nav-pills.nav-stacked
|
|
|
|
li
|
|
|
|
a#change-hero-tab
|
|
|
|
span.glyphicon.glyphicon-user
|
2014-11-09 23:19:12 -05:00
|
|
|
span(data-i18n='[title]game_menu.choose_hero_caption;play.change_hero')
|
2014-08-08 14:36:41 -04:00
|
|
|
|
2014-08-08 18:56:53 -04:00
|
|
|
for submenu, index in submenus
|
2014-11-07 11:54:22 -05:00
|
|
|
li(class=submenu === showTab ? "active" : "")
|
2014-08-08 14:36:41 -04:00
|
|
|
a(href='#' + submenu + '-view', data-toggle='tab')
|
2014-11-07 11:54:22 -05:00
|
|
|
span.glyphicon(class="glyphicon-"+iconMap[submenu])
|
2014-11-09 23:19:12 -05:00
|
|
|
- var i18nKey = 'game_menu.' + submenu.replace('-', '_');
|
|
|
|
span(data-i18n='[title]' + i18nKey + '_caption;' + i18nKey + '_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")
|
2014-11-07 11:54:22 -05:00
|
|
|
span.glyphicon.glyphicon-pencil
|
2014-11-09 23:19:12 -05:00
|
|
|
span(data-i18n='[title]game_menu.auth_caption;game_menu.auth_tab')
|
2014-11-07 11:54:22 -05:00
|
|
|
|
|
|
|
.tab-content.game-menu-tab-content
|
2014-08-08 14:36:41 -04:00
|
|
|
for submenu, index in submenus
|
|
|
|
.tab-pane(id=submenu + '-view')
|