Commit 11a1b088 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Add contact page, Implements #40

parent 9a1266ec
......@@ -58,7 +58,7 @@
<li class="{% if(menu == 'install') %}active{% endif %}"><a href="/install">Install</a></li>
<li><a href="">Contact</a></li>
<li class="{% if(menu == 'contact') %}active{% endif %}"><a href="/contact">Contact</a></li>
</div><!--/.nav-collapse -->
{% extends 'base.html' %}
{% block scripts %}
{{ super() }}
em {
color: red;
font-weight: bold;
#body-container {
background: url("{{ url_for('static', filename='images/contact.svg') }}") no-repeat 0 25px;
background-size: 300px 300px;
height: 350px !important;
h1 {
margin-bottom: 50px !important;
{% endblock %}
{% block content %}
<h1>Contact us</h1>
<p>Please send a mail to <a href="[dgenies] Support"></a>.</p>
<p><em>Important:</em> please keep <strong>[dgenies]</strong> tag at the beginning of the subject of the mail. Otherwise, the response delay will be increased.</p>
{% endblock %}
\ No newline at end of file
......@@ -269,6 +269,10 @@ def install():
toc = Markup(md.toc)
return render_template("documentation.html", menu="install", content=content, toc=toc)
@app.route("/contact", methods=['GET'])
def contact():
return render_template("contact.html", menu="contact")
@app.route("/paf/<id_res>", methods=['GET'])
def download_paf(id_res):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment