Modal Base: Img Confirmation

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

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

                <img class="align-self-end" src="https://design.spuerkeess.lu/media/illustrations/svg240x240/spot/sdsillu-emailb.svg" alt="" width="80">

                <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-stackLg">
                    <div class="h3">Recevoir votre offre immobilière par e-mail</div>
                    <p class="sds-textBodyLg">Un email vient de vous être envoyé, si vous ne le trouvez pas, il pourrait être dans vos spams.</p>
                </div>

            </div>

            <div class="sds-modal__footer modal-footer justify-content-center">

                <button type="button" class="sds-btn -btnPrimary" data-dismiss="modal">

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

                </button>

            </div>

        </div>
    </div>
</div>
{% extends "@snet-modal-base-frame" %}
{% block header %}
	<img class="align-self-end" src="{{ ("https://design.spuerkeess.lu/media" + illustrationsSDSPath + svg240xPath  + "/spot/sdsillu-emailb.svg") }}" alt="" width="80">
{% endblock %}
{% block body %}
<div class="{{ namespace }}stackLg">
	<div class="h3">Recevoir votre offre immobilière par e-mail</div>
	<p class="{{ namespace }}textBodyLg">Un email vient de vous être envoyé, si vous ne le trouvez pas, il pourrait être dans vos spams.</p>
</div>
{% endblock %}
{% block footer %}
	{% render "@btn-primary", {
		text: "Fermer",
		attrs: {
			"data-dismiss": "modal"
		}
	} ,true %}
{% endblock %}