Mercurial > farol > farol
view farol/templates/error.j2 @ 147:0f19ece4e7e5
Add logos at multiple places
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Fri, 31 Oct 2014 12:12:48 +0100 |
parents | ce39a5267998 |
children |
line wrap: on
line source
{% extends "layout.j2" %} {% block title %}{{ e }}{% endblock %} {% block content %} <div class="page-header"> <h1>{{ e }}</h1> </div> {% if e.description %}<p>{{ e.description }}</p><hr>{% endif %} {% if e.code != 404 %} <p>Software are not without bugs. Looks like, you found one ... A trace has been written to the logs.</p> <div class="row"> <div class="col-lg-6"> <div class="thumbnail clearfix"> <p>If you keep coming to this page, you might want to delete your document, and start again with a fresh one ...</p> <div class="pull-right">{{ POST_button(url_for('document.delete'), text="Delete document", style="btn-danger") }}</div> </div> </div> <div class="col-lg-6"> <div class="thumbnail clearfix"> <p><strong>First</strong>, you might want to download your document (if it works !)</p> <p><a class="btn btn-success pull-right" href="{{ url_for('render', format_='cvrf', raw=1) }}">Download document</a></p> </div> </div> </div> {% endif %} {% endblock %}