git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
homeview and platformsview now use layout-unfold1 or layout-unfold2 depending on...
[myslice.git]
/
portal
/
templates
/
contact.html
diff --git
a/portal/templates/contact.html
b/portal/templates/contact.html
index
a174a5c
..
3aa9f19
100644
(file)
--- a/
portal/templates/contact.html
+++ b/
portal/templates/contact.html
@@
-4,7
+4,7
@@
{{ wizard.form.media }}
{% endblock %}
{{ wizard.form.media }}
{% endblock %}
-{% block unfold
1
_main %}
+{% block unfold_main %}
<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/onelab.css" />
<div class="onelab-title well well-lg">
<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/onelab.css" />
<div class="onelab-title well well-lg">
@@
-13,18
+13,18
@@
or <a href="http://trac.myslice.info/" >visit us</a></h4>
</div>
or <a href="http://trac.myslice.info/" >visit us</a></h4>
</div>
+<!-- no hint for this form, moreover we need more space to write stuff down
+ so we use a 3-6-3 layout -->
<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">
<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"> {{ field.errors }} {{ field }} <p class="
hint">{{ field.help_text }}</p> </div>
+ <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>
{% endfor %}
</div>
{% endfor %}
- <div class="col-md-offset-4 col-md-4">
- <button class="submit btn btn-default" type="submit">Submit</button>
- </div>
+ <button class="submit btn btn-default col-xs-12" type="submit">Send to Support</button>
</fieldset>
</form>
</div>
</fieldset>
</form>
</div>