codecombat/app/templates/test-view.jade

34 lines
891 B
Text
Raw Normal View History

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
#demo-area
#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})