Bug 12116 - Move fixFloat jQuery plugin outside of language-specific directory
This patch moves the fixFloat jQuery plugin to intranet-tmpl/prog/lib/jquery/plugins so that it will not be duplicated for each set of translated templates. This patch also includes a change to staff-global.css to override some style the floating toolbar inherited when we added Bootstrap widgets. To test, apply the patch and confirm that the toolbar "sticks" to the top of the screen when scrolling down on the following pages: - System preferences - Authorities editor (Authorities -> New authority) - Cataloging editor (Cataloging -> New record) - List contents view (Lists -> View a list's contents) Followed test plan. Patch behaves as expected. Signed-off-by: Marc Veron <veron@veron.ch> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
3b4fd63d11
commit
84c3587d03
6 changed files with 11 additions and 4 deletions
|
@ -2611,11 +2611,18 @@ fieldset.rows table.mceListBox {
|
|||
}
|
||||
|
||||
/* Class to be added to toolbar when it starts being fixed at the top of the screen*/
|
||||
|
||||
.floating {
|
||||
-webkit-box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, .5);
|
||||
box-shadow: 0px 3px 2px 0px rgba(0, 0, 0, .5);
|
||||
}
|
||||
|
||||
div#toolbar.floating,
|
||||
#searchheader.floating {
|
||||
border-radius: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.inline {
|
||||
display : inline;
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
[% IF ( bidi ) %]
|
||||
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" />
|
||||
[% END %]
|
||||
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
|
||||
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
[% UNLESS ( searchfield ) %]$(document).ready(function(){
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Koha › Authorities › [% IF ( authid ) %]Modify authority #[% authid %] ([% authtypetext %])[% ELSE %]Adding authority ([% authtypetext %])[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
|
||||
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
|
||||
<script type="text/javascript" src="[% themelang %]/js/cataloging.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>Koha › Cataloging › [% IF ( biblionumber ) %]Editing [% title |html %] (Record number [% biblionumber %])[% ELSE %]Add MARC record[% END %]</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
|
||||
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
|
||||
<script type="text/javascript" src="[% themelang %]/js/cataloging.js"></script>
|
||||
[% INCLUDE 'browser-strings.inc' %]
|
||||
<!--[if lt IE 9]>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
[% IF ( viewshelf ) %]
|
||||
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
|
||||
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
|
||||
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.fixFloat.js"></script>
|
||||
[% END %]
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
|
|
Loading…
Reference in a new issue