Mercurial > farol > farol
comparison farol/templates/base.j2 @ 161:57b65e7765c1
Add support for the new HTML export format
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Tue, 30 Dec 2014 14:30:10 +0100 |
parents | 3500cb0c54d1 |
children |
comparison
equal
deleted
inserted
replaced
160:a7ce1660aaaf | 161:57b65e7765c1 |
---|---|
69 {% block navbar_right %} | 69 {% block navbar_right %} |
70 {% if has_current %} | 70 {% if has_current %} |
71 <li class="dropdown{{ ' active' if active == 'render' }}"> | 71 <li class="dropdown{{ ' active' if active == 'render' }}"> |
72 <a href="#" class="dropdown-toggle" data-toggle="dropdown">Export <span class="caret"></span></a> | 72 <a href="#" class="dropdown-toggle" data-toggle="dropdown">Export <span class="caret"></span></a> |
73 <ul class="dropdown-menu" role="menu"> | 73 <ul class="dropdown-menu" role="menu"> |
74 {% for format in ('cvrf', 'nasl', 'oval') %}<li><a href="{{ url_for('render', format_=format)}}">as {{ format | upper }}</a></li>{% endfor %} | 74 {% for format in ('cvrf', 'nasl', 'oval', 'html') %}<li><a href="{{ url_for('render', format_=format)}}">as {{ format | upper }}</a></li>{% endfor %} |
75 </ul> | 75 </ul> |
76 </li> | 76 </li> |
77 {% endif %} | 77 {% endif %} |
78 {% if caching %} | 78 {% if caching %} |
79 <li class="dropdown"> | 79 <li class="dropdown"> |