mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
33 lines
791 B
Text
33 lines
791 B
Text
extends /templates/base
|
|
|
|
block content
|
|
#level-tasks-view
|
|
div
|
|
a(href='/artisans')
|
|
| < Artisans Home
|
|
br
|
|
input#nameSearch(placeholder='Filter: Level Name')
|
|
br
|
|
input#descSearch(placeholder='Filter: Task Description')
|
|
hr
|
|
if view.processedLevels
|
|
table.table.table-striped#levelTable
|
|
tr
|
|
th Level Name
|
|
th Task List
|
|
for level in view.processedLevels
|
|
if view.hasIncompleteTasks(level)
|
|
+levelRow(level)
|
|
else
|
|
div ole?
|
|
|
|
mixin levelRow(level)
|
|
tr
|
|
td.taskOwner
|
|
a(href= 'level/' + level.slug)= level.name
|
|
td.tasks
|
|
table.table-striped.table-hover.tasksTable
|
|
for task in (level.tasks || [])
|
|
if !task.complete
|
|
tr
|
|
td= task.name
|