Mercurial > farol > farol
comparison farol/templates/document/edit_note.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 | debdea976b8a |
children | 5583ddcd6164 |
comparison
equal
deleted
inserted
replaced
39:a21f63c516ec | 40:5e6eed63ff07 |
---|---|
30 {% block content %} | 30 {% block content %} |
31 <form role="form" method="POST"> | 31 <form role="form" method="POST"> |
32 | 32 |
33 {% call selectinput("type", "Type", types, note and note._type or '') %} | 33 {% call selectinput("type", "Type", types, note and note._type or '') %} |
34 <p><em>Type</em> can be one of the following:</p> | 34 <p><em>Type</em> can be one of the following:</p> |
35 <ul> | 35 <dl class="dl-horizontal"> |
36 <li><strong>General</strong>: A general, high-level note (<em>Title</em> may have more information).</li> | 36 <dt>General:</dt> |
37 <li><strong>Details</strong>: A low-level detailed discussion (<em>Title</em> may have more information).</li> | 37 <dd>A general, high-level note (<em>Title</em> may have more information).</dd> |
38 <li><strong>Description</strong>: A description of something (<em>Title</em> may have more information).</li> | 38 <dt>Details:</dt> |
39 <li><strong>Summary</strong>: A summary of something (<em>Title</em> may have more information).</li> | 39 <dd>A low-level detailed discussion (<em>Title</em> may have more information).</dd> |
40 <li><strong>FAQ</strong>: A list of frequently asked questions.</li> | 40 <dt>Description:</dt> |
41 <li><strong>Legal Disclaimer</strong>: Any possible legal discussion, including constraints, surrounding the document.</li> | 41 <dd>A description of something (<em>Title</em> may have more information).</dd> |
42 <li><strong>Other</strong>: Something that doesn’t fit (<em>Title</em> should have more information).</li> | 42 <dt>Summary:</dt> |
43 <dd>A summary of something (<em>Title</em> may have more information).</dd> | |
44 <dt>FAQ:</dt> | |
45 <dd>A list of frequently asked questions.</dd> | |
46 <dt>Legal Disclaimer:</dt> | |
47 <dd>Any possible legal discussion, including constraints, surrounding the document.</dd> | |
48 <dt>Other:</dt> | |
49 <dd>Something that doesn’t fit (<em>Title</em> should have more information).</dd> | |
50 </dl> | |
43 {% endcall %} | 51 {% endcall %} |
44 {% call textinput("ordinal", "Ordinal", "", ordinal or note._ordinal, type="number", required=True, extras={'min': '1'}) %} | 52 {% call textinput("ordinal", "Ordinal", "", ordinal or note._ordinal, type="number", required=True, extras={'min': '1'}) %} |
45 <p><em>Ordinal</em> is a mandatory, locally significant value used to track notes inside a CVRF document at the root (document) level. It is provided to uniquely identify a <strong>Note</strong>.</p> | 53 <p><em>Ordinal</em> is a mandatory, locally significant value used to track notes inside a CVRF document at the root (document) level. It is provided to uniquely identify a <strong>Note</strong>.</p> |
46 <p>There should be one of these values for every <strong>Note</strong> inside <strong>Document Notes</strong>, and it is recommended that <em>Ordinal</em> should be instantiated as a monotonically increasing counter, indexed from 1. Each <em>Ordinal</em> that tracks a <strong>Note</strong> inside <strong>Document Notes</strong> is completely independent from an <em>Ordinal</em> tracking a <strong>Note</strong> inside <strong>Vulnerability/Notes</strong>.</p> | 54 <p>There should be one of these values for every <strong>Note</strong> inside <strong>Document Notes</strong>, and it is recommended that <em>Ordinal</em> should be instantiated as a monotonically increasing counter, indexed from 1. Each <em>Ordinal</em> that tracks a <strong>Note</strong> inside <strong>Document Notes</strong> is completely independent from an <em>Ordinal</em> tracking a <strong>Note</strong> inside <strong>Vulnerability/Notes</strong>.</p> |
47 {% endcall %} | 55 {% endcall %} |