Fixed bugs in Task Template
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<span class="edit-box">
|
||||
<input class="task-id-editor" name="tid" size="3" placeholder="000" value="{{ task['id'] }}">
|
||||
<input class="task-value-editor" name="content" value="{{ task['txt'] }}">
|
||||
<input class="task-pre-editor" name="pre" value="{{ ','.join(task['pre']) }}">
|
||||
<input class="task-pre-editor" name="pre" value="{{ ' '.join(task['pre']) }}">
|
||||
<button class="btn-save" name="action" value="save" type="submit">Save</button>
|
||||
<button class="btn-cancel" type="button">Cancel</button>
|
||||
<button class="btn-delete" name="action" value="delete" type="submit">Delete</button>
|
||||
@@ -51,17 +51,21 @@
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
{% if blocked_tasks %}
|
||||
<h2>Blocked Tasks:</h2>
|
||||
<ul>
|
||||
{% for task in blocked_tasks %}
|
||||
{{ make_task(task) }}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% if complete_tasks %}
|
||||
<h2>Complete Tasks:</h2>
|
||||
<ul>
|
||||
{% for task in complete_tasks %}
|
||||
{{ make_task(task) }}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</main>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user