codecombat/app/templates/play/level/tome/spell_palette.jade

11 lines
553 B
Text
Raw Normal View History

2014-01-03 13:32:13 -05:00
img(src="/images/level/code_palette_background.png").code-palette-background
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= group
.tab-content
each slug, group in entryGroupSlugs
div(id="palette-tab-" + slug, class="tab-pane" + (group == "this" || slug == "available-spells" ? " active" : ""))
div(class="properties properties-" + slug)