Page Nouvelle Demande: Loading

Showing active form step

All class changes pertaining to step progression will be done on the sds-sectionForm__container element.

The -isActive class should be present on page load on the current step

The -next class should be present on page load on all steps following the active step

The -prev class should be present on page load on all steps preceding the active step

The following classes need to be changed with each step progression:

  • add -isActive and remove -next to the element you want to be shown next
  • add -prev to the step you just completed

Positioning popovers

Documentation on popovers is to be found here.

Frame classes

The following classes need to be present on the sds-snetFrame element for styles to be rendered correctly:

  • -menuToggleVisible
  • -step
  • -menuToggleTop

Progress badge position

The progress bar badge positiong has to be adjusted depending on the progress element's width. sds-progress__badge should be positioned slightly more to the right when either a low or high progress percentage hs been reached, so as not to disappear offscreen on the left or be cut off by the parent element menu's overflow on the right.

<div class="sds-snetFrame -menuToggleVisible -step -menuToggleTop">
    <a href="#frameMain" class="sds-skipNavLink">
        Skip to content
    </a>

    <header class="sds-header -headroom">
        <div class="sds-header__nav">
            <header class="sds-navTopbar sds-snetFrame__header">
                <div class="sds-navTopbar__container">
                    <nav class="sds-navTopbar__inner navbar navbar-expand">
                        <a href="#back" class="sds-navTopbar__back">
                            <span class="sds-iconCircle" aria-hidden="true">

                                <span class="sds-icon sds-icon-chevronleft"></span>

                            </span>

                            <span class="sds-textHelper sds-navTopbar__backText">Accueil</span>
                        </a>
                        <a class="sds-navTopbar__logo navbar-brand" href="#">
                            <img src="../../media/logos/logo-bcee.svg" class="img-fluid" alt="">
                        </a>
                        <div class="sds-navTopbar__centeredContent sds-navTopbar__dropdownWrapper dropdown sds-textHelper">

                            <span>Ouvrir une nouvelle entité</span>

                        </div>
                        <div class="sds-navTopbar__collapse navbar-collapse" id="sds-navTopbar__collapse">
                            <ul class="sds-navTopbar__content navbar-nav">
                                <li class="sds-navTopbar__item sds-navTopbar__dropdownWrapper dropdown">
                                    <button type="button" class="sds-navTopbar__dropdownToggle -avatar dropdown-toggle" data-toggle="dropdown" aria-expanded="false">

                                        <div class="sds-avatar centeredBgi sds-navTopbar__userDropdownAvatar">

                                            <img class="img-fluid" src="../../media/snet/avatars/avatarUser.png" alt="">

                                        </div>
                                        <span class="sds-navTopbar__userDropdownLabel sds-textHelper">Label with Name</span>
                                        <span class="sds-iconCircle" aria-hidden="true">

                                            <span class="sds-icon sds-icon-chevrondown"></span>

                                        </span>

                                    </button>
                                </li>
                            </ul>
                        </div>
                    </nav>
                </div>
            </header>
        </div>
        <div class="sds-header__stepper">
            <nav class="sds-mobileStepper">
                <ul class="sds-mobileStepper__inner list-unstyled">

                    <li class="sds-mobileStepper__item">
                        <div class="sds-progress progress -stepper -small sds-mobileStepper__progressBar">
                            <div class="progress-bar sds-progress__bar" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>

                        </div>
                    </li>

                    <li class="sds-mobileStepper__item">
                        <div class="sds-progress progress -stepper -small sds-mobileStepper__progressBar">
                            <div class="progress-bar sds-progress__bar" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100" aria-current="true"></div>

                        </div>
                    </li>

                    <li class="sds-mobileStepper__item">
                        <div class="sds-progress progress -stepper -small sds-mobileStepper__progressBar">
                            <div class="progress-bar sds-progress__bar" role="progressbar" style="width: 0%" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>

                        </div>
                    </li>

                    <li class="sds-mobileStepper__item">
                        <div class="sds-progress progress -stepper -small sds-mobileStepper__progressBar">
                            <div class="progress-bar sds-progress__bar" role="progressbar" style="width: 0%" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>

                        </div>
                    </li>

                    <li class="sds-mobileStepper__item">
                        <div class="sds-progress progress -stepper -small sds-mobileStepper__progressBar">
                            <div class="progress-bar sds-progress__bar" role="progressbar" style="width: 0%" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>

                        </div>
                    </li>

                </ul>
            </nav>
        </div>
    </header>

    <div class="sds-snetFrame__inner">
        <div class="sds-snetFrame__fader" aria-hidden="true"></div>

        <div class="sds-snetFrame__menuContainer">
            <nav class="sds-snetFrame__menu">

                <div class="sds-snetFrame__menuList">

                    <div class="sds-snetFrame__menuListHeader">
                        <div class="sds-snetFrame__menuListHeaderShownOpen sds-stackMd">
                            <div class="sds-snetFrame__menuListHeaderContent">
                                <div class="h5">RTL Radio • RTL Group</div>
                                <div class="sds-snetFrame__menuListHeaderSubtitle sds-textHelperSmall">Référence : 0539C</div>
                            </div>
                            <div class="sds-snetFrame__menuListHeaderActions sds-btnGroup">
                                <a href="" class="sds-btn -btnSecondary">

                                    <span class="sds-icon sds-icon-visible"></span>

                                    <span class="sds-btn__text">Afficher</span>

                                </a>
                            </div>
                        </div>
                        <div class="sds-snetFrame__menuListHeaderHiddenOpen">
                            <a href="" class="sds-btn -iconBtn -btnSecondary">

                                <span class="sds-icon sds-icon-visible"></span>

                            </a>
                        </div>
                        <div class="sds-snetFrame__menuListHeaderProgress">
                            <div class="sds-progress progress -primary -xtraSmall rounded-0 -hasBadge">
                                <div class="progress-bar sds-progress__bar rounded-0" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>

                                <div class="sds-badge badge -badgeHighlight sds-progress__badge -badgeSm">

                                    25%
                                </div>

                            </div>
                        </div>
                    </div>

                    <ul class="sds-snetFrame__menuListInner list-unstyled">

                        <li class="sds-snetFrame__menuItem -isChecked">
                            <a href="" data-toggle="dropdown" id="cpbShortCutMenu" data-boundary="viewport" data-reference="parent" data-display="static" class="sds-snetFrame__menuLink">

                                <span class="sds-snetFrame__menuItemStep" data-toggle="tooltip" data-title="Identification" data-placement="right" data-boundary="window">

                                    <span class="sds-checkboxDot -isActive sds-snetFrame__menuItemCheckbox" aria-hidden="true"></span>

                                    1
                                </span>

                                <span class="sds-snetFrame__menuItemText">Identification</span>

                            </a>

                        </li>

                        <li class="sds-snetFrame__menuItem -isActive -isOpen">
                            <a href="" class="sds-snetFrame__menuLink">

                                <span class="sds-snetFrame__menuItemStep" data-toggle="tooltip" data-title="Activité" data-placement="right" data-boundary="window">

                                    <div class="sds-snetFrame__menuItemProgress">
                                        <div class="sds-circularProgress">
                                            <svg viewBox="0 0 36 36" class="">

                                                <path class="sds-circularProgress__shape" stroke-dasharray="30, 100" d="M18 2.0845
						  a 15.9155 15.9155 0 0 1 0 31.831
						  a 15.9155 15.9155 0 0 1 0 -31.831" />
                                            </svg>
                                        </div>
                                    </div>

                                    2
                                </span>

                                <span class="sds-snetFrame__menuItemText">Activité</span>

                            </a>

                            <ul class="sds-snetFrame__submenu list-unstyled">

                                <li class="sds-snetFrame__submenuItem -completed">
                                    <a href="" class="sds-snetFrame__submenuLink">
                                        <span class="sds-snetFrame__submenuLinkIndicator" data-toggle="tooltip" data-title="Activité de la société" data-placement="right" data-boundary="window"></span>
                                        <span class="sds-snetFrame__submenuItemText">Activité de la société</span>

                                    </a>
                                </li>

                                <li class="sds-snetFrame__submenuItem -mandatoryFilled">
                                    <a href="" class="sds-snetFrame__submenuLink">
                                        <span class="sds-snetFrame__submenuLinkIndicator" data-toggle="tooltip" data-title="Financial Data" data-placement="right" data-boundary="window"></span>
                                        <span class="sds-snetFrame__submenuItemText">Financial Data</span>

                                    </a>
                                </li>

                                <li class="sds-snetFrame__submenuItem -inProgress">
                                    <a href="" class="sds-snetFrame__submenuLink">
                                        <span class="sds-snetFrame__submenuLinkIndicator" data-toggle="tooltip" data-title="Shadow Banking activity" data-placement="right" data-boundary="window"></span>
                                        <span class="sds-snetFrame__submenuItemText">Shadow Banking activity</span>

                                    </a>
                                </li>

                                <li class="sds-snetFrame__submenuItem -isActive">
                                    <a href="" class="sds-snetFrame__submenuLink">
                                        <span class="sds-snetFrame__submenuLinkIndicator" data-toggle="tooltip" data-title="Predominance of investment" data-placement="right" data-boundary="window"></span>
                                        <span class="sds-snetFrame__submenuItemText">Predominance of investment</span>

                                    </a>
                                </li>

                                <li class="sds-snetFrame__submenuItem">
                                    <a href="" class="sds-snetFrame__submenuLink">
                                        <span class="sds-snetFrame__submenuLinkIndicator" data-toggle="tooltip" data-title="Aim of the company&#39;s structure" data-placement="right" data-boundary="window"></span>
                                        <span class="sds-snetFrame__submenuItemText">Aim of the company&#39;s structure</span>

                                    </a>
                                </li>

                            </ul>

                        </li>

                        <li class="sds-snetFrame__menuItem -isChecked -mandatoryFilled">
                            <a href="" class="sds-snetFrame__menuLink">

                                <span class="sds-snetFrame__menuItemStep" data-toggle="tooltip" data-title="Choix de la banque" data-placement="right" data-boundary="window">

                                    <span class="sds-checkboxDot -isActive sds-snetFrame__menuItemCheckbox" aria-hidden="true"></span>

                                    3
                                </span>

                                <span class="sds-snetFrame__menuItemText">Choix de la banque</span>

                            </a>

                        </li>

                        <li class="sds-snetFrame__menuItem">
                            <a href="" class="sds-snetFrame__menuLink">

                                <span class="sds-snetFrame__menuItemStep" data-toggle="tooltip" data-title="Bénéficiare effectif" data-placement="right" data-boundary="window">

                                    <div class="sds-snetFrame__menuItemProgress">
                                        <div class="sds-circularProgress">
                                            <svg viewBox="0 0 36 36" class="">

                                                <path class="sds-circularProgress__shape" stroke-dasharray="30, 100" d="M18 2.0845
						  a 15.9155 15.9155 0 0 1 0 31.831
						  a 15.9155 15.9155 0 0 1 0 -31.831" />
                                            </svg>
                                        </div>
                                    </div>

                                    4
                                </span>

                                <span class="sds-snetFrame__menuItemText">Bénéficiare effectif</span>

                            </a>

                        </li>

                        <li class="sds-snetFrame__menuItem">
                            <a href="" disabled="true" class="sds-snetFrame__menuLink">

                                <span class="sds-snetFrame__menuItemStep" data-toggle="tooltip" data-title="Représentants" data-placement="right" data-boundary="window">

                                    5
                                </span>

                                <span class="sds-snetFrame__menuItemText">Représentants</span>

                            </a>

                        </li>

                        <li class="sds-snetFrame__menuItem">
                            <a href="" disabled="true" class="sds-snetFrame__menuLink">

                                <span class="sds-snetFrame__menuItemStep" data-toggle="tooltip" data-title="Type de structure" data-placement="right" data-boundary="window">

                                    6
                                </span>

                                <span class="sds-snetFrame__menuItemText">Type de structure</span>

                            </a>

                        </li>

                    </ul>
                    <ul class="sds-snetFrame__settings list-unstyled">

                        <li class="sds-snetFrame__settingsItem sds-snetFrame__settingsOpenMenu">
                            <button type="button" class="sds-snetFrame__settingsButton">
                                <span class="sds-snetFrame__settingsButtonIcon sds-icon sds-icon-chevronrightdouble" data-toggle="tooltip" data-title="Toggle Menu" data-placement="right" data-boundary="window"></span>
                                <span class="sr-only">Déployer le menu</span>
                            </button>
                        </li>
                    </ul>
                </div>
            </nav>
        </div>

        <main class="sds-snetFrame__main" id="frameMain">
            <!-- panel header content start -->

            <!-- panel header content end -->
            <div class="sds-snetFrame__mainContent">
                <!-- main content start -->

                <div class="row justify-content-center h-100 no-bottom-gutter">
                    <div class="col-12 col-lg-10">
                        <div class="sds-sectionForm">

                            <!-- step finalisation -->
                            <div class="sds-sectionForm__container -isActive">
                                <div class="sds-sectionForm__item sds-box -insetLg sds-stackMd">
                                    <div class="sds-sectionForm__itemHeading">
                                        <div class="h3">Finalisation questionnaire</div>
                                    </div>
                                    <div class="sds-sectionForm__itemBody justify-content-center">
                                        <div class="row col-separator">
                                            <div class="col-12 col-md-6">
                                                <div class="sds-stackLg text-center">
                                                    <img src="../../media/corporate-bridge/pages/nouvelle-demande/sdsillu-internalrequest.svg" class="img-fluid" alt="">
                                                    <p>Lorem ipsum dolor sit amet</p>
                                                    <button type="button" class="sds-btn -btnPrimary">

                                                        <span class="sds-btn__text">Validation 4 yeux</span>

                                                    </button>
                                                </div>
                                            </div>
                                            <div class="col-12 col-md-6">
                                                <div class="sds-stackLg text-center">
                                                    <img src="../../media/corporate-bridge/pages/nouvelle-demande/sdsillu-bankreviewb.svg" class="img-fluid" alt="">
                                                    <p>Lorem ipsum dolor sit amet</p>
                                                    <button type="button" class="sds-btn -btnPrimary">

                                                        <span class="sds-btn__text">Soumettre à la banque</span>

                                                    </button>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="sds-sectionForm__itemFooter"></div>
                                </div>
                            </div>
                            <!-- step finalisation -->

                            <!-- step finalisation -->
                            <div class="sds-sectionForm__container -next">
                                <div class="sds-sectionForm__item sds-box -insetLg sds-stackMd">
                                    <div class="sds-sectionForm__itemHeading"></div>
                                    <div class="sds-sectionForm__itemBody">
                                        <div class="row flex-grow-1 align-items-center no-bottom-gutter">
                                            <div class="col-12">
                                                <div class="sds-stackMd text-center">
                                                    <span class="sds-loaderLottie"></span>
                                                    <div class="h2">Envoi de la demande à la banque ...</div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="sds-sectionForm__itemFooter"></div>
                                </div>
                            </div>
                            <!-- step finalisation -->

                        </div>
                    </div>
                </div>

                <!-- main content end -->
            </div>

        </main>
    </div>
</div>
<!-- content such as modals, tooltips, popovers etc should be included here -->

<div class="sds-modal modal fade" id="repetitiveFormsDeletionConfirmationModal" aria-hidden="true" tabindex="-1">
    <div class="sds-modal__dialog modal-dialog modal-sm-loading modal-dialog-centered">
        <div class="sds-modal__content modal-content">

            <div class="sds-modal__header modal-header">

                <div class="sds-modal__title modal-title">Êtes-vous sûr de vouloir éliminer ce représentant ?</div>

                <button type="button" class="sds-btn -iconBtn -btnSecondary -ghost sds-modal__close" data-dismiss="modal" aria-label="Close">

                    <span class="sds-icon sds-icon-close"></span>

                </button>

            </div>

            <div class="sds-modal__body modal-body">

                <p>Si vous décidez d’éliminer ce représentant, toutes les données seront perdues. Êtes-vous sur de vouloir continuer ?</p>

            </div>

            <div class="sds-modal__footer modal-footer">

                <div class="sds-btnGroup">
                    <button type="button" class="sds-btn -btnSecondary -btnInverse" data-dismiss="modal">

                        <span class="sds-btn__text">Annuler</span>

                    </button>
                    <button type="button" class="sds-btn -btnPrimary">

                        <span class="sds-btn__text">Oui, éliminer</span>

                    </button>
                </div>

            </div>

        </div>
    </div>
</div>
{% extends "@cpb-frame--step" %}
{% block panelMainContent %}
	<div class="row justify-content-center h-100 no-bottom-gutter">
		<div class="col-12 col-lg-10">
				<div class="{{ namespace }}sectionForm">

					<!-- step finalisation -->
					<div class="{{ namespace }}sectionForm__container -isActive">
						{% render "@cpb-section-form-step-final-1" %}
					</div>
					<!-- step finalisation -->

					<!-- step finalisation -->
					<div class="{{ namespace }}sectionForm__container -next">
						{% render "@cpb-section-form-step-final-1-loading" %}
					</div>
					<!-- step finalisation -->

				</div>
		</div>
	</div>
{% endblock %}
{% block misc %}
	{% render "@cpb-modal--repetitive-form-fields" %}
{% endblock %}