Style task detail view
This commit is contained in:
parent
88df6bb956
commit
c0a0b99822
|
@ -37,3 +37,7 @@ button, input[type=submit] {
|
|||
margin-top: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.button-danger {
|
||||
background-color: #bf616a;
|
||||
}
|
||||
|
|
|
@ -4,5 +4,11 @@
|
|||
<h3>{{task.title}}</h3>
|
||||
<p>{{task.description}}</p>
|
||||
<p>{{task.status}}</p>
|
||||
|
||||
<div class="even-spaced">
|
||||
<a href="/"><button>« Back Home</button></a>
|
||||
<a href="/tasks/update/{{task.id}}"><button>🖊 Update</button></a>
|
||||
<a href="/tasks/delete/{{task.id}}"><button class="button-danger">🗑 Delete</button></a>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue