Mercurial > farol > farol
diff 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 |
line wrap: on
line diff
--- a/farol/templates/base.j2 Tue Dec 30 14:10:50 2014 +0100 +++ b/farol/templates/base.j2 Tue Dec 30 14:30:10 2014 +0100 @@ -71,7 +71,7 @@ <li class="dropdown{{ ' active' if active == 'render' }}"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Export <span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> - {% for format in ('cvrf', 'nasl', 'oval') %}<li><a href="{{ url_for('render', format_=format)}}">as {{ format | upper }}</a></li>{% endfor %} + {% for format in ('cvrf', 'nasl', 'oval', 'html') %}<li><a href="{{ url_for('render', format_=format)}}">as {{ format | upper }}</a></li>{% endfor %} </ul> </li> {% endif %}