From 176ad29a1f38789337c5e12d02875e5de0bf37bd Mon Sep 17 00:00:00 2001
From: Floreal Cabanettes <floreal.cabanettes@inra.fr>
Date: Wed, 21 Feb 2018 11:59:53 +0100
Subject: [PATCH] Add developer support on contact page

---
 src/dgenies/static/images/contact.svg |  6 +++---
 src/dgenies/templates/contact.html    | 18 +++++++++++++++---
 2 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/src/dgenies/static/images/contact.svg b/src/dgenies/static/images/contact.svg
index 1ceb2a5..77bffa5 100644
--- a/src/dgenies/static/images/contact.svg
+++ b/src/dgenies/static/images/contact.svg
@@ -40,7 +40,7 @@
      id="namedview18"
      showgrid="false"
      inkscape:zoom="7.375"
-     inkscape:cx="-10.779661"
+     inkscape:cx="-37.559322"
      inkscape:cy="16"
      inkscape:window-x="58"
      inkscape:window-y="0"
@@ -64,12 +64,12 @@
   </g>
   <g
      id="g13"
-     style="fill:#eeeeee;fill-opacity:1">
+     style="fill:#f4f4f4;fill-opacity:1">
     <title
        id="title15">Layer 1</title>
     <path
        id="mail-envelope-open"
        d="m20.63815,20l-2.21758,1.98279l0.09938,-0.00052l0,0l-0.01995,0.01773l-3.37851,0l1.6967,-0.00885l0,0l-2.26719,-0.01084l-2.24435,-1.98031l8.3315,0l0,0zm1.11842,-1l3.24343,-2.90002l0,-8.09135c0,-0.55705 -0.45471,-1.00863 -0.99996,-1.00863l-15.00008,0c-0.55226,0 -0.99996,0.44374 -0.99996,1.00208l0,8.19793l3.17332,2.79999l10.58325,0l0,0zm-8.66566,-13l3.40909,-3l3.40909,3l4.09349,0c1.10649,0 1.99742,0.89526 1.99742,1.99961l0,3.36039l3,2.64l0,14.00594c0,1.09955 -0.89704,1.99406 -2.00359,1.99406l-20.99282,0c-1.11383,0 -2.00359,-0.89277 -2.00359,-1.99406l0,-14.00594l3,-2.64l0,-3.36039c0,-1.11218 0.89428,-1.99961 1.99742,-1.99961l4.09349,0l0,0l0,0zm5.33692,0l-1.92783,-1.7l-1.92783,1.7l3.85566,0l0,0l0,0zm7.57217,6.67727l1.5,1.32273l-1.5,1.33333l0,-2.65606l0,0l0,0zm-19,2.65606l-1.5,-1.33333l1.5,-1.32273l0,2.65606l0,0l0,0zm6.5,7.66667l-7,6l20,0l-7,-6l-6,0l0,0zm14.18514,5.72517l-7.68514,-6.70808l8,-7.01709l0,6.50002l0,6.50002c0,0.28311 -0.12101,0.54182 -0.31486,0.72513l0,0l0,0zm-22.37028,0l7.68514,-6.70808l-8,-7.01709l0,6.50002l0,6.50002c0,0.28311 0.12101,0.54182 0.31486,0.72513l0,0l0,0zm4.68514,-18.72517l0,1l13,0l0,-1l-13,0l0,0zm0,3l0,1l13,0l0,-1l-13,0l0,0zm0,3l0,1l13,0l0,-1l-13,0l0,0z"
-       style="fill:#eeeeee;fill-opacity:1" />
+       style="fill:#f4f4f4;fill-opacity:1" />
   </g>
 </svg>
diff --git a/src/dgenies/templates/contact.html b/src/dgenies/templates/contact.html
index cb8a48e..c0522a9 100644
--- a/src/dgenies/templates/contact.html
+++ b/src/dgenies/templates/contact.html
@@ -7,9 +7,8 @@
             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;
+            background: url("{{ url_for('static', filename='images/contact.svg') }}") no-repeat 0 30px;
+            background-size: 200px 200px;
         }
         h1 {
             margin-bottom: 50px !important;
@@ -20,7 +19,20 @@
 
     <h1>Contact us</h1>
 
+    <h2>User support</h2>
+
     <p>Please send a mail to <a href="mailto:support.bioinfo.genotoul@inra.fr?subject=[dgenies-support] ">support.bioinfo.genotoul@inra.fr</a>.</p>
     <p><em>Important:</em> please keep <strong>[dgenies-support]</strong> tag at the beginning of the subject of the mail. Otherwise, the response delay will be increased.</p>
 
+    <h2>Developer support</h2>
+
+    <p>For any development support, including:</p>
+
+        <ul>
+            <li>Bug report</li>
+            <li>Feature request</li>
+            <li>...</li>
+        </ul>
+    <p>please submit an issue to our <a href="https://github.com/genotoul-bioinfo/dgenies/issues" target="_blank">github repository</a>.</p>
+
 {% endblock %}
\ No newline at end of file
-- 
GitLab