1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-21 15:14:19 +00:00

Add delete button on the details page

This commit is contained in:
Steffo 2017-09-20 12:04:39 +02:00
parent 1023f6fab2
commit 977dfbfae4
3 changed files with 10 additions and 1 deletions

View file

@ -7,6 +7,9 @@
<a href="/disp_show/{{ disp.did }}" class="btn btn-primary"> <a href="/disp_show/{{ disp.did }}" class="btn btn-primary">
<span class="glyphicon glyphicon-pencil"></span> Modifica <span class="glyphicon glyphicon-pencil"></span> Modifica
</a> </a>
<a href="/disp_del/{{ disp.did }}" class="btn btn-danger">
<span class="glyphicon glyphicon-remove"></span> Elimina
</a>
</h1> </h1>
</div> </div>
<ul class="list-group"> <ul class="list-group">

View file

@ -5,7 +5,10 @@
<h1> <h1>
{{ impiegato }} {{ impiegato }}
<a href="/imp_show/{{ impiegato.iid }}" class="btn btn-primary"> <a href="/imp_show/{{ impiegato.iid }}" class="btn btn-primary">
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Modifica <span class="glyphicon glyphicon-pencil"></span> Modifica
</a>
<a href="/imp_del/{{ impiegato.nid }}" class="btn btn-danger">
<span class="glyphicon glyphicon-remove"></span> Elimina
</a> </a>
</h1> </h1>
</div> </div>

View file

@ -7,6 +7,9 @@
<a href="/ordine_show/{{ ordine.oid }}" class="btn btn-primary"> <a href="/ordine_show/{{ ordine.oid }}" class="btn btn-primary">
<span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Modifica <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Modifica
</a> </a>
<a href="/ordine_del/{{ ordine.oid }}" class="btn btn-danger">
<span class="glyphicon glyphicon-remove"></span> Elimina
</a>
</h1> </h1>
</div> </div>
<ul class="list-group"> <ul class="list-group">