Bug 34343: Update style of fixed footer navbar in Z39.50 searches

We use a Bootstrap fixed navbar in the footer of two pages: the popup
Z39.50 searches in cataloging and authorities. The style of these
footers needs to be udpated for the new staff interface design.

This patch also changes the style of the "cancel" controls in these
footers from links to buttons. The popup window in cataloging has been
adjusted to be the same size as the one in authorities.

To test, apply the batch and rebuild the staff interface CSS.

- Go to Cataloging -> New from Z39.50/SRU.
  - In the popup window, the form should fit comfortably in the window.
  - The footer should be white with a grey border at the top, with
    Bootstrap-styled buttons aligned to the right.
- Perform the same test in Authorities -> New from Z39.50/SRU
- Install and enable an additional translation so that you can confirm
  that the language-selection footer still has the correct style.

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Owen Leonard 2023-07-24 10:36:18 +00:00 committed by Tomas Cohen Arazi
parent d8054e30fc
commit 3ac122f47d
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
5 changed files with 14 additions and 6 deletions

View file

@ -3044,8 +3044,6 @@ button,
}
#changelanguage {
background: #FFF none;
border-top: 1px solid rgb(173, 173, 173);
min-height: $language-footer-min-height;
.dropdown-menu {
@ -3078,6 +3076,16 @@ button,
}
.navbar-fixed-bottom {
background: #FFF none;
border-radius: 0;
border-top: 1px solid #ADADAD;
box-shadow: none;
fieldset {
margin: 0;
text-align: right;
}
.navbar-inner {
min-height: 0;
padding: .4em 0;

View file

@ -68,7 +68,7 @@ $(document).ready(function () {
$("#z3950_new").click(function(e){
e.preventDefault();
window.open("/cgi-bin/koha/cataloguing/z3950_auth_search.pl","z3950search",'width=800,height=500,location=yes,toolbar=no,scrollbars=yes,resize=yes');
window.open("/cgi-bin/koha/cataloguing/z3950_auth_search.pl","z3950search",'width=800,height=550,location=yes,toolbar=no,scrollbars=yes,resize=yes');
});
$("#z3950_replace").click(function(e){

View file

@ -465,7 +465,7 @@ function PopupMARCFieldDoc(field) {
function PopupZ3950() {
var strQuery = GetZ3950Terms();
if(strQuery){
window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber | html %]"+strQuery,"z3950search",'width=740,height=450,location=yes,toolbar=no,scrollbars=yes,resize=yes');
window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber | html %]"+strQuery,"z3950search",'width=800,height=550,location=yes,toolbar=no,scrollbars=yes,resize=yes');
}
}

View file

@ -69,7 +69,7 @@
<nav class="navbar navbar-default navbar-fixed-bottom">
<div class="container-fluid">
<fieldset class="action"><input type="submit" id="submit_z3950_search" class="btn btn-primary" value="Search" />
<a class="cancel close" href="#">Cancel</a></fieldset>
<a class="btn btn-default close" href="#">Cancel</a></fieldset>
</div>
</nav>
</form>

View file

@ -110,7 +110,7 @@
<div class="container-fluid">
<fieldset class="action">
<input type="submit" id="submit_z3950_search" class="btn btn-primary" value="Search" />
<a class="cancel close" href="#">Cancel</a>
<a class="btn btn-default close" href="#">Cancel</a>
</fieldset>
</div>
</nav>