Modal Base: Aucun Creneau

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

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

                <div class="h3">
                    Aucun créneau ne vous convient ?

                    <span class="sds-headingLight">Laissez un conseiller Spuerkeess vous rappeler par téléphone.</span>

                </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-box -insetLg sds-stackXl">
                        <div>
                            <p>Un conseiller vous rappelera sous moins de 48h au numéro {phone number} pour convenir d’un rendez-vous.</p>
                            <a class="sds-link">

                                Numéro de téléphone pas correct ?

                            </a>
                        </div>
                        <div class="form-group">
                            <label for="modalAucunCreneauTextArea" class="sds-label -labelForm -labelOptional">
                                Laisser un message - Facultatif

                                <span class="sds-label__helper"><span>0</span><span>/3500</span></span>

                            </label>
                            <div class="sds-textarea">
                                <textarea class="form-control" id="modalAucunCreneauTextArea" rows="1" placeholder="{Placeholder}"></textarea>

                            </div>

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

            </div>

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

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

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

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

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

                    </button>
                </div>

            </div>

        </div>
    </div>
</div>
{% extends "@snet-modal-base-frame" %}
{% block header %}
	{% render "@heading--h3-subtext",{
		eltType: "div",
		text: title,
		subText: "Laissez un conseiller Spuerkeess vous rappeler par téléphone."
	},true %}
{% endblock %}
{% block body %}
    <div class="{{ namespace }}stackMd">
        <div class="{{ namespace }}box -insetLg {{ namespace }}stackXl">
            <div>
                <p>Un conseiller vous rappelera sous moins de 48h au numéro {phone number} pour convenir d’un rendez-vous.</p>
                {% render '@link',{
                    text: "Numéro de téléphone pas correct ?"
                }, true %}
            </div>
            {% render '@form-group--textarea',{
				for: "modalAucunCreneauTextArea",
                labelText: "Laisser un message - Facultatif",
                textOptional: "<span>0</span><span>/3500</span>",
                placeholder: "{Placeholder}"
            }, true %}
        </div>
    </div>
{% endblock %}
{% block footer %}
    <div class="{{ namespace }}btnGroup">
        {% render "@btn-secondary-inverse",{
            text: "Annuler"
        },true %}
        {% render "@btn-primary",{
            text: "Envoyer"
        },true %}
    </div>
{% endblock %}