Bugzilla – Attachment 56334 Details for
Bug 16239
Upgrade Bootstrap in the staff client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16239: Advanced cataloguing editor changes
Bug-16239-Advanced-cataloguing-editor-changes.patch (text/plain), 4.87 KB, created by
Josef Moravec
on 2016-10-13 10:09:29 UTC
(
hide
)
Description:
Bug 16239: Advanced cataloguing editor changes
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2016-10-13 10:09:29 UTC
Size:
4.87 KB
patch
obsolete
>From 90af31386f92bab243d32957ba841d326a14488b Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Wed, 12 Oct 2016 17:58:44 +0200 >Subject: [PATCH] Bug 16239: Advanced cataloguing editor changes > >--- > koha-tmpl/intranet-tmpl/prog/css/cateditor.css | 8 +++++--- > koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 8 ++++---- > .../intranet-tmpl/prog/en/modules/cataloguing/editor.tt | 15 ++++++++------- > 3 files changed, 17 insertions(+), 14 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/css/cateditor.css b/koha-tmpl/intranet-tmpl/prog/css/cateditor.css >index a854854..800b1a2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/cateditor.css >+++ b/koha-tmpl/intranet-tmpl/prog/css/cateditor.css >@@ -205,14 +205,16 @@ body { > > /*> Search */ > >-#advanced-search-ui, #search-results-ui, #macro-ui { >- padding: 5px; >+#advanced-search-ui .modal-lg, #search-results-ui .modal-lg, #macro-ui .modal-lg { > width: 90%; > } > > .modal-body { > max-height: none; >- padding: 0; >+} >+ >+.modal-lg .modal-body { >+ overflow-y: auto; > } > > #quicksearch-overlay { >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >index d7a325c..6e2d91c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc >@@ -387,7 +387,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > } > > function showResultsBox(data) { >- $('#search-top-pages, #search-bottom-pages').find('.pagination').empty(); >+ $('#search-top-pages, #search-bottom-pages').find('nav').empty(); > $('#searchresults thead tr').empty(); > $('#searchresults tbody').empty(); > $('#search-serversinfo').empty().append('<li>' + _("Loading...") + '</li>'); >@@ -527,7 +527,7 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > var max_page = Math.ceil( data.total_fetched / data.page_size ) - 1; > > if ( cur_page != 0 ) { >- pages.push( '<li><a class="search-nav" href="#" data-offset="' + (data.offset - data.page_size) + '">« ' + _("Previous") + '</a></li>' ); >+ pages.push( '<li><a class="search-nav" href="#" data-offset="' + (data.offset - data.page_size) + '"><span aria-hidden="true">«</span> ' + _("Previous") + '</a></li>' ); > } > > for ( var page = Math.max( 0, cur_page - 9 ); page <= Math.min( max_page, cur_page + 9 ); page++ ) { >@@ -539,10 +539,10 @@ require( [ 'koha-backend', 'search', 'macros', 'marc-editor', 'marc-record', 'pr > } > > if ( cur_page < max_page ) { >- pages.push( ' <li><a class="search-nav" href="#" data-offset="' + (data.offset + data.page_size) + '">' + _("Next") + ' »</a></li>' ); >+ pages.push( ' <li><a class="search-nav" href="#" data-offset="' + (data.offset + data.page_size) + '">' + _("Next") + ' <span aria-hidden="true">»</span></a></li>' ); > } > >- $( '#search-top-pages, #search-bottom-pages' ).find( '.pagination' ).html( pages.length > 1 ? ( '<ul>' + pages.join( '' ) + '</ul>' ) : '' ); >+ $( '#search-top-pages, #search-bottom-pages' ).find( 'nav' ).html( pages.length > 1 ? ( '<ul class="pagination pagination-sm">' + pages.join( '' ) + '</ul>' ) : '' ); > > var $overlay = $('#search-overlay'); > $overlay.find('span').text(_("Loading")); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt >index d0f07c7..dd3ab74 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt >@@ -105,8 +105,8 @@ > <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">Ã</button> > <h3 id="advanced-search-title">Advanced search</h3> > </div> >- >-<form id="advanced-search" class="modal-body"> >+<div class="modal-body"> >+ <form id="advanced-search"> > <div class="row"> > <div class="col-md-3"> > <div id="search-facets"> >@@ -172,7 +172,8 @@ > </ul> > </div> > </div> >-</form> >+ </form> >+</div> > </div> > </div> > </div> >@@ -199,8 +200,8 @@ > <!-- tabindex attribute allows JS-controlled focus --> > <div id="searchresults" tabindex="-1"> > <div id="search-top-pages"> >- <div class="pagination pagination-small"> >- </div> >+ <nav aria-label="Search results navigation"> >+ </nav> > </div> > > <table> >@@ -211,8 +212,8 @@ > </table> > > <div id="search-bottom-pages"> >- <div class="pagination pagination-small"> >- </div> >+ <nav aria-label="Search results navigation"> >+ </nav> > </div> > </div> > </div> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16239
:
56159
|
56160
|
56161
|
56162
|
56163
|
56201
|
56329
|
56330
|
56331
|
56332
|
56333
|
56334
|
56335
|
56529
|
56530
|
56531
|
56532
|
56533
|
56534
|
56535
|
56536
|
56537
|
56538
|
56539
|
56563
|
56729
|
56730
|
56731
|
56732
|
57016
|
57017
|
57018
|
57019
|
57020
|
57021
|
57022
|
57374
|
57375
|
57376
|
57377
|
57378
|
57379
|
57381
|
57416
|
57417
|
57418
|
57419
|
57420
|
57772
|
57773
|
57774
|
57775
|
57776
|
58067
|
58068
|
58069
|
58070
|
58071
|
58317
|
58318
|
58319
|
58320
|
58321
|
58322
|
58323
|
58678
|
58679
|
58680
|
58681
|
58682
|
58683
|
58691
|
58697
|
58722
|
58729
|
58731
|
58732
|
58733
|
58734
|
58735
|
58736
|
58737
|
58738