Mercurial > farol > farol
diff 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 |
line wrap: on
line diff
--- a/farol/templates/document/edit_note.j2 Mon Oct 06 15:19:09 2014 +0200 +++ b/farol/templates/document/edit_note.j2 Mon Oct 06 15:40:14 2014 +0200 @@ -32,14 +32,22 @@ {% call selectinput("type", "Type", types, note and note._type or '') %} <p><em>Type</em> can be one of the following:</p> -<ul> - <li><strong>General</strong>: A general, high-level note (<em>Title</em> may have more information).</li> - <li><strong>Details</strong>: A low-level detailed discussion (<em>Title</em> may have more information).</li> - <li><strong>Description</strong>: A description of something (<em>Title</em> may have more information).</li> - <li><strong>Summary</strong>: A summary of something (<em>Title</em> may have more information).</li> - <li><strong>FAQ</strong>: A list of frequently asked questions.</li> - <li><strong>Legal Disclaimer</strong>: Any possible legal discussion, including constraints, surrounding the document.</li> - <li><strong>Other</strong>: Something that doesn’t fit (<em>Title</em> should have more information).</li> +<dl class="dl-horizontal"> + <dt>General:</dt> + <dd>A general, high-level note (<em>Title</em> may have more information).</dd> + <dt>Details:</dt> + <dd>A low-level detailed discussion (<em>Title</em> may have more information).</dd> + <dt>Description:</dt> + <dd>A description of something (<em>Title</em> may have more information).</dd> + <dt>Summary:</dt> + <dd>A summary of something (<em>Title</em> may have more information).</dd> + <dt>FAQ:</dt> + <dd>A list of frequently asked questions.</dd> + <dt>Legal Disclaimer:</dt> + <dd>Any possible legal discussion, including constraints, surrounding the document.</dd> + <dt>Other:</dt> + <dd>Something that doesn’t fit (<em>Title</em> should have more information).</dd> +</dl> {% endcall %} {% call textinput("ordinal", "Ordinal", "", ordinal or note._ordinal, type="number", required=True, extras={'min': '1'}) %} <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>