Modal Base: List Checked

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="listCheckedModal" aria-hidden="true" tabindex="-1">
    <div class="sds-modal__dialog modal-dialog modal-dialog-centered modal-dialog-scrollable">
        <div class="sds-modal__content modal-content">

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

                <h5 class="sds-modal__title modal-title">Type de dépôt</h5>

                <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-box -insetLg">
                    <form class="row col-separator row-double-gutter">
                        <div class="col-12 col-lg-6 sds-stackMd">
                            <div class="sds-stackXs">
                                <div class="h4">Dépôt à terme</div>
                                <p>Votre dépôt pour un durée de 1 à 12 mois</p>
                            </div>
                            <ul class="sds-list -checkIcon">

                                <li>

                                    Durée : 1 - 12 mois

                                </li>

                                <li>

                                    Devises : Eur, {other}

                                </li>

                                <li>

                                    Placement minimal : 10.000 EUR / dépôt

                                </li>

                                <li>

                                    Taux fixe

                                </li>

                            </ul>
                        </div>
                        <div class="col-12 col-lg-6 sds-stackMd">
                            <div class="sds-stackXs">
                                <div class="h4">Dépôt fixe</div>
                                <p>Votre dépôt pour un durée de 18 mois - 10 ans</p>
                            </div>
                            <ul class="sds-list -checkIcon">

                                <li>

                                    Durée : 18 mois - 10 ans

                                </li>

                                <li>

                                    Devises : EUR, GBP, USD

                                </li>

                                <li>

                                    Placement minimal : 10.000 EUR/dépôt

                                </li>

                                <li>

                                    Plafond : 10.000 EUR / client

                                </li>

                                <li>

                                    Taux fixe

                                </li>

                            </ul>
                        </div>
                    </form>
                </div>

            </div>

        </div>
    </div>
</div>
{% extends "@snet-modal-base-frame" %}
{% block header %}
    <h5 class="{{ namespace }}modal__title modal-title">{{ title }}</h5>
{% endblock %}
{% block body %}
    <div class="{{ namespace }}box -insetLg">
        <form class="row col-separator row-double-gutter">
            <div class="col-12 col-lg-6 {{ namespace }}stackMd">
                <div class="{{ namespace }}stackXs">
                    <div class="h4">Dépôt à terme</div>
                    <p>Votre dépôt pour un durée de 1 à 12 mois</p>
                </div>
                {% render '@list--checked',{
                    listItem: listItemDepotTerme
                }, true %}
            </div>
            <div class="col-12 col-lg-6 {{ namespace }}stackMd">
                <div class="{{ namespace }}stackXs">
                    <div class="h4">Dépôt fixe</div>
                    <p>Votre dépôt pour un durée de 18 mois - 10 ans</p>
                </div>
                {% render '@list--checked',{
                    listItem: listItemDepotFixe
                }, true %}
            </div>
        </form>
    </div>
{% endblock %}