todo_list: Render task name in bold text.

This commit is contained in:
majordwarf 2020-02-20 23:32:37 +05:30 committed by showell
parent 1b16693526
commit ba2f11f78c
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<li> <li>
<button class="task" data-key="{{ key }}"> <button class="task" data-key="{{ key }}">
</button> </button>
<span class="task">{{ task }}</span> <span class="task">{{ key }}. <strong>{{ task }}</strong>{{#if desc }} - {{ desc }}{{/if}}</span>
</li> </li>
{{/each}} {{/each}}
{{#each completed_tasks}} {{#each completed_tasks}}
@ -11,6 +11,6 @@
<button class="task-completed task" data-key="{{ key }}"> <button class="task-completed task" data-key="{{ key }}">
<img class="task-completed" src="/static/images/checkbox-green.svg" data-key="{{ key }}"/> <img class="task-completed" src="/static/images/checkbox-green.svg" data-key="{{ key }}"/>
</button> </button>
<span class="task"><strike>{{ task }}</strike></span> <span class="task">{{ key }}. <strike><em><strong>{{ task }}</strong>{{#if desc }} - {{ desc }}{{/if}}</em></strike></span>
</li> </li>
{{/each}} {{/each}}