Update CSS and PHP for bib management enhancements

This commit introduces several updates to the CSS and PHP files related to the bib management system. Key changes include the addition of overflow handling and layout adjustments in the CSS to improve the display of bib containers and lines. The PHP function for rendering the range lock button is modified to include a new wrapper div for better structure. Additionally, the version code is incremented to reflect these updates. These changes aim to enhance the user interface and maintainability of the bib management features.
This commit is contained in:
2026-07-07 14:55:25 -04:00
parent eca8b34d88
commit 666c4ad180
3 changed files with 55 additions and 22 deletions

View File

@ -1382,6 +1382,12 @@ ul.ms1-menu-compte li a:hover, ul.ms1-menu-compte li a:active {
.epr-block-assign .bib-container{ .epr-block-assign .bib-container{
width:100%; width:100%;
min-width:0; min-width:0;
overflow-x:auto;
-webkit-overflow-scrolling:touch;
}
.epr-block-assign .bib-container .epr-line{
min-width:720px;
} }
.epr-line-header{ .epr-line-header{
@ -1394,6 +1400,20 @@ ul.ms1-menu-compte li a:hover, ul.ms1-menu-compte li a:active {
align-items:center; align-items:center;
justify-content:center; justify-content:center;
min-width:0; min-width:0;
overflow:hidden;
}
#module-bib .epr-line-header .epr-col-header-label{
white-space:normal;
text-align:center;
font-size:10px;
line-height:1.15;
gap:2px;
max-width:100%;
}
#module-bib .epr-line-header .epr-col-stats .epr-col-header-label{
font-size:10px;
} }
.epr-col-header-label{ .epr-col-header-label{
@ -1965,17 +1985,17 @@ a.ms1-trad-link.btn-aide-trad{
.epr-line{ .epr-line{
display:grid; display:grid;
grid-template-columns: grid-template-columns:
36px
36px
minmax(54px, 64px)
minmax(54px, 64px)
20px
minmax(54px, 64px)
minmax(72px, 80px)
40px 40px
40px minmax(152px, 168px)
58px minmax(28px, 40px);
58px gap:6px;
22px
58px
44px
48px
auto
minmax(0, 1fr);
gap:8px;
align-items:center; align-items:center;
width:100%; width:100%;
min-width:0; min-width:0;
@ -1983,15 +2003,15 @@ a.ms1-trad-link.btn-aide-trad{
.bib-container.batch-mode .epr-line{ .bib-container.batch-mode .epr-line{
grid-template-columns: grid-template-columns:
36px
36px
minmax(54px, 64px)
minmax(54px, 64px)
20px
minmax(54px, 64px)
minmax(72px, 80px)
40px 40px
40px minmax(152px, 168px)
58px
58px
22px
58px
44px
48px
auto
28px; 28px;
} }
@ -2073,7 +2093,8 @@ a.ms1-trad-link.btn-aide-trad{
.bib-range-preview{ .bib-range-preview{
grid-column:1 / -1; grid-column:1 / -1;
margin:-2px 0 2px; grid-row:2;
margin:0 0 2px;
font-size:12px; font-size:12px;
line-height:1.3; line-height:1.3;
} }
@ -2083,10 +2104,22 @@ a.ms1-trad-link.btn-aide-trad{
.epr-line .bib-end{ .epr-line .bib-end{
width:100%; width:100%;
min-width:0; min-width:0;
max-width:100%;
padding-left:4px; padding-left:4px;
padding-right:4px; padding-right:4px;
} }
.epr-line .epr-btn-aide-segment{
max-width:100%;
min-width:0;
}
.epr-line .epr-btn-aide-segment > .btn{
min-width:0;
padding-left:6px;
padding-right:6px;
}
.bib-field--idle, .bib-field--idle,
.bib-field--pick, .bib-field--pick,
.bib-field--calc{ .bib-field--calc{

View File

@ -3385,7 +3385,7 @@ function fxBibRenderRangeLockButton(array $range, $epr_id = 0) {
$strIcon = $locked ? 'fa-lock' : 'fa-unlock'; $strIcon = $locked ? 'fa-lock' : 'fa-unlock';
$strTip = $locked ? 'bib_v4_tip_lock_closed' : 'bib_v4_tip_lock_open'; $strTip = $locked ? 'bib_v4_tip_lock_closed' : 'bib_v4_tip_lock_open';
return '<button type="button"' return '<div class="epr-col-lock"><button type="button"'
. ' class="btn btn-sm btn-bib-lock ' . $strClass . '"' . ' class="btn btn-sm btn-bib-lock ' . $strClass . '"'
. ' data-range-id="' . (int)$range['epr_bib_id'] . '"' . ' data-range-id="' . (int)$range['epr_bib_id'] . '"'
. ' data-epr-id="' . (int)$epr_id . '"' . ' data-epr-id="' . (int)$epr_id . '"'
@ -3394,7 +3394,7 @@ function fxBibRenderRangeLockButton(array $range, $epr_id = 0) {
. fxBibTippyAttr($strTip) . fxBibTippyAttr($strTip)
. '>' . '>'
. '<i class="fa ' . $strIcon . '" aria-hidden="true"></i>' . '<i class="fa ' . $strIcon . '" aria-hidden="true"></i>'
. '</button>'; . '</button></div>';
} }
/** Badge « Assignation automatique » sur une ligne de séquence (epr_bib_auto = 1). */ /** Badge « Assignation automatique » sur une ligne de séquence (epr_bib_auto = 1). */

View File

@ -7,7 +7,7 @@
* Constantes * * Constantes *
* *
**************/ **************/
define('_VERSION_CODE', '4.72.729'); define('_VERSION_CODE', '4.72.730');
define('_DATE_CODE', '2026-07-07'); define('_DATE_CODE', '2026-07-07');
//MSIN-4290 //MSIN-4290
define('QR_SECRET_KEY', 'ms1_qr_2026_cle_secrete_longue_et_fixe'); define('QR_SECRET_KEY', 'ms1_qr_2026_cle_secrete_longue_et_fixe');