Style task detail view

This commit is contained in:
Yash Karandikar 2022-08-21 16:50:55 -05:00
parent 88df6bb956
commit c0a0b99822
2 changed files with 10 additions and 0 deletions

View file

@ -37,3 +37,7 @@ button, input[type=submit] {
margin-top: 0;
cursor: pointer;
}
.button-danger {
background-color: #bf616a;
}

View file

@ -4,5 +4,11 @@
<h3>{{task.title}}</h3>
<p>{{task.description}}</p>
<p>{{task.status}}</p>
<div class="even-spaced">
<a href="/"><button>&laquo; Back Home</button></a>
<a href="/tasks/update/{{task.id}}"><button>&#x1f58a; Update</button></a>
<a href="/tasks/delete/{{task.id}}"><button class="button-danger">&#x1f5d1; Delete</button></a>
</div>
</div>
{% endblock %}