40 lines
1.1 KiB
Django/Jinja
40 lines
1.1 KiB
Django/Jinja
{% extends "layout.html.jinja" %}
|
|
{% set title = "Helix Calculator" %}
|
|
{% block contents %}
|
|
{% for warning in context['warning_messages'] %}
|
|
<div class="summary_warning">{{ warning.value }}</div>
|
|
{% endfor %}
|
|
|
|
<div class="form_section">
|
|
<h3>Download</h3>
|
|
</div>
|
|
{% if context['csv_available'] %}
|
|
<div class="download">
|
|
<a href="/result">
|
|
<button>Download AutoCAD import file (.txt)</button>
|
|
</a>
|
|
</div>
|
|
<div class="download">
|
|
<a href="/documentation">
|
|
<button>Download Project Report (.pdf)</button>
|
|
</a>
|
|
</div>
|
|
<div class="download">
|
|
<a href="/bom">
|
|
<button>Download BOM (.txt)</button>
|
|
</a>
|
|
</div>
|
|
|
|
{% if 'SFID' in session %}
|
|
<div class="download">
|
|
<a href="/export-sfdc">
|
|
<button>Export documents to Salesforce</button>
|
|
</a>
|
|
</div>
|
|
{% endif %}
|
|
{% else %}
|
|
Please complete previous steps first!
|
|
{% endif %}
|
|
{% include "navigation_buttons.html.jinja" %}
|
|
{% endblock %}
|