mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
26 lines
No EOL
893 B
Text
26 lines
No EOL
893 B
Text
extends /templates/modal/modal_base
|
|
|
|
block modal-header
|
|
|
|
block modal-body-content
|
|
.button.close(type="button", data-dismiss="modal", aria-hidden="true") ×
|
|
.tabbable.tabs-left
|
|
- var submenus = ["inventory", "choose-hero", "save-load", "options", "guide", "multiplayer"]
|
|
- if (!showDevBits) { // Not done yet.
|
|
- submenus.splice(4, 1);
|
|
- submenus.splice(2, 1);
|
|
- }
|
|
- if (!showInventory)
|
|
- submenus.splice(0, 1);
|
|
ul.nav.nav-tabs
|
|
for submenu, index in submenus
|
|
li(class=index ? "" : "active")
|
|
a(href='#' + submenu + '-view', data-toggle='tab')
|
|
h2(data-i18n='game_menu.' + submenu.replace('-', '_') + '_tab')
|
|
em(data-i18n='game_menu.' + submenu.replace('-', '_') + '_caption')
|
|
.tab-content
|
|
for submenu, index in submenus
|
|
.tab-pane(id=submenu + '-view')
|
|
.clearfix
|
|
|
|
block modal-footer |