codecombat/app/templates/test-view.jade
2016-03-18 11:03:55 -07:00

34 lines
No EOL
891 B
Text

h2#test-h2 Testing Page
ol.breadcrumb
for path in parentFolders
li
a(href=path.url)= path.name
li.active= currentFolder
.container-fluid
.row
.col-md-8
#test-wrapper.well
#demo-area
#testing-area
.col-md-4.hidden-sm.hidden-xs
.nav.nav-pills.nav-stacked.well#test-nav
if view.demosOn
button#hide-demos-btn.btn.btn-danger.btn-block Hide Demos
else
button#show-demos-btn.btn.btn-info.btn-block Show Demos
hr
for child in children
li(class=child.type)
a(href=child.url).small
if child.type == 'folder'
span.glyphicon.glyphicon-folder-close
else
span.glyphicon.glyphicon-file
span.spl= child.name
if child.type == 'folder'
strong (#{child.size})