styled settings page

This commit is contained in:
Tom Giannattasio
2012-08-17 17:01:45 -04:00
parent 1bd790fabb
commit a2d0ada82c
2 changed files with 36 additions and 0 deletions

View File

@@ -588,6 +588,41 @@ section.wiki {
/*-----------------
Settings
-----------------*/
#settings_form {
.well {
margin-bottom: 15px;
@include clearfix;
}
.control-group {
float: left;
margin-bottom: 0;
clear: both;
}
label {
margin-left: 15px;
}
.controls {
padding-top: 4px;
}
label,
.controls {
float: right;
}
}
/*-----------------
New

View File

@@ -13,6 +13,7 @@
{% if field.is_hidden %}
{{ field }}
{% else %}
<div id="div_{{ field.auto_id }}" class="clearfix control-group{% if field.errors %} error{% endif %}">
{% if field.label %}
<label for="{{ field.id_for_label }}" class="control-label {% if field.field.required %}requiredField{% endif %}">