view farol/templates/document/edit_publisher.j2 @ 40:5e6eed63ff07

Replace lists with definition lists in descriptions
author Benoît Allard <benoit.allard@greenbone.net>
date Mon, 06 Oct 2014 15:40:14 +0200
parents 537d25b1593c
children c79082d0d44d
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 textinput, textarea, selectinput, examples %}
{% block title %}Edit the type{% endblock %}

{% block content %}
<form role="form" method="POST">

{% call selectinput("type", "Type", types, publisher._type) %}
<p>The <strong>Document Publisher</strong> <em>Type</em> attribute is an enumerated list containing an array of different document publisher types. Types include:</p>
<dl class="dl-horizontal">
  <dt>Vendor:</dt>
  <dd>Developers or maintainers of information system products or services. This includes all authoritative product vendors, Product Security Incident Response Teams (PSIRTs), and product resellers and distributors, including authoritative vendor partners.</dd>
  <dt>Discoverer:</dt>
  <dd>Individuals or organizations that find vulnerabilities or security weaknesses. This includes all manner of researchers.</dd>
  <dt>Coordinator:</dt>
  <dd>Individuals or organizations that manage a single vendors response or multiple vendors responses to a vulnerability, a security flaw, or an incident. This includes all Computer Emergency/Incident Response Teams (CERTs/CIRTs) or agents acting on the behalf of a researcher.</dd>
  <dt>User:</dt>
  <dd>Everyone using a vendors product.</dd>
  <dt>Other:</dt>
  <dd>Catchall for everyone else. Currently this includes forwarders, republishers, language translators, and miscellaneous contributors.</dd>
</ul>
{% endcall %}
{% call textinput("vendorid", "Vendor ID", "", publisher._vendorid or '') %}
<p>The optional <em>Vendor ID</em> attribute is a unique identifier (OID) that a vendor uses as issued by FIRST under the auspices of IETF. At the time of this writing, OID is a work in progress.</p>
{{ examples(['MarcusCom']) }}
{% endcall %}
{% call textarea("contact", "Contacts Details", "", publisher._contact or '', 3) %}
<p><strong>Contact Details</strong> contains information required to contact the document publisher.</p>
{{ examples(['Name: Captain Sledge Fisthammer<br>Organization: International Space Explorers of America<br>Phone Number: 555-123-4567<br>Fax Number: 555-123-4568<br>Email Address: sledge@foo.com']) }}
{% endcall %}
{% call textarea("authority", "Issuing Authority", "", publisher._authority or '', 3) %}
<p><strong>Issuing Authority</strong> states the name of the issuing party and that partys authority to release the document. In particular, it addresses the partys constituency and responsibilities or other obligations. This element should also include instructions for contacting the issuer.</p>
{{ examples(['The Juniper SIRT (Juniper Networks Security Incident Response Team) is the sole authority regarding vulnerabilities in any Juniper Networks products or services, and coordinates the handling of all aspects of such vulnerabilities from initial discovery or report through public announcements and any subsequent follow-on activities. Additional information is available at http://www.juniper.net/support/security/report_vulnerability.html']) }}
{% endcall %}

<button class="btn btn-primary" type="submit">Update</button>
<a class="btn btn-danger" href="{{ url_for('.view') }}">Cancel</a>
</form>
{% endblock %}

http://farol.wald.intevation.org