Owen Leonard
640124829a
This patch revises the staff client list contents view to better match staff client search results, showing more information and offering more ways to interact with the contents than before. - List contents output has been modified so that the staff client can use XSLT-formatted data just as the OPAC can. As in the OPAC it depends on XSLTResultsDisplay being enabled. - A "toolbar" has been added which is similar to that in search results, offering the option to add items to a Cart, add them to a different list, place multiple holds, remove items from the list, or merge records. - This toolbar has been made to float on scroll like the one on the MARC edit page. - Library and shelving location have been added to the display of call numbers. Call numbers are linked to a search as they are in search results. - Edit links are included just as they are in search results. - Automatic focus on the add by barcode form has been removed so that the page doesn't jump to the bottom unnecessarily. - basket.js's "addMultiple" function has been modified so that it receives an array of checkboxes rather than looking for checkboxes in a specific form. This helps abstract its functionality for use on both search results and lists. results.tt is modified accordingly. - The page layout has been widened to make room for the increased amount of information on the page. - A new "merge" icon has been added to the default Bootstrap sprite. To test: - View both public and private lists in the staff client. - View lists with and without contents. - Test the functionality of options in the toolbar: Add to cart, add to lists, place multiple holds, remove items, merge items. - Test with users with and without cataloging privileges to confirm that catalog-related controls are correctly shown or hidden. - Test with XSLTResultsDisplay set both to "default" and empty. - Since the staff client and OPAC use some of the same code, test that lists in the OPAC have not broken. - Since JavaScript was modified which affects both lists and search results, confirm that adding items to the Cart and Lists from search results hasn't been broken by this patch. Revision corrects conditional display of hold link, hiding it in cases where there are no items or the record's itemtype is not for loan. Also corrected is the behavior of the Cart/List "save" button in order to prevent it from submitting the "remove items" action which is the default for the form. Signed-off-by: jmbroust <jean-manuel.broust@univ-lyon2.fr> Edit: Patch rebased against current master and hard-coded paths to /prog/ corrected. Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
173 lines
No EOL
2.8 KiB
CSS
173 lines
No EOL
2.8 KiB
CSS
#addbibliotabs {
|
|
margin-top : 1em;
|
|
}
|
|
|
|
#addbibliotabs .ui-tabs-panel {
|
|
float : left;
|
|
}
|
|
|
|
.buttonPlus {
|
|
font-weight : bold;
|
|
text-decoration : none;
|
|
}
|
|
|
|
.buttonMinus {
|
|
font-weight : bold;
|
|
text-decoration : none;
|
|
}
|
|
|
|
a.expandfield {
|
|
text-decoration : none;
|
|
}
|
|
|
|
#authoritytabs {
|
|
margin-top : 1em;
|
|
margin-bottom : 1em;
|
|
}
|
|
|
|
.toptabs .ui-tabs-nav li a {
|
|
padding : .2em 1.2em;
|
|
}
|
|
|
|
div.tag {
|
|
clear: both;
|
|
}
|
|
|
|
div.subfield_line {
|
|
padding-bottom: .3em;
|
|
float: left;
|
|
clear: left;
|
|
width: 100%;
|
|
}
|
|
|
|
div.subfield_line label {
|
|
font-size:89%;
|
|
float: left;
|
|
padding-right : .4em;
|
|
width: 16em;
|
|
text-align: left;
|
|
clear:left;
|
|
}
|
|
|
|
.subfieldcode img {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tag_title {
|
|
font-size : 90%;
|
|
padding : .2em 0;
|
|
}
|
|
|
|
.tagnum {
|
|
font-size : 110%;
|
|
font-weight : bold;
|
|
color : #000;
|
|
padding : .1em .3em .1em 0;
|
|
}
|
|
|
|
a.tagnum {
|
|
font-size : 110%;
|
|
font-weight : bold;
|
|
color : #000;
|
|
padding : .1em .3em .1em 0;
|
|
text-decoration : none;
|
|
}
|
|
|
|
.subfield {
|
|
color : #00698a;
|
|
float: left;
|
|
width: 10em;
|
|
text-align:right;
|
|
}
|
|
|
|
.subfieldcode {
|
|
display: block;
|
|
float: left;
|
|
}
|
|
|
|
.labelsubfield {
|
|
float:left;
|
|
}
|
|
|
|
.input_marceditor {
|
|
float:left;
|
|
width:30em;
|
|
}
|
|
|
|
.indicator {
|
|
width: 1em;
|
|
}
|
|
|
|
*html .input_marceditor {
|
|
width : 15em;
|
|
}
|
|
|
|
#cataloguing_additem_newitem fieldset.rows label, #cataloguing_additem_newitem fieldset.rows span.label {
|
|
font-size : 100%;
|
|
width : 25%;
|
|
}
|
|
|
|
#cataloguing_additem_newitem fieldset.rows li {
|
|
padding-bottom : 3px;
|
|
}
|
|
#cataloguing_additem_newitem .input_marceditor {
|
|
width : auto;
|
|
}
|
|
|
|
#cataloguing_additem_newitem textarea.input_marceditor {
|
|
width : 31em;
|
|
}
|
|
|
|
.mandatory_marker {
|
|
color: red;
|
|
}
|
|
.linktools { display: block; white-space: nowrap; }
|
|
.linktools a { font-size : 75%; display:block;text-decoration:none;}
|
|
.linktools a {margin:0 2px;padding:2px;background-color:#FFF;text-align:center; }
|
|
.linktools a:first-child { border-bottom: 1px solid #DDD; }
|
|
.linktools a:hover { background-color: #FFC; }
|
|
.subfield_controls { margin : 0 .5em; }
|
|
.readonly { border-width : 1px; border-style: inset; padding-left : 15px; background: #EEE url(../../img/locked.png) center left no-repeat; width:29em; }
|
|
|
|
#cataloguing_additem_itemlist {
|
|
margin-bottom : 1em;
|
|
}
|
|
.yui-gf div.first {
|
|
width : 19%;
|
|
}
|
|
|
|
.yui-gf .yui-u {
|
|
width: 79.2%;
|
|
}
|
|
|
|
tr.active td {
|
|
background-color: #FFFFCC;
|
|
}
|
|
|
|
tr.active.highlight td {
|
|
background-color: #FEF4B4;
|
|
}
|
|
|
|
#loading {
|
|
background-color: #FFF;
|
|
cursor: wait;
|
|
height: 100%;
|
|
left: 0;
|
|
opacity: .7;
|
|
position: fixed;
|
|
top: 0;
|
|
width: 100%;
|
|
z-index: 1000;
|
|
}
|
|
#loading div {
|
|
background : transparent url(../../img/loading.gif) top left no-repeat;
|
|
font-size : 175%;
|
|
font-weight: bold;
|
|
height: 2em;
|
|
left: 50%;
|
|
margin: -1em 0 0 -2.5em;
|
|
padding-left : 50px;
|
|
position: absolute;
|
|
top: 50%;
|
|
width: 15em;
|
|
} |