Skip to content

Commit b8fe863

Browse files
committed
fix: apply styling for search list view
1 parent 6041eaa commit b8fe863

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

templates/searchlist.html

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@
77
<h1>{{h}}</h1>
88
<hr>
99
{% if todos[0] %}
10-
<h3>Result of the Search : ToDO List</h3>
10+
<h3>Search Results</h3>
1111
<table>
1212
<tr id="row">
13-
<td class="status">Status</td>
14-
<td class="name">Task Name</td>
15-
<td class="desc">Task Description</td>
16-
<td class="date">Date</td>
17-
<td class="pr">Project</td>
18-
<td class="func">Delete</td>
19-
<td class="func">Modify</td>
13+
<th class="status">Status</th>
14+
<th class="name">Task Name</th>
15+
<th class="desc">Description</th>
16+
<th class="date">Date</th>
17+
<th class="pr">Priority</th>
18+
<th class="func1">Remove</th>
19+
<th class="func2">Modify</th>
2020
</tr>
2121
{% for todo in todos %}
2222
<tr class="datas">
@@ -29,10 +29,12 @@ <h3>Result of the Search : ToDO List</h3>
2929
<td class="func1"><a href="./update?_id={{ todo['_id'] }}"><button type="submit">EDIT</button></a></td>
3030
</tr>
3131
{% endfor %}
32+
</table>
3233
{% else %}
33-
<h4>No Result Found !!</h4>
34+
<h4>No Results Found</h4>
3435
{% endif %}
35-
</table>
36-
<a href="/">Return to TaskList</a>
36+
<div style="text-align:center;margin-top:16px">
37+
<a href="/" style="color:#4CAF50;text-decoration:none;font-weight:600">← Return to TaskList</a>
38+
</div>
3739
</body>
3840
</html>

0 commit comments

Comments
 (0)