comparison farol/templates/error.j2 @ 141:ce39a5267998

Add an export to the error page, and an exploding endpoint
author Benoît Allard <benoit.allard@greenbone.net>
date Tue, 28 Oct 2014 09:55:18 +0100
parents 3a56d5501ffa
children
comparison
equal deleted inserted replaced
140:3a56d5501ffa 141:ce39a5267998
7 <h1>{{ e }}</h1> 7 <h1>{{ e }}</h1>
8 </div> 8 </div>
9 {% if e.description %}<p>{{ e.description }}</p><hr>{% endif %} 9 {% if e.description %}<p>{{ e.description }}</p><hr>{% endif %}
10 {% if e.code != 404 %} 10 {% if e.code != 404 %}
11 <p>Software are not without bugs. Looks like, you found one ... A trace has been written to the logs.</p> 11 <p>Software are not without bugs. Looks like, you found one ... A trace has been written to the logs.</p>
12 <p>If you keep coming to this page, you might want to delete your document, and start again with a fresh one ...</p> 12 <div class="row">
13 <div class="pull-right">{{ POST_button(url_for('document.delete'), text="Delete document", style="btn-danger") }}</div> 13 <div class="col-lg-6">
14 <div class="thumbnail clearfix">
15 <p>If you keep coming to this page, you might want to delete your document, and start again with a fresh one ...</p>
16 <div class="pull-right">{{ POST_button(url_for('document.delete'), text="Delete document", style="btn-danger") }}</div>
17 </div>
18 </div>
19 <div class="col-lg-6">
20 <div class="thumbnail clearfix">
21 <p><strong>First</strong>, you might want to download your document (if it works !)</p>
22 <p><a class="btn btn-success pull-right" href="{{ url_for('render', format_='cvrf', raw=1) }}">Download document</a></p>
23 </div>
24 </div>
25 </div>
14 {% endif %} 26 {% endif %}
15 {% endblock %} 27 {% endblock %}

http://farol.wald.intevation.org