Change the display of the modal checkboxs and scan button

This commit is contained in:
Maël Solard
2014-08-07 18:38:42 +02:00
parent f973400f01
commit 52cfb464fb
3 changed files with 21 additions and 5 deletions
@@ -4,8 +4,8 @@
<div class="input-group">
<label class="control-label col-lg-1 col-md-2 col-sm-3">{% trans "Thresholds" %}</label>
<div class="col-lg-11 col-md-10 col-sm-9">
{{ form.spam_tag2_level }} <span class="help-inline">{% trans "or more is spam" %}</span><br>
{{ form.spam_kill_level }} <span class="help-inline">{% trans "or more throw spam message away" %}</span>
{{ form.spam_tag2_level }} <span class="help-inline pull-right">{% trans "or more is spam" %}</span><br>
{{ form.spam_kill_level }} <span class="help-inline pull-right">{% trans "or more throw spam message away" %}</span>
</div>
</div>
{% render_field_with_activator form.spam_subject_tag2 _("default") %}
@@ -1,2 +1,2 @@
{% extends "common/generic_field.html" %}{% load i18n %}
{% block extra_controls %}<a id="btnscan" class="btn btn-success" style="margin-bottom: 8px" href="{% url 'modoboa.extensions.postfix_relay_domains.views.scan_for_services' %}">{% trans "Scan" %}</a>{% endblock %}
{% block extra_controls %}<a id="btnscan" class="btn btn-success pull-right" style="margin-top: 2px" href="{% url 'modoboa.extensions.postfix_relay_domains.views.scan_for_services' %}">{% trans "Scan" %}</a>{% endblock %}
+18 -2
View File
@@ -229,8 +229,11 @@ div.container-fluid div.row-fluid .well div.side-bar-responsive li:hover a{
/* Bottom navBar*/
.nav-bottom {
margin-top: 80px;
}
.navbar-fixed-bottom {
bottom: -6px;
position: fixed;
}
@@ -309,4 +312,17 @@ div.container-fluid div.row-fluid .well div.side-bar-responsive li:hover a{
.label{
margin-left:1px;
}
}
/* modals */
.modal-body .form-group input[type='checkbox'] {
margin: 11px 0 0;
}
.modal-body .form-group span.help-inline{
margin-top: 8px;
}