codecombat/app/templates/play/level/modal/docs.jade

18 lines
578 B
Text
Raw Normal View History

2014-01-03 13:32:13 -05:00
// TODO: refactor to be like other modals
2014-01-27 19:59:34 -05:00
.modal-dialog
.modal-header
button(type='button', data-dismiss="modal", aria-hidden="true").close ×
h3(data-i18n="play_level.guide_title") Guide
.modal-body
ul.nav.nav-tabs
for doc in docs
li
a(data-target="#docs_tab_#{doc.slug}", data-toggle="tab") #{doc.name}
div.tab-content
for doc in docs
div.tab-pane(id="docs_tab_#{doc.slug}")!= doc.html
.modal-footer
a(href='#', data-dismiss="modal", aria-hidden="true", data-i18n="modal.close").btn.btn-primary Close