You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
176 B
Plaintext
9 lines
176 B
Plaintext
7 years ago
|
task
|
||
|
.name { attributes.task.name }
|
||
|
.progress(style="width: {progress(attributes.task)}%;")
|
||
|
|
||
|
script.
|
||
|
function progress(task) {
|
||
|
return (task.progress / task.total);
|
||
|
}
|