2014-10-24 18:11:55 -04:00
|
|
|
extends /templates/base
|
|
|
|
|
|
|
|
block content
|
2016-03-05 10:08:27 -05:00
|
|
|
|
|
|
|
h1 User Code Problems
|
|
|
|
|
2014-10-26 13:49:13 -04:00
|
|
|
if fetchingData
|
|
|
|
h3 Fetching data...
|
|
|
|
else
|
|
|
|
table.table.table-striped.table-bordered.table-condensed#users
|
|
|
|
thead(style='font-weight:bold')
|
|
|
|
tr
|
|
|
|
td language
|
|
|
|
//- td errType
|
|
|
|
//- td errLevel
|
|
|
|
//- td errId
|
|
|
|
td levelID
|
|
|
|
td codeSnippet
|
|
|
|
td errHint
|
|
|
|
td errMessage
|
|
|
|
//- td code
|
|
|
|
td created
|
2016-03-05 10:08:27 -05:00
|
|
|
|
2014-10-26 13:49:13 -04:00
|
|
|
tbody
|
|
|
|
each problem in userCodeProblems
|
|
|
|
tr
|
|
|
|
td #{problem.language}
|
|
|
|
//- td #{problem.errType}
|
|
|
|
//- td #{problem.errLevel}
|
|
|
|
//- td #{problem.errId}
|
|
|
|
td #{problem.levelID}
|
|
|
|
td #{problem.codeSnippet}
|
|
|
|
td #{problem.errHint}
|
|
|
|
td #{problem.errMessage}
|
|
|
|
//- td #{problem.code}
|
|
|
|
td #{new Date(problem.created).toLocaleString()}
|