Bug 7645 - System preferences editor save button obscured by language chooser
authorOwen Leonard <oleonard@myacpl.org>
Mon, 5 Mar 2012 17:38:00 +0000 (12:38 -0500)
committerPaul Poulain <paul.poulain@biblibre.com>
Tue, 13 Mar 2012 13:37:24 +0000 (14:37 +0100)
This patch amends the preferences page's CSS file to add
bottom padding to the page container. This gives the bottom-
most submit button some breathing room.

Markup correction: Adding "row" and "col" attributes to
<textareas> to quiet validation errors. This doesn't
affect output at all (dimensions are specified in CSS).

To test, open the system preferences page to a tab like OPAC
which contains many preferences. At the bottom of the page
the last submit button should have about a line's worth of
white space below it.

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/css/preferences.css
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt

index d9fde24..262fe11 100644 (file)
@@ -65,4 +65,8 @@ h3.collapsed {
 .humanMsg strong {
        display: block;
        font-weight: normal;
+}
+
+#yui-main {
+       margin-bottom:2em;
 }
\ No newline at end of file
index d762be7..ed2a964 100644 (file)
@@ -98,7 +98,7 @@
                     </select>
                     [% ELSIF ( CHUNK.type_textarea ) %]
                                        <a class="expand-textarea" style="display: none" href="#">Click to Edit</a>
-                                       <textarea name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "short" %]">[% CHUNK.value %]</textarea>
+                                       <textarea name="pref_[% CHUNK.name %]" id="pref_[% CHUNK.name %]" class="preference preference-[% CHUNK.class or "short" %]" rows="10" cols="40">[% CHUNK.value %]</textarea>
                     [% ELSIF ( CHUNK.type_languages ) %]
                     <dl>
                     [% FOREACH language IN CHUNK.languages %]