From baec1f740e8ddb7f2e41c2cc3cfd3730a25d82c4 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Mon, 9 Jan 2012 16:06:04 +0100 Subject: [PATCH] The 'save' button has been moved into the footer bar. Its position is now always the same. fix #180 --- static/css/default.css | 8 +++++++- templates/admin/parameters.html | 4 ++++ templates/common/parameters.html | 1 - templates/userprefs/preferences.html | 3 +++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/static/css/default.css b/static/css/default.css index ecf374c79..6d5a5ed31 100644 --- a/static/css/default.css +++ b/static/css/default.css @@ -483,4 +483,10 @@ div.row label { .element { margin: 10px 5px 10px 5px; -} \ No newline at end of file +} + +/* Parameters or Preferences */ +#footer > #update { + color: #000000; + margin: 2px; +} diff --git a/templates/admin/parameters.html b/templates/admin/parameters.html index c8b8fd2b4..af17aa99b 100644 --- a/templates/admin/parameters.html +++ b/templates/admin/parameters.html @@ -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" %} {% endblock %} +{% block footer %} + +{% endblock %} diff --git a/templates/common/parameters.html b/templates/common/parameters.html index 50102aa16..a934f9e70 100644 --- a/templates/common/parameters.html +++ b/templates/common/parameters.html @@ -1,7 +1,6 @@ {% load i18n %} {% load admin_extras %} {% if gparams %} -

{% for app in gparams %}

{{ app.name }}

diff --git a/templates/userprefs/preferences.html b/templates/userprefs/preferences.html index 5fd09e9a5..401b56059 100644 --- a/templates/userprefs/preferences.html +++ b/templates/userprefs/preferences.html @@ -14,3 +14,6 @@ {% include "common/parameters.html" %} {% endblock %} +{% block footer %} + +{% endblock %}