annotate 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
rev   line source
0
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
1 {#
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
2 # Description:
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
3 # Web Template used in Farol Design
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
4 #
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
5 # Authors:
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
6 # Benoît Allard <benoit.allard@greenbone.net>
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
7 #
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
8 # Copyright:
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
9 # Copyright (C) 2014 Greenbone Networks GmbH
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
10 #
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
11 # This program is free software; you can redistribute it and/or
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
12 # modify it under the terms of the GNU General Public License
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
13 # as published by the Free Software Foundation; either version 2
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
14 # of the License, or (at your option) any later version.
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
15 #
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
16 # This program is distributed in the hope that it will be useful,
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
19 # GNU General Public License for more details.
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
20 #
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
21 # You should have received a copy of the GNU General Public License
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
22 # along with this program; if not, write to the Free Software
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
23 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
24 -#}
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
25
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
26 {% extends "base.j2" %}
35
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
27 {% from "macros.j2" import textinput, textarea, selectinput, examples %}
0
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
28 {% block title %}Edit the type{% endblock %}
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
29
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
30 {% block content %}
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
31 <form role="form" method="POST">
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
32
35
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
33 {% call selectinput("type", "Type", types, publisher._type) %}
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
34 <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>
40
5e6eed63ff07 Replace lists with definition lists in descriptions
Benoît Allard <benoit.allard@greenbone.net>
parents: 35
diff changeset
35 <dl class="dl-horizontal">
5e6eed63ff07 Replace lists with definition lists in descriptions
Benoît Allard <benoit.allard@greenbone.net>
parents: 35
diff changeset
36 <dt>Vendor:</dt>
5e6eed63ff07 Replace lists with definition lists in descriptions
Benoît Allard <benoit.allard@greenbone.net>
parents: 35
diff changeset
37 <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>
5e6eed63ff07 Replace lists with definition lists in descriptions
Benoît Allard <benoit.allard@greenbone.net>
parents: 35
diff changeset
38 <dt>Discoverer:</dt>
5e6eed63ff07 Replace lists with definition lists in descriptions
Benoît Allard <benoit.allard@greenbone.net>
parents: 35
diff changeset
39 <dd>Individuals or organizations that find vulnerabilities or security weaknesses. This includes all manner of researchers.</dd>
5e6eed63ff07 Replace lists with definition lists in descriptions
Benoît Allard <benoit.allard@greenbone.net>
parents: 35
diff changeset
40 <dt>Coordinator:</dt>
5e6eed63ff07 Replace lists with definition lists in descriptions
Benoît Allard <benoit.allard@greenbone.net>
parents: 35
diff changeset
41 <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>
5e6eed63ff07 Replace lists with definition lists in descriptions
Benoît Allard <benoit.allard@greenbone.net>
parents: 35
diff changeset
42 <dt>User:</dt>
5e6eed63ff07 Replace lists with definition lists in descriptions
Benoît Allard <benoit.allard@greenbone.net>
parents: 35
diff changeset
43 <dd>Everyone using a vendors product.</dd>
5e6eed63ff07 Replace lists with definition lists in descriptions
Benoît Allard <benoit.allard@greenbone.net>
parents: 35
diff changeset
44 <dt>Other:</dt>
5e6eed63ff07 Replace lists with definition lists in descriptions
Benoît Allard <benoit.allard@greenbone.net>
parents: 35
diff changeset
45 <dd>Catchall for everyone else. Currently this includes forwarders, republishers, language translators, and miscellaneous contributors.</dd>
35
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
46 </ul>
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
47 {% endcall %}
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
48 {% call textinput("vendorid", "Vendor ID", "", publisher._vendorid or '') %}
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
49 <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>
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
50 {{ examples(['MarcusCom']) }}
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
51 {% endcall %}
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
52 {% call textarea("contact", "Contacts Details", "", publisher._contact or '', 3) %}
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
53 <p><strong>Contact Details</strong> contains information required to contact the document publisher.</p>
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
54 {{ 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']) }}
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
55 {% endcall %}
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
56 {% call textarea("authority", "Issuing Authority", "", publisher._authority or '', 3) %}
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
57 <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>
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
58 {{ 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']) }}
537d25b1593c Add Descriptions to the fields of the edit_publisher page
Benoît Allard <benoit.allard@greenbone.net>
parents: 10
diff changeset
59 {% endcall %}
0
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
60
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
61 <button class="btn btn-primary" type="submit">Update</button>
10
6594ff7c37b4 Fix a few links
Benoît Allard <benoit.allard@greenbone.net>
parents: 7
diff changeset
62 <a class="btn btn-danger" href="{{ url_for('.view') }}">Cancel</a>
0
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
63 </form>
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
64 {% endblock %}

http://farol.wald.intevation.org