diff --git a/css/style.css b/css/style.css index 82317c9..09df15f 100644 --- a/css/style.css +++ b/css/style.css @@ -2550,6 +2550,51 @@ a.ms1-trad-link.btn-aide-trad{ font-size:15px; } +.inscr-mobile-fiche-section--editable{ + padding:0; + overflow:hidden; +} + +.inscr-mobile-fiche-section--editable > .inscr-mobile-fiche-section__title{ + padding:12px 12px 0; + margin-bottom:0; +} + +.inscr-mobile-field-block{ + padding:12px; + border-top:1px solid #eee; +} + +.inscr-mobile-field-block__label{ + font-size:13px; + font-weight:700; + color:#495057; + margin-bottom:8px; +} + +.inscr-mobile-order-row{ + display:flex; + flex-wrap:wrap; + align-items:center; + gap:8px; +} + +.inscr-mobile-statut-placeholder{ + font-size:13px; +} + +.inscr-mobile-fiche-section--buttons{ + padding:12px; +} + +.inscr-mobile-fiche-section--buttons .inscr-mobile-actions .btn{ + margin-bottom:8px; +} + +.inscr-mobile-fiche-section--buttons .inscr-mobile-actions .btn:last-child{ + margin-bottom:0; +} + .inscr-mobile-fiche-section{ border:1px solid #dee2e6; border-radius:6px; diff --git a/php/inc_fx_inscriptions_mobile.php b/php/inc_fx_inscriptions_mobile.php index 6efc61b..ed4ab09 100644 --- a/php/inc_fx_inscriptions_mobile.php +++ b/php/inc_fx_inscriptions_mobile.php @@ -485,11 +485,18 @@ function fxInscrMobileRenderFiche($intEveId, $strLangue, $strBaseUrl, $arrReq, $ echo '
' . fxInscrMobileEsc(fxInscrMobileEpreuveLabel($arrRow['epr_id'], $strLangue)) . '
'; echo ''; - echo '
'; + echo '
'; echo '

' . fxInscrMobileEsc(fxInscrMobileT('inscr_mobile_section_info')) . '

'; echo '
'; echo '
' . fxInscrMobileEsc(fxInscrMobileT('rech_no_commande')) . '
'; - echo '' . fxInscrMobileEsc($arrRow['no_commande']) . '
'; + echo '
'; + echo '' . fxInscrMobileEsc($arrRow['no_commande']) . ''; + $strRenvoi = ($strLangue === 'fr') ? 'RENVOI' : 'RESEND'; + echo ''; + echo '
'; echo '
' . fxInscrMobileEsc(fxInscrMobileT('inscr_mobile_details')) . '
'; echo fxInscrMobileEsc($blnEquipe && fxIsParEquipe($arrRow['pec_id_original'], $arrRow['epr_id']) ? fxInscrMobileT('promoteur_bib_show_teamates') : fxInscrMobileT('epreuve_individuelle')); @@ -497,8 +504,11 @@ function fxInscrMobileRenderFiche($intEveId, $strLangue, $strBaseUrl, $arrReq, $ echo '
' . fxInscrMobileEsc(fxInscrMobileT('inscr_mobile_modified')) . '
' . fxCheckMAJ($arrRow['pec_id_original'], $intParId, $strLangue) . '
'; echo '
'; - echo '
'; - echo '

' . fxInscrMobileEsc(fxInscrMobileT('promoteur_bib_number')) . '

'; + echo '
'; + echo '

' . fxInscrMobileEsc(fxInscrMobileT('inscr_mobile_section_editable')) . '

'; + + echo '
'; + echo '
' . fxInscrMobileEsc(fxInscrMobileT('promoteur_bib_number')) . '
'; echo '
'; echo ''; echo ''; echo '
'; - echo '
'; - echo '

' . fxInscrMobileEsc(fxInscrMobileT('promoteur_bib_enregistre')) . '

'; + echo '
'; + echo '
' . fxInscrMobileEsc(fxInscrMobileT('promoteur_bib_enregistre')) . '
'; echo ''; echo '' . fxInscrMobileEsc($arrRow['no_bib_remis_par']) . '
'; echo '
'; + echo '
'; + echo '
' . fxInscrMobileEsc(fxInscrMobileT('inscr_mobile_statut_label')) . '
'; + echo '
' . fxInscrMobileEsc(fxInscrMobileT('inscr_mobile_statut_soon')) . '
'; + echo '
'; + + echo '
'; + $strStyleEdit = $strStyleCancel = ''; $strStyleRetablir = ' d-none'; if ($blnCancelled) { @@ -527,8 +544,7 @@ function fxInscrMobileRenderFiche($intEveId, $strLangue, $strBaseUrl, $arrReq, $ $strStyleRetablir = ''; } - echo '
'; - echo '

' . fxInscrMobileEsc(fxInscrMobileT('inscr_mobile_section_actions')) . '

'; + echo '
'; echo '
'; echo ''; - $strRenvoi = ($strLangue === 'fr') ? 'RENVOI' : 'RESEND'; - echo ''; - echo '
'; echo '
'; } diff --git a/php/inc_settings.php b/php/inc_settings.php index 5aae130..2cea028 100644 --- a/php/inc_settings.php +++ b/php/inc_settings.php @@ -7,7 +7,7 @@ * Constantes * * **************/ -define('_VERSION_CODE', '4.72.671'); +define('_VERSION_CODE', '4.72.672'); define('_DATE_CODE', '2026-06-18'); //MSIN-4290 define('QR_SECRET_KEY', 'ms1_qr_2026_cle_secrete_longue_et_fixe'); diff --git a/sql/MSIN-inscriptions-mobile-phase1.sql b/sql/MSIN-inscriptions-mobile-phase1.sql index 79e2e6f..586f005 100644 --- a/sql/MSIN-inscriptions-mobile-phase1.sql +++ b/sql/MSIN-inscriptions-mobile-phase1.sql @@ -14,7 +14,10 @@ DELETE FROM info WHERE info_clef IN ( 'inscr_mobile_section_info', 'inscr_mobile_details', 'inscr_mobile_modified', - 'inscr_mobile_section_actions' + 'inscr_mobile_section_actions', + 'inscr_mobile_section_editable', + 'inscr_mobile_statut_label', + 'inscr_mobile_statut_soon' ) AND info_prg = 'compte.php'; INSERT INTO info (info_clef, info_langue, info_texte, info_aide, info_prg, info_description, info_trie, info_actif, info_option1, info_option2, info_option3, info_creation) VALUES @@ -37,4 +40,10 @@ INSERT INTO info (info_clef, info_langue, info_texte, info_aide, info_prg, info_ ('inscr_mobile_modified', 'fr', 'Modifiée', '', 'compte.php', '', 0, 1, '', '', '', NOW()), ('inscr_mobile_modified', 'en', 'Modified', '', 'compte.php', '', 0, 1, '', '', '', NOW()), ('inscr_mobile_section_actions', 'fr', 'Actions', '', 'compte.php', '', 0, 1, '', '', '', NOW()), -('inscr_mobile_section_actions', 'en', 'Actions', '', 'compte.php', '', 0, 1, '', '', '', NOW()); +('inscr_mobile_section_actions', 'en', 'Actions', '', 'compte.php', '', 0, 1, '', '', '', NOW()), +('inscr_mobile_section_editable', 'fr', 'Champs modifiables', '', 'compte.php', '', 0, 1, '', '', '', NOW()), +('inscr_mobile_section_editable', 'en', 'Editable fields', '', 'compte.php', '', 0, 1, '', '', '', NOW()), +('inscr_mobile_statut_label', 'fr', 'Statut', '', 'compte.php', '', 0, 1, '', '', '', NOW()), +('inscr_mobile_statut_label', 'en', 'Status', '', 'compte.php', '', 0, 1, '', '', '', NOW()), +('inscr_mobile_statut_soon', 'fr', 'Bientôt disponible', '', 'compte.php', '', 0, 1, '', '', '', NOW()), +('inscr_mobile_statut_soon', 'en', 'Coming soon', '', 'compte.php', '', 0, 1, '', '', '', NOW());