Modal Base: Eurotransfert Modifier Transaction Bulk

See "img upload" in sidebar snet/molecules for variants, or go to info panel and look for it in "references" (@snet-img-upload)

Refer to modal frame found in view tab for complete structure without content.

A modal's default size is 640px

Modifier classes for modals

  • modal-sm: 480px
  • modal-md: 720px (mainly used for modals containing images)
  • modal-lg: 896px
  • modal-xl: 1120px

Content loading

A modal with a content loading component behaves as follows:

  • It has a second body element with the -isLoading class that is hidden by default, and shown only when ...
  • ... the -contentLoading modifier is applied to the modal element ...
  • ... which in turn hides the regular modal body element which into which the content is injected
<div class="sds-modal modal fade -bodySecondary06" id="eurotransfertModifierTransactionBulk" aria-hidden="true" tabindex="-1">
    <div class="sds-modal__dialog modal-dialog modal-lg modal-dialog-centered">
        <div class="sds-modal__content modal-content">

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

                <div class="sds-modal__title modal-title">Modifier Eurotransfert</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">

                <div class="sds-stackMd">

                    <div class="sds-transactionChain -operationsShown">
                        <div class="sds-transactionChain__transactions">
                            <div class="sds-transactionBlock sds-box ">
                                <div class="sds-transactionBlock__inner">
                                    <div class="sds-transactionBlock__row -first">
                                        <div class="sds-transactionBlock__rowOuter sds-staticStackMd w-100">
                                            <div class="sds-transactionBlock__rowInner">
                                                <div class="sds-transactionBlock__mainInfo">
                                                    <div class="sds-transactionBlock__mainInfoAccount">

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

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

                                                        </div>
                                                        <div class="sds-stackXxs">
                                                            <div>Compte Epicerie Fournisseurs</div>
                                                            <div class="sds-transactionBlock__meta sds-textHelper">
                                                                LU63 0000 2200 3300 4400
                                                            </div>
                                                            <div class="sds-badge badge -badgePrimary -badgeTonal">

                                                                not visible
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="d-flex justify-content-end flex-grow-1">
                                                        <div class="sds-transactionBlock__col sds-stackXxs text-right">
                                                            <div>
                                                                <div class="sds-transactionBlock__meta sds-textHelper">
                                                                    Date d'exécution
                                                                </div>
                                                                <div class="sds-textSemiBold">23.03.2022</div>
                                                            </div>

                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="sds-transactionChain__operations sds-box -insetLg">
                            <div class="row row-sm">
                                <div class="col-6">
                                    <div class="sds-stepInput">
                                        <div class="sds-stepInput__item">
                                            <div class="sds-stepInput__stepIcon">
                                                <div class="sds-stepInput__circle">
                                                    <span class="sds-iconCircle -secondary100Outline -small" aria-hidden="true">

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

                                                    </span>

                                                </div>
                                            </div>
                                            <div class="sds-stepInput__input">
                                                <div class="form-group">
                                                    <label for="" class="sds-label -labelForm">
                                                        Montant

                                                    </label>
                                                    <div class="sds-input -hasShadow">
                                                        <input id="" class="sds-input form-control" type="number" placeholder="0" value="23.000€">

                                                        <div class="sds-input__shadowInput form-control" aria-hidden="true">
                                                            <div class="sds-input__shadowValue">
                                                                23.000€
                                                            </div>
                                                            <div class="sds-input__shadowCurrency"></div>
                                                        </div>

                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="sds-stepInput__item">
                                            <div class="sds-stepInput__stepIcon">
                                                <div class="sds-stepInput__circle">

                                                    <div class="sds-avatar centeredBgi -avatarSm -bank">

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

                                                    </div>
                                                </div>
                                            </div>
                                            <div class="sds-stepInput__input">
                                                <div class="form-group">
                                                    <label for="" class="sds-label -labelForm">
                                                        Compte bénéficiaire

                                                    </label>
                                                    <div class="sds-input -autocomplete">
                                                        <input class="sds-input form-control" type="text" placeholder="Sélectionnez un compte" value="LU55 0030 0566 9076 0000">

                                                        <div class="sds-input__autocomplete">
                                                            <div class="sds-input__autocompleteSelected">

                                                                <div class="sds-dismissibleAccountCard">
                                                                    <div class="sds-dismissibleAccountCard__content sds-stackXxs">
                                                                        <div>Compte Epicerie Fournisseurs</div>
                                                                        <div class="sds-dismissibleAccountCard__meta sds-textHelper">LU55 0030 0566 9076 0000 <br> BCEELULL - Spuerkeess</div>
                                                                    </div>

                                                                    <button type="button" class="sds-btn -iconBtn -btnSecondary -btnSmall">

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

                                                                    </button>

                                                                </div>

                                                            </div>
                                                            <form class="sds-input__autocompleteInner sds-box -insetLg sds-stackMd" action="">
                                                                <div class="h3">Comptes de la société</div>
                                                                <div class="sds-stackSm">
                                                                    <div class="h4">Comptes et cartes</div>
                                                                    <div class="sds-accountSelector__dropdownSection sds-stackSm">
                                                                        <div class="sds-accountCard sds-showCustomIndicatorHover">
                                                                            <label class="sds-accountCard__inner">
                                                                                <input value="radio-value" type="radio" name="radio-name" class="sr-only sds-accountCard__input" id="" checked><span class="sds-radioDot  sds-accountCard__checkItem" aria-hidden="true"></span>

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

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

                                                                                </div>

                                                                                <span class="sds-accountCard__content sds-stackXs">
                                                                                    <div>
                                                                                        Jil Schmit

                                                                                    </div>
                                                                                    <span class="sds-textHelper sds-accountCard__meta">
                                                                                        compte courant
                                                                                    </span>
                                                                                </span>

                                                                                <div class="sds-amount -positive -amountLg">
                                                                                    <span class="sds-amount__value">{+#.###,##}</span>

                                                                                    <span class="sds-amount__currency"></span>

                                                                                </div>

                                                                            </label>
                                                                        </div>
                                                                        <div class="sds-accountCard sds-showCustomIndicatorHover">
                                                                            <label class="sds-accountCard__inner">
                                                                                <input value="radio-value" type="radio" name="radio-name" class="sr-only sds-accountCard__input" id=""><span class="sds-radioDot  sds-accountCard__checkItem" aria-hidden="true"></span>

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

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

                                                                                </div>

                                                                                <span class="sds-accountCard__content sds-stackXs">
                                                                                    <div>
                                                                                        Jil Schmit

                                                                                    </div>
                                                                                    <span class="sds-textHelper sds-accountCard__meta">
                                                                                        compte courant
                                                                                    </span>
                                                                                </span>

                                                                                <div class="sds-amount -positive -amountLg">
                                                                                    <span class="sds-amount__value">{+#.###,##}</span>

                                                                                    <span class="sds-amount__currency"></span>

                                                                                </div>

                                                                            </label>
                                                                        </div>
                                                                        <div class="sds-accountCard sds-showCustomIndicatorHover">
                                                                            <label class="sds-accountCard__inner">
                                                                                <input value="radio-value" type="radio" name="radio-name" class="sr-only sds-accountCard__input" id=""><span class="sds-radioDot  sds-accountCard__checkItem" aria-hidden="true"></span>

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

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

                                                                                </div>

                                                                                <span class="sds-accountCard__content sds-stackXs">
                                                                                    <div>
                                                                                        Jil Schmit

                                                                                    </div>
                                                                                    <span class="sds-textHelper sds-accountCard__meta">
                                                                                        compte courant
                                                                                    </span>
                                                                                </span>

                                                                                <div class="sds-badge badge -badgePrimary -badgeTonal">

                                                                                    non visible
                                                                                </div>

                                                                            </label>
                                                                        </div>
                                                                        <div class="sds-accountCard sds-showCustomIndicatorHover">
                                                                            <label class="sds-accountCard__inner">
                                                                                <input value="radio-value" type="radio" name="radio-name" class="sr-only sds-accountCard__input" id=""><span class="sds-radioDot  sds-accountCard__checkItem" aria-hidden="true"></span>

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

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

                                                                                </div>

                                                                                <span class="sds-accountCard__content sds-stackXs">
                                                                                    <div>
                                                                                        Jil Schmit

                                                                                    </div>
                                                                                    <span class="sds-textHelper sds-accountCard__meta">
                                                                                        compte courant
                                                                                    </span>
                                                                                </span>

                                                                                <div class="sds-badge badge -badgePrimary -badgeTonal">

                                                                                    non visible
                                                                                </div>

                                                                            </label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="sds-stackSm">
                                                                    <div class="h4">Epargne</div>
                                                                    <div class="sds-accountSelector__dropdownSection sds-stackSm">
                                                                        <div class="sds-accountCard sds-showCustomIndicatorHover">
                                                                            <label class="sds-accountCard__inner">
                                                                                <input value="radio-value" type="radio" name="radio-name" class="sr-only sds-accountCard__input" id=""><span class="sds-radioDot  sds-accountCard__checkItem" aria-hidden="true"></span>

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

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

                                                                                </div>

                                                                                <span class="sds-accountCard__content sds-stackXs">
                                                                                    <div>
                                                                                        Jil Schmit

                                                                                    </div>
                                                                                    <span class="sds-textHelper sds-accountCard__meta">
                                                                                        compte courant
                                                                                    </span>
                                                                                </span>

                                                                                <div class="sds-amount -positive -amountLg">
                                                                                    <span class="sds-amount__value">{+#.###,##}</span>

                                                                                    <span class="sds-amount__currency"></span>

                                                                                </div>

                                                                            </label>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </form>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-6">
                                    <div class="form-group">
                                        <label for="" class="sds-label -labelForm">
                                            Communication

                                        </label>
                                        <div class="sds-input -multiple">
                                            <input class="sds-input__field form-control" type="text" placeholder="Entrez une communication" value="">
                                            <input class="sds-input__field form-control" type="text" placeholder="" value="">
                                            <input class="sds-input__field form-control" type="text" placeholder="" value="">
                                            <input class="sds-input__field form-control" type="text" placeholder="" value="">

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

            </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">Sauvegarder</span>

                    </button>
                </div>

            </div>

        </div>
    </div>
</div>
{% extends "@snet-modal-base-frame" %}
{% block header %}
	<div class="{{ namespace }}modal__title modal-title">{{ title }}</div>
{% endblock %}
{% block body %}
	<div class="{{ namespace }}stackMd">
{#		{% render "@snet-transaction-edit-block" %}#}
		<div class="{{ namespace }}transactionChain -operationsShown">
			<div class="{{ namespace }}transactionChain__transactions">
				{% render "@snet-transaction-block--only-header" %}
			</div>
			<div class="{{ namespace }}transactionChain__operations {{ namespace }}box -insetLg">
				<div class="row row-sm">
					<div class="col-6">
						{% render "@snet-step-input--two-beneficiary-selected" %}
					</div>
					<div class="col-6">
						<div class="form-group">
							{% render "@label--form",{text: "Communication"},true %}
							{% render "@input--multiple" %}
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
{% endblock %}
{% block footer %}
	<div class="{{ namespace }}btnGroup">
		{% render "@btn-secondary-inverse", {
			text: "Annuler",
			attrs: {
				"data-dismiss": "modal"
			}
		} ,true %}
		{% render "@btn-primary",{text: "Sauvegarder"},true %}
	</div>
{% endblock %}