The 'save' button has been moved into the footer bar. Its position is now always the same.

fix #180
This commit is contained in:
Antoine Nguyen
2012-01-09 16:06:04 +01:00
parent 8ffed98430
commit baec1f740e
4 changed files with 14 additions and 2 deletions
+7 -1
View File
@@ -483,4 +483,10 @@ div.row label {
.element {
margin: 10px 5px 10px 5px;
}
}
/* Parameters or Preferences */
#footer > #update {
color: #000000;
margin: 2px;
}
+4
View File
@@ -1,4 +1,5 @@
{% extends "admin/settings_header.html" %}
{% load i18n %}
{% block menu %}
{% load admin_extras %}
{% settings_menu "parameters" user %}
@@ -9,3 +10,6 @@
{% include "common/parameters.html" %}
</form>
{% endblock %}
{% block footer %}
<input type="button" id="update" name="update" value="{% trans 'Save' %}" />
{% endblock %}
-1
View File
@@ -1,7 +1,6 @@
{% load i18n %}
{% load admin_extras %}
{% if gparams %}
<p><input style="margin: 5px" type="submit" name="update" value="{% trans 'Save' %}" /></p>
<div id="accordion">
{% for app in gparams %}
<h3 class="toggler atStart">{{ app.name }}</h3>
+3
View File
@@ -14,3 +14,6 @@
{% include "common/parameters.html" %}
</form>
{% endblock %}
{% block footer %}
<input type="button" id="update" name="update" value="{% trans 'Save' %}" />
{% endblock %}