Mercurial > farol > farol
view farol/templates/vulnerability/edit_productstatus.j2 @ 178:e46fb0027e52 tip
Added tag 1.1.1 for changeset ae584cfe6252
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Thu, 08 Jan 2015 14:37:57 +0100 |
parents | b9704abca0c9 |
children |
line wrap: on
line source
{# # Description: # Web Template used in Farol Design # # Authors: # BenoƮt Allard <benoit.allard@greenbone.net> # # Copyright: # Copyright (C) 2014 Greenbone Networks GmbH # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -#} {% extends "base.j2" %} {% from "macros.j2" import selectinput, selectinput2 %} {% block title %}Edit Product Status{% endblock %} {% set active = 'vulnerability' %} {% block content %} <p>The <strong>Status</strong> element contains one or more products as chosen from the <strong>Product Tree</strong>, and defines the status of this product in the mandatory <em>Status</em> attribute.</p> <form role="form" method="POST"> {% call selectinput('status', "Status", statuses, status) %} <p>The <em>Type</em> attribute is an enumerated value that contains all the possible permutations of fixed, affected, and recommended versions of the products referenced inside the <strong>Status</strong> container. <em>Type</em> values include:</p> <dl class="dl-horizontal"> <dt>First Affected:</dt><dd>This is first version of the affected release known to be affected by the vulnerability.</dd> <dt>Known Affected:</dt><dd>This version is known to be affected by the vulnerability.</dd> <dt>Known Not Affected:</dt><dd>This version is known not to be affected by the vulnerability.</dd> <dt>First Fixed:</dt><dd>This version contains the first fix for the vulnerability but may not be the recommended fixed version.</dd> <dt>Fixed:</dt><dd>This version contains a fix for the vulnerability but may not be the recommended fixed version.</dd> <dt>Recommended:</dt><dd>This version has a fix for the vulnerability and is the vendor-recommended version for fixing the vulnerability.</dd> <dt>Last Affected:</dt><dd>This is the last version in a release train known to be affected by the vulnerability. Subsequently released versions would contain a fix for the vulnerability.</dd> </dl> {% endcall %} {{ selectinput2('products', "Products", products, productids, multiple=True) }} <button class="btn btn-primary" type="submit">{{ action or 'Update' }}</button> <a class="btn btn-danger" href="{% if action=='Add' %}{{ url_for('.view', ordinal=ordinal) }}{% else %}{{ url_for('.view_status', ordinal=ordinal, index=index) }}{% endif %}">Cancel</a> </form> {% endblock %}