codecombat/app/templates/test-view.jade

50 lines
1.3 KiB
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
2016-06-03 19:26:03 -04:00
#failure-reports
for report in view.failureReports
.alert.alert-danger.alert-report
ul.suite-list
for description in report.suiteDescriptions
li= description
li
strong ... #{report.testDescription}
hr
ol.error-list
for message in report.failMessages
li
strong= message
2016-03-16 15:37:58 -04:00
#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})