2016-05-18 16:25:00 -04:00
|
|
|
// DNT
|
2016-04-21 12:17:54 -04:00
|
|
|
extends /templates/base
|
|
|
|
|
|
|
|
block content
|
2016-05-13 18:32:59 -04:00
|
|
|
#solution-problems-view
|
|
|
|
div
|
|
|
|
a(href='/artisans')
|
2016-05-16 14:45:06 -04:00
|
|
|
span.glyphicon.glyphicon-chevron-left
|
|
|
|
span Artisans Home
|
2016-05-13 18:32:59 -04:00
|
|
|
br
|
|
|
|
div Total number of problems: #{view.problemCount}
|
|
|
|
hr
|
2016-05-18 16:33:02 -04:00
|
|
|
table.table.table-striped#level-table
|
2016-05-13 18:32:59 -04:00
|
|
|
tr
|
|
|
|
th Level Name
|
|
|
|
th Solution Problems
|
|
|
|
for level in (view.parsedLevels || [])
|
|
|
|
if (level.problems || []).length != 0
|
|
|
|
tr
|
|
|
|
td(style="width:10%")= level.level.get('name')
|
|
|
|
td
|
|
|
|
table.table-striped.table-hover.problemsTable
|
|
|
|
for problem in (level.problems || [])
|
|
|
|
tr(style="width:100%")
|
|
|
|
td.problemValue= problem.value
|
|
|
|
td.problemType= problem.type
|