css changes
[unfold.git] / portal / templates / contact.html
index 71318ee..9f2e30e 100644 (file)
@@ -4,34 +4,31 @@
 {{ wizard.form.media }}
 {% endblock %}
 
-{% block unfold1_main %}
+{% block unfold_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>
-</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 class="wrapper" id="ticket-request">
+<h1><img src="{{ STATIC_URL }}img/icon_support_small.png" alt="Open a Ticket" /> OneLab Support</h1>
+
+<p>
+       If you have any diffculties using the portal, please contact us by filling this form below.<br />
+       You can also <a href="mailto:support@myslice.info">e-mail</a> us directly or consult to our <a href="http://trac.myslice.info/" >documentation</a>
+</p>
+
+<div>
+  <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-xs-3 control-label">{{ field.label }}</label>
+      <div class="col-xs-6"> {{ field.errors }} {{ field }} <p class="form-hint">{{ field.help_text }}</p> </div>
     </div>
-  </div>
-{% endfor %}
-<div class="col-md-offset-4 col-md-4">
-  <button class="submit btn btn-default" type="submit">Submit</button>
-</div>
-</fieldset>
-</form>
+    {% endfor %}
+    <div class="col-xs-5">
+    </div>
+    <button class="submit btn btn-default col-xs-2" type="submit">Create Ticket</button>
+  </fieldset>
+  </form>
 </div>
 {% endblock %}