comparison farol/templates/vulnerability/view_threat.j2 @ 93:8e72f31d7392

Add deletion of Threats
author Benoît Allard <benoit.allard@greenbone.net>
date Thu, 09 Oct 2014 16:14:25 +0200
parents 4a9f23230eba
children 09915cbdf549
comparison
equal deleted inserted replaced
92:33d6fd9a5e12 93:8e72f31d7392
22 # along with this program; if not, write to the Free Software 22 # along with this program; if not, write to the Free Software
23 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 23 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24 -#} 24 -#}
25 25
26 {% extends "vulnerability/base.j2" %} 26 {% extends "vulnerability/base.j2" %}
27 {% from "macros.j2" import panel, label_value %} 27 {% from "macros.j2" import panel, label_value, delete_button %}
28 {% block title %}Edit {{ threat.getTitle() }}{% endblock %} 28 {% block title %}Edit {{ threat.getTitle() }}{% endblock %}
29 29
30 {% block i_content %} 30 {% block i_content %}
31 <a class="pull-right" href="{{ url_for('.edit_threat', ordinal=ordinal, index=index) }}">edit</a> 31 <a class="pull-right" href="{{ url_for('.edit_threat', ordinal=ordinal, index=index) }}">edit</a>
32 <div class='page-header'> 32 <div class='page-header'>
54 {% endwith %} 54 {% endwith %}
55 {% endfor %} 55 {% endfor %}
56 </ul> 56 </ul>
57 {% endcall %} 57 {% endcall %}
58 {% endif %} 58 {% endif %}
59 <div class="pull-right">{{ delete_button(url_for('.del_threat', ordinal=ordinal, index=index)) }}</div>
59 {% endblock %} 60 {% endblock %}

http://farol.wald.intevation.org