Mercurial > farol > farol
annotate farol/templates/render.j2 @ 125:67c4b299736e
Update look-and-feel
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Thu, 23 Oct 2014 16:18:30 +0200 |
parents | 891ee029a899 |
children |
rev | line source |
---|---|
0 | 1 {# |
2 # Description: | |
3 # Web Template used in Farol Design | |
4 # | |
5 # Authors: | |
6 # BenoƮt Allard <benoit.allard@greenbone.net> | |
7 # | |
8 # Copyright: | |
9 # Copyright (C) 2014 Greenbone Networks GmbH | |
10 # | |
11 # This program is free software; you can redistribute it and/or | |
12 # modify it under the terms of the GNU General Public License | |
13 # as published by the Free Software Foundation; either version 2 | |
14 # of the License, or (at your option) any later version. | |
15 # | |
16 # This program is distributed in the hope that it will be useful, | |
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 # GNU General Public License for more details. | |
20 # | |
21 # You should have received a copy of the GNU General Public License | |
22 # along with this program; if not, write to the Free Software | |
23 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
24 -#} | |
25 | |
26 {% extends "base.j2" %} | |
27 | |
28 {% block title %}Advisory as {{ format_ }}{% endblock %} | |
29 | |
30 {% set active = 'render' %} | |
31 | |
32 {% block content %} | |
33 <div class='clearfix page-header'> | |
34 <h1>{{ title }} <small>({{ type_ }})</small></h1> | |
35 </div> | |
29
891ee029a899
Offer to download the rendered document.
Benoît Allard <benoit.allard@greenbone.net>
parents:
0
diff
changeset
|
36 <p><a class="btn btn-success" href="{{ url_for('render', format_=format_, raw=1) }}">Download</a></p> |
0 | 37 <pre>{{ doc | escape }}</pre> |
29
891ee029a899
Offer to download the rendered document.
Benoît Allard <benoit.allard@greenbone.net>
parents:
0
diff
changeset
|
38 <p><a class="btn btn-success" href="{{ url_for('render', format_=format_, raw=1) }}">Download</a></p> |
0 | 39 {% endblock %} |