codecombat/app/templates/test-view.jade

36 lines
885 B
Text
Raw Normal View History

#demo-area
2016-03-16 15:37:58 -04:00
h2#test-h2 Testing Page
ol.breadcrumb
for path in parentFolders
li
a(href=path.url)= path.name
li.active= currentFolder
2016-03-16 15:37:58 -04:00
.container-fluid
.row
.col-md-8
#test-wrapper.well
#testing-area
2016-03-16 15:37:58 -04:00
.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})