mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Change the display of the button save or update in settings pages
This commit is contained in:
@@ -4,4 +4,4 @@
|
||||
{% include "common/parameters.html" %}
|
||||
</form>
|
||||
<hr>
|
||||
<a href="#" class="btn btn-primary" id="update" name="update">{% trans 'Save' %}</a>
|
||||
<a href="#" class="btn btn-primary col-lg-offset-7 col-md-offset-8 col-sm-offset-7 col-lg-1 col-md-1 col-sm-2" id="update" name="update">{% trans 'Save' %}</a>
|
||||
@@ -5,5 +5,5 @@
|
||||
id="uprefs_form">{% csrf_token %}
|
||||
{% include "common/parameters.html" %}
|
||||
<hr>
|
||||
<button type="submit" class="btn btn-primary" id="update" name="update">{% trans 'Save' %}</button>
|
||||
<button type="submit" class="btn btn-primary col-lg-offset-7 col-md-offset-8 col-sm-offset-7 col-lg-1 col-md-1 col-sm-2" id="update" name="update">{% trans 'Save' %}</button>
|
||||
</form>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
<form class="form-horizontal" method="POST" action="{% url 'modoboa.core.views.user.profile' %}"
|
||||
id="uprefs_form">{% csrf_token %}
|
||||
{% render_form form %}
|
||||
<div class="form-actions col-lg-3 col-md-2 col-sm-3 col-lg-offset-9 col-md-offset-9 col-sm-offset-9 pull-right">
|
||||
<button type="submit" class="btn btn-primary" id="update" name="update">{% trans 'Update' %}</button>
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-primary col-lg-offset-7 col-md-offset-8 col-sm-offset-7 col-lg-1 col-md-1 col-sm-2" id="update" name="update">{% trans 'Update' %}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
id="uprefs_form">{% csrf_token %}
|
||||
{% render_form form %}
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-primary" id="update" name="update">{% trans 'Update' %}</button>
|
||||
<button type="submit" class="btn btn-primary col-lg-offset-7 col-md-offset-8 col-sm-offset-7 col-lg-1 col-md-1 col-sm-2" id="update" name="update">{% trans 'Update' %}</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
id="uprefs_form">{% csrf_token %}
|
||||
{% render_form form %}
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-primary" id="update" name="update">{% trans 'Update' %}</button>
|
||||
<button type="submit" class="btn btn-primary col-lg-offset-7 col-md-offset-8 col-sm-offset-7 col-lg-1 col-md-1 col-sm-2" id="update" name="update">{% trans 'Update' %}</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -74,8 +74,8 @@ $(document).ready(function() {
|
||||
<div class="well sidebar-nav">
|
||||
<ul id="menu" class="nav nav-list">
|
||||
<li class="nav-header">{% trans "Filter sets" %}</li>
|
||||
<li class="form-group">
|
||||
<select id="curfset" class="col-sm-12 form-control">
|
||||
<li class="form-group col-lg-11 col-md-11 col-sm-11">
|
||||
<select id="curfset" class="form-control">
|
||||
{% if active_script %}
|
||||
<option value="{{ active_script }}">{{ active_script }} ({% trans "active" %})</option>
|
||||
{% endif %}
|
||||
@@ -84,7 +84,9 @@ $(document).ready(function() {
|
||||
{% endfor %}
|
||||
</select>
|
||||
</li>
|
||||
{% sfilters_menu user %}
|
||||
<div class="form-group col-lg-11 col-md-11 col-sm-11">
|
||||
{% sfilters_menu user %}
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user