2014-01-03 13:32:13 -05:00
|
|
|
img(src="/images/level/code_palette_background.png").code-palette-background
|
2014-07-09 16:41:42 -04:00
|
|
|
span.code-palette-background
|
2014-10-17 00:38:11 -04:00
|
|
|
if entryGroupSlugs
|
|
|
|
// Non-hero; group by entry groups, or maybe nothing.
|
|
|
|
.code-language-logo
|
|
|
|
ul(class="nav nav-pills" + (tabbed ? ' multiple-tabs' : ''))
|
|
|
|
each slug, group in entryGroupSlugs
|
|
|
|
li(class=group == "this" || slug == "available-spells" ? "active" : "")
|
|
|
|
a(data-toggle="pill", data-target='#palette-tab-' + slug)
|
|
|
|
h4= entryGroupNames[group]
|
|
|
|
.tab-content
|
|
|
|
each slug, group in entryGroupSlugs
|
|
|
|
div(id="palette-tab-" + slug, class="tab-pane nano" + (group == "this" || slug == defaultGroupSlug ? " active" : ""))
|
|
|
|
div(class="properties properties-" + slug + " nano-content")
|
|
|
|
else
|
|
|
|
// Hero; group by items, no tabs.
|
2014-10-30 01:29:36 -04:00
|
|
|
h4(data-i18n="play_level.tome_your_skills")
|
2014-10-17 00:38:11 -04:00
|
|
|
.properties
|