View | Details | Raw Unified | Return to bug 8664
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/css/preferences.css (+4 lines)
Lines 69-72 h3.collapsed { Link Here
69
69
70
#yui-main {
70
#yui-main {
71
	margin-bottom:2em;
71
	margin-bottom:2em;
72
}
73
#toolbar.floating {
74
    box-shadow: 0 3px 2px 0 rgba(0, 0, 0, 0.5);
75
    border-radius: 0;
72
}
76
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt (-1 / +5 lines)
Lines 6-13 Link Here
6
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/humanmsg.css" />
6
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/humanmsg.css" />
7
<script src="[% themelang %]/lib/jquery/plugins/humanmsg.js" type="text/javascript"></script>
7
<script src="[% themelang %]/lib/jquery/plugins/humanmsg.js" type="text/javascript"></script>
8
<script src="[% themelang %]/js/ajax.js" type="text/javascript"></script>
8
<script src="[% themelang %]/js/ajax.js" type="text/javascript"></script>
9
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
9
<script type="text/javascript">
10
<script type="text/javascript">
10
//<![CDATA[
11
//<![CDATA[
12
    [% UNLESS ( searchfield ) %]$(document).ready(function(){
13
            $('#toolbar').fixFloat();
14
        });[% END %]
11
    // This is here because of its dependence on template variables, everything else should go in js/pages/preferences.js - jpw
15
    // This is here because of its dependence on template variables, everything else should go in js/pages/preferences.js - jpw
12
    var to_highlight = "[% searchfield |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]";
16
    var to_highlight = "[% searchfield |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') %]";
13
    var search_jumped = [% IF ( search_jumped ) %]true[% ELSE %]false[% END %];
17
    var search_jumped = [% IF ( search_jumped ) %]true[% ELSE %]false[% END %];
Lines 49-54 Link Here
49
    <div class="prefs-tab">
53
    <div class="prefs-tab">
50
    <h2>[% TAB.tab_title %] preferences</h2>
54
    <h2>[% TAB.tab_title %] preferences</h2>
51
    <form action="/cgi-bin/koha/admin/preferences.pl" method="post">
55
    <form action="/cgi-bin/koha/admin/preferences.pl" method="post">
56
        [% UNLESS ( searchfield ) %]<div id="toolbar"><button class="save-all submit" type="submit">Save all [% TAB.tab_title %] preferences</button></div>[% END %]
52
        <input type="hidden" name="op" value="save" />
57
        <input type="hidden" name="op" value="save" />
53
        <input type="hidden" name="tab" value="[% TAB.tab %]" />
58
        <input type="hidden" name="tab" value="[% TAB.tab %]" />
54
59
55
- 

Return to bug 8664