MSIN-4467 — Update CSS for bib tool navigation layout, modifying grid structure for improved responsiveness. Enhance JavaScript logic to include additional tools in operations section. Remove deprecated navigation elements from the PHP rendering function. Increment version code.
This commit is contained in:
@ -1230,8 +1230,7 @@ ul.ms1-menu-compte li a:hover, ul.ms1-menu-compte li a:active {
|
||||
}
|
||||
|
||||
#module-bib .bib-tool-nav--operations{
|
||||
grid-template-columns:minmax(0, 1fr);
|
||||
max-width:520px;
|
||||
grid-template-columns:repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
#module-bib .bib-tool-nav--settings{
|
||||
@ -1244,10 +1243,6 @@ ul.ms1-menu-compte li a:hover, ul.ms1-menu-compte li a:active {
|
||||
margin-top:auto;
|
||||
}
|
||||
|
||||
#module-bib .bib-tool-nav--group-bibs{
|
||||
grid-template-columns:repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
#module-bib .bib-tool-btn:nth-child(4){
|
||||
grid-column:1;
|
||||
}
|
||||
|
||||
@ -540,7 +540,7 @@
|
||||
if (toolId === 'event_config') {
|
||||
return 'settings';
|
||||
}
|
||||
if (toolId === 'global_batch') {
|
||||
if (toolId === 'global_batch' || toolId === 'anomalies' || toolId === 'dist_print') {
|
||||
return 'operations';
|
||||
}
|
||||
return 'preparation';
|
||||
|
||||
@ -4871,10 +4871,6 @@ function renderBibPreparationOverview(array $tabEpreuves, $strAnomBadges = '') {
|
||||
</div>
|
||||
<?php } ?>
|
||||
</dl>
|
||||
<nav class="bib-tool-nav bib-tool-nav--group bib-tool-nav--group-bibs" aria-label="<?php echo fxBibEsc(fxBibTexte('bib_v5_group_bibs', 0)); ?>">
|
||||
<?php echo renderBibToolNavBtn('anomalies', 'bib_v4_anomalies_title', $strAnomBadges); ?>
|
||||
<?php echo renderBibToolNavBtn('dist_print', 'bib_v4_dist_print_title'); ?>
|
||||
</nav>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
@ -4995,6 +4991,8 @@ function renderBibToolNav($int_eve_id, $tabEpreuves, $strLangue = 'fr') {
|
||||
<?php if (fxBibGlobalBatchToolIsAvailable($int_eve_id, $tabEpreuves)) {
|
||||
echo renderBibToolNavBtn('global_batch', 'bib_v4_global_batch_title');
|
||||
} ?>
|
||||
<?php echo renderBibToolNavBtn('anomalies', 'bib_v4_anomalies_title', $strAnomBadges); ?>
|
||||
<?php echo renderBibToolNavBtn('dist_print', 'bib_v4_dist_print_title'); ?>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user