form and theory

master
fefa4ka 10 years ago
parent d82ceea99f
commit 3381b35e25
  1. 5
      djangocms_forms/templates/djangocms_forms/form_template/default.html
  2. 8
      zsite/static/less/theory.less
  3. 2
      zsite/templates/menu_header.html

@ -60,13 +60,14 @@ var form = {
<label for="{{ field.id_for_label }}">
{{ field.label }}
</label>
{% if field|is_textarea %}
{% if field|is_textarea or field|is_radioselect %}
<div id="help-text-{{ field.auto_id }}" class="help-text">{{ field.help_text|safe }}</div>
{% endif %}
{% if not field|is_checkbox %}
<p>{{ field }}</p>
{% endif %}
{% if not field|is_textarea and field.help_text %}
{% if not field|is_textarea and not field|is_radioselect %}
<div id="help-text-{{ field.auto_id }}" class="help-text">{{ field.help_text|safe }}</div>
{% endif %}
</div>

@ -3,6 +3,8 @@
padding: 5px 15px;
margin-bottom: 30px;
h5 {
padding-left: 22px;
@ -28,4 +30,10 @@
margin-top: 15px;
margin-left: 10px;
}
}
.menu {
.theory {
margin-left: -38px;
}
}

@ -5,7 +5,7 @@
<div class="background-line-pattern"></div>
<ul class="list-unstyled list-inline header-menu header-menu-font {% if current_page.is_home %}main{% endif %}">
{% for child in children %}
<li {% if child.selected %}class="active"{% endif %}>
<li {% if child.selected or child.ancestor %}class="active"{% endif %}>
<a href="{{ child.get_absolute_url }}"><span>{{ child.get_menu_title }}</span></a>
</li>
{% if class and forloop.last and not forloop.parentloop %}{% endif %}

Loading…
Cancel
Save