Indentation fix in list_detail template
This commit is contained in:
parent
f2b87979f2
commit
1fff35c613
1 changed files with 109 additions and 113 deletions
|
@ -8,7 +8,6 @@
|
|||
// The JQuery plugin tableDnD provides a serialize() function which provides the re-ordered
|
||||
// data in a list. We pass that list as an object called "data" to a Django view
|
||||
// to save the re-ordered data into the database.
|
||||
|
||||
$.post("{% url 'todo:reorder_tasks' %}", data, "json");
|
||||
return false;
|
||||
};
|
||||
|
@ -45,8 +44,7 @@
|
|||
{% csrf_token %}
|
||||
{# Only show task adder if viewing a list is not "mine" #}
|
||||
{% if list_slug != "mine" %}
|
||||
<h2 style="margin-bottom:0px;" id="slideToggle" >→ Click to add task ←</h2>
|
||||
|
||||
<h2 id="slideToggle" >→ Click to add task ←</h2>
|
||||
<div id="AddTask">
|
||||
<table class="nocolor" border="0" cellspacing="5" cellpadding="5">
|
||||
<tr>
|
||||
|
@ -60,7 +58,8 @@
|
|||
<td><label for="id_notify">Notify*:</label> <input type="checkbox" checked="checked" name="notify" value="1" id="notify"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="id_note">Note:</label>
|
||||
<td>
|
||||
<label for="id_note">Note:</label>
|
||||
{{ form.note }}
|
||||
<p class="minor">*Email notifications will only be sent if task is assigned to someone besides yourself.</p>
|
||||
</td>
|
||||
|
@ -111,18 +110,17 @@
|
|||
{% if list_slug == "mine" %}
|
||||
<td><a href="{% url 'todo:list_detail' task.list.id task.list.slug %}">{{ task.list }}</a></td>
|
||||
{% endif %}
|
||||
<td><input type="checkbox" name="del_tasks" value="{{ task.id }}" id="del_task_{{ task.id }}"> </td>
|
||||
<td><input type="checkbox" name="del_tasks" value="{{ task.id }}" id="del_task_{{ task.id }}"></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
<p><input type="submit" name="mark_tasks_done" value="Continue..." class="todo-button"></p>
|
||||
<p><a class="todo" href="{% url 'todo:completed_tasks' list_id list_slug %}">View completed tasks</a></p>
|
||||
<p><a href="{% url 'todo:completed_tasks' list_id list_slug %}" class="todo">View completed tasks</a></p>
|
||||
|
||||
{% else %}
|
||||
|
||||
<h3>Completed tasks</h3>
|
||||
|
||||
<table border="0" id="tasktable">
|
||||
<tr>
|
||||
<th>Undo</th>
|
||||
|
@ -131,9 +129,7 @@
|
|||
<th>Completed on</th>
|
||||
<th>Note</th>
|
||||
<th>Comm</th>
|
||||
{% if list_slug == "mine" %}
|
||||
<th>List</th>
|
||||
{% endif %}
|
||||
{% if list_slug == "mine" %} <th>List</th> {% endif %}
|
||||
<th>Del</th>
|
||||
</tr>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue