replaced support@myslice.info with support@onelab.eu
[myslice.git] / portal / templates / contact.html
index 71318ee..98e2c0b 100644 (file)
@@ -1,37 +1,41 @@
-{% extends "layout-unfold1.html" %}
+{% extends "layout.html" %}
 
 {% block head %}
 {{ wizard.form.media }}
 {% endblock %}
 
-{% block unfold1_main %}
-
-<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/onelab.css" />
-<div class="onelab-title well well-lg">
-  <h2>Onelab Support</h2>
-  <h4>If you have already registered, then please <a href="mailto:support@myslice.info">send an e-mail</a>
-  or <a href="http://trac.myslice.info/" >visit us</a></h4>
+{% block content %}
+<div class="row">
+       <div class="col-md-12">
+       <h1><img src="{{ STATIC_URL }}icons/support-xs.png" alt="Open a Ticket" /> Support</h1>
+       </div>
 </div>
-
-<div class='well'>
-<form class="cmxform form-horizontal" id="commentForm" action="#" method="post" role="form">{% csrf_token %}
-<fieldset>
-  {% for field in form %}
-  <div class="form-group">
-    <label for="{{ field.html_name }}" class="col-md-4 control-label">{{ field.label }}</label>
-    <div class="col-md-4">
-<!--      <input type="{{ field.my_html_type }}" name="{{ field.html_name }}" 
-            class="required form-control" value="{{ field.value }}" 
-            placeholder="{{ field.label }}" /> -->
-          {{ field }} <p class="hint">{{ field.help_text }}</p>
-    </div>
-  </div>
-{% endfor %}
-<div class="col-md-offset-4 col-md-4">
-  <button class="submit btn btn-default" type="submit">Submit</button>
+<div class="row">
+       <div class="col-md-12">&nbsp;</div>
 </div>
-</fieldset>
-</form>
+<div class="row">
+       <div class="col-md-12">
+       <p>Please check our <a href="/portal/support/">FAQ</a> section. Most of the basic problems are explained there.</p>
+       <p>
+       If you haven't find your answes in the FAQ, please contact us by filling the form below.<br />
+       You can also <a href="mailto:support@onelab.eu">e-mail</a> us directly.
+       </p>
+       </div>
+</div>
+
+<div class="row">
+       <div class="col-md-4">
+               <form role="form" method="post">
+               {% csrf_token %}
+               {% for field in form %}
+           <div class="form-group">
+               <label for="{{ field.html_name }}" class="control-label">{{ field.label }}</label>
+               {{ field.errors }} {{ field }}
+           </div>
+           {% endfor %}
+               <button type="submit" class="btn btn-onelab">Create Ticket</button>
+               </form>
+       </div>
 </div>
 {% endblock %}