Dialog

There are no notes for this item.

<!-- Default -->
<div class="dso-modal" tabindex="-1" role="dialog" aria-labelledby="modal-dialog">
    <div class="dso-dialog" role="document">
        <div class="dso-header">
            <h2 id="modal-dialog">Modal dialoog</h2>
            <button type="button" class="dso-close" aria-label="Sluiten"></button>
        </div>
        <div class="dso-body">
            <p>Inhoud</p>
        </div>
        <div class="dso-footer">

            <button type="button" class="btn btn-primary"><span>OK</span></button>

        </div>
    </div>
</div>
<!-- Valid -->
<div class="dso-modal" tabindex="-1" role="dialog" aria-labelledby="modal-dialog-valid-example">
    <div class="dso-dialog" role="document">
        <div class="dso-header">
            <h2 id="modal-dialog-valid-example">Uitloggen</h2>
            <button type="button" class="dso-close" aria-label="Sluiten"></button>
        </div>
        <div class="dso-body">
            <p>Weet u zeker dat u wilt uitloggen? Opgeslagen gegevens zijn terug te vinden in Mijn Omgevingsloket</p>
        </div>
        <div class="dso-footer">

            <button type="button" class="btn btn-primary"><span>Ja</span></button>

            <button type="button" class="btn btn-link"><span>Nee</span></button>

        </div>
    </div>
</div>
<!-- Invalid -->
<!-- DO NOT USE MARKUP BELOW IN PRODUCTION -->

<div class="dso-modal" tabindex="-1" role="dialog" aria-labelledby="modal-dialog-invalid-example">
    <div class="dso-dialog" role="document">
        <div class="dso-header">
            <h2 id="modal-dialog-invalid-example">Activiteit toevoegen</h2>
            <button type="button" class="dso-close" aria-label="Sluiten"></button>
        </div>
        <div class="dso-body">
            <fieldset class="form-group dso-checkboxes">
                <legend class="dso-label-container">
                    <label class="control-label">
                        Alle activiteiten
                    </label>

                </legend>
                <div class="dso-field-container">

                    <div class="dso-selectable">
                        <input type="checkbox" id="alle-activiteiten-0" name="alle-activiteiten" value="bouwactiviteit-vergunning">
                        <label for="alle-activiteiten-0">
                            Bouwactiviteit - Vergunning
                        </label>

                    </div>

                    <div class="dso-selectable">
                        <input type="checkbox" id="alle-activiteiten-1" name="alle-activiteiten" value="brug-aanleggen-delfland-vergunning">
                        <label for="alle-activiteiten-1">
                            Brug aanleggen Delfland - Vergunning
                        </label>

                    </div>

                    <div class="dso-selectable">
                        <input type="checkbox" id="alle-activiteiten-2" name="alle-activiteiten" value="sloopactiviteiten-informatie-overig">
                        <label for="alle-activiteiten-2">
                            Sloopactiviteiten - Informatie overig
                        </label>

                    </div>

                    <div class="dso-selectable">
                        <input type="checkbox" id="alle-activiteiten-3" name="alle-activiteiten" value="sloopactiviteiten-melding">
                        <label for="alle-activiteiten-3">
                            Sloopactiviteiten - Melding
                        </label>

                    </div>

                </div>

            </fieldset>

        </div>
        <div class="dso-footer">

            <button type="button" class="btn btn-primary"><span>Toevoegen</span></button>

            <button type="button" class="btn btn-link"><span>Annuleren</span></button>

        </div>
    </div>
</div>
<!-- Closable -->
<div class="dso-modal" tabindex="-1" role="dialog" aria-labelledby="modal-close">
    <div class="dso-dialog" role="document">
        <div class="dso-header">
            <h2 id="modal-close">Modal dialoog</h2>
            <button type="button" class="dso-close" aria-label="Sluiten"></button>
        </div>
        <div class="dso-body">
            <p>Inhoud</p>
        </div>
        <div class="dso-footer">

            <button type="button" class="btn btn-primary"><span>OK</span></button>

        </div>
    </div>
</div>
<!-- Single submit -->
<div class="dso-modal" tabindex="-1" role="dialog" aria-labelledby="modal-single-submit">
    <div class="dso-dialog" role="document">
        <div class="dso-header">
            <h2 id="modal-single-submit">Modal dialoog</h2>
            <button type="button" class="dso-close" aria-label="Sluiten"></button>
        </div>
        <div class="dso-body">
            <p>Inhoud</p>
        </div>
        <div class="dso-footer">

            <button type="submit" class="btn btn-primary"><span>Indienen</span></button>

        </div>
    </div>
</div>
<!-- Steps -->
<div class="dso-modal" tabindex="-1" role="dialog" aria-labelledby="modal-steps">
    <div class="dso-dialog" role="document">
        <div class="dso-header">
            <h2 id="modal-steps">Modal dialoog</h2>
            <button type="button" class="dso-close" aria-label="Sluiten"></button>
        </div>
        <div class="dso-body">
            <p>Inhoud</p>
        </div>
        <div class="dso-footer">

            <button type="button" class="btn btn-link"><span>Annuleren</span></button>

            <button type="button" class="btn btn-default"><span>Vorige</span></button>

            <button type="button" class="btn btn-default"><span>Volgende</span></button>

        </div>
    </div>
</div>
<!-- No max height -->
<div class="dso-modal" tabindex="-1" role="dialog" aria-labelledby="modal-scripted-height">
    <div class="dso-dialog" role="document">
        <div class="dso-header">
            <h2 id="modal-scripted-height">Modal dialoog</h2>
            <button type="button" class="dso-close" aria-label="Sluiten"></button>
        </div>
        <div class="dso-body">
            <p>What is Lorem Ipsum?
                Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry&#39;s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
                Why do we use it?
                It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using &#39;Content here, content here&#39;, making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for &#39;lorem ipsum&#39; will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
                Where does it come from?
                Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of &quot;de Finibus Bonorum et Malorum&quot; (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, &quot;Lorem ipsum dolor sit amet..&quot;, comes from a line in section 1.10.32.
                The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from &quot;de Finibus Bonorum et Malorum&quot; by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.
                Where can I get some?
                There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don&#39;t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn&#39;t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.
            </p>
        </div>
        <div class="dso-footer">

            <button type="button" class="btn btn-primary"><span>OK</span></button>

        </div>
    </div>
</div>
<!-- Default -->
<div {{ className('dso-modal', [dialog.confirm, 'dso-confirm']) }} tabindex="-1" role="dialog" aria-labelledby="{{ dialog.id }}">
  <div class="dso-dialog" role="document">
    <div class="dso-header">
      <h2 id="{{ dialog.id }}">{{ dialog.heading }}</h2>
      <button type="button" class="dso-close" aria-label="Sluiten"></button>
    </div>
    <div class="dso-body">
      <p>{{ body }}</p>
    </div>
    <div class="dso-footer">
      {% for button in dialog.buttons %}
        {% render '@button', button %}
      {% endfor %}
    </div>
  </div>
</div>

<!-- Valid -->
<div {{ className('dso-modal', [dialog.confirm, 'dso-confirm']) }} tabindex="-1" role="dialog" aria-labelledby="{{ dialog.id }}">
  <div class="dso-dialog" role="document">
    <div class="dso-header">
      <h2 id="{{ dialog.id }}">{{ dialog.heading }}</h2>
      <button type="button" class="dso-close" aria-label="Sluiten"></button>
    </div>
    <div class="dso-body">
      <p>{{ body }}</p>
    </div>
    <div class="dso-footer">
      {% for button in dialog.buttons %}
        {% render '@button', button %}
      {% endfor %}
    </div>
  </div>
</div>

<!-- Invalid -->
<!-- DO NOT USE MARKUP BELOW IN PRODUCTION -->

<div {{ className('dso-modal', [dialog.confirm, 'dso-confirm']) }} tabindex="-1" role="dialog" aria-labelledby="{{ dialog.id }}">
  <div class="dso-dialog" role="document">
    <div class="dso-header">
      <h2 id="{{ dialog.id }}">{{ dialog.heading }}</h2>
      <button type="button" class="dso-close" aria-label="Sluiten"></button>
    </div>
    <div class="dso-body">
      {% render '@group-checkboxes', form %}
    </div>
    <div class="dso-footer">
      {% for button in dialog.buttons %}
        {% render '@button', button %}
      {% endfor %}
    </div>
  </div>
</div>

<!-- Closable -->
<div {{ className('dso-modal', [dialog.confirm, 'dso-confirm']) }} tabindex="-1" role="dialog" aria-labelledby="{{ dialog.id }}">
  <div class="dso-dialog" role="document">
    <div class="dso-header">
      <h2 id="{{ dialog.id }}">{{ dialog.heading }}</h2>
      <button type="button" class="dso-close" aria-label="Sluiten"></button>
    </div>
    <div class="dso-body">
      <p>{{ body }}</p>
    </div>
    <div class="dso-footer">
      {% for button in dialog.buttons %}
        {% render '@button', button %}
      {% endfor %}
    </div>
  </div>
</div>

<!-- Single submit -->
<div {{ className('dso-modal', [dialog.confirm, 'dso-confirm']) }} tabindex="-1" role="dialog" aria-labelledby="{{ dialog.id }}">
  <div class="dso-dialog" role="document">
    <div class="dso-header">
      <h2 id="{{ dialog.id }}">{{ dialog.heading }}</h2>
      <button type="button" class="dso-close" aria-label="Sluiten"></button>
    </div>
    <div class="dso-body">
      <p>{{ body }}</p>
    </div>
    <div class="dso-footer">
      {% for button in dialog.buttons %}
        {% render '@button', button %}
      {% endfor %}
    </div>
  </div>
</div>

<!-- Steps -->
<div {{ className('dso-modal', [dialog.confirm, 'dso-confirm']) }} tabindex="-1" role="dialog" aria-labelledby="{{ dialog.id }}">
  <div class="dso-dialog" role="document">
    <div class="dso-header">
      <h2 id="{{ dialog.id }}">{{ dialog.heading }}</h2>
      <button type="button" class="dso-close" aria-label="Sluiten"></button>
    </div>
    <div class="dso-body">
      <p>{{ body }}</p>
    </div>
    <div class="dso-footer">
      {% for button in dialog.buttons %}
        {% render '@button', button %}
      {% endfor %}
    </div>
  </div>
</div>

<!-- No max height -->
<div {{ className('dso-modal', [dialog.confirm, 'dso-confirm']) }} tabindex="-1" role="dialog" aria-labelledby="{{ dialog.id }}">
  <div class="dso-dialog" role="document">
    <div class="dso-header">
      <h2 id="{{ dialog.id }}">{{ dialog.heading }}</h2>
      <button type="button" class="dso-close" aria-label="Sluiten"></button>
    </div>
    <div class="dso-body">
      <p>{{ body }}</p>
    </div>
    <div class="dso-footer">
      {% for button in dialog.buttons %}
        {% render '@button', button %}
      {% endfor %}
    </div>
  </div>
</div>
/* Default */
body: Inhoud
dialog:
  id: modal-dialog
  heading: Modal dialoog
  buttons:
    - name: confirmButton
      type: button
      modifier: primary
      label: OK
/* Valid */
body: >-
  Weet u zeker dat u wilt uitloggen? Opgeslagen gegevens zijn terug te vinden in
  Mijn Omgevingsloket
dialog:
  id: modal-dialog-valid-example
  heading: Uitloggen
  buttons:
    - name: confirmButton
      type: button
      modifier: primary
      label: Ja
    - name: cancelButton
      type: button
      modifier: link
      label: Nee
/* Invalid */
body: Inhoud
dialog:
  id: modal-dialog-invalid-example
  heading: Activiteit toevoegen
  buttons:
    - name: confirmButton
      type: button
      modifier: primary
      label: Toevoegen
    - name: cancelButton
      type: button
      modifier: link
      label: Annuleren
form:
  id: alle-activiteiten
  inputType: checkboxes
  label: Alle activiteiten
  options:
    - value: bouwactiviteit-vergunning
      label: Bouwactiviteit - Vergunning
    - value: brug-aanleggen-delfland-vergunning
      label: Brug aanleggen Delfland - Vergunning
    - value: sloopactiviteiten-informatie-overig
      label: Sloopactiviteiten - Informatie overig
    - value: sloopactiviteiten-melding
      label: Sloopactiviteiten - Melding
/* Closable */
body: Inhoud
dialog:
  id: modal-close
  heading: Modal dialoog
  buttons:
    - name: confirmButton
      type: button
      modifier: primary
      label: OK
__title: Closable
/* Single submit */
body: Inhoud
dialog:
  id: modal-single-submit
  heading: Modal dialoog
  buttons:
    - name: confirmButton
      type: submit
      modifier: primary
      label: Indienen
__title: Single submit
/* Steps */
body: Inhoud
dialog:
  id: modal-steps
  heading: Modal dialoog
  buttons:
    - name: cancelButton
      type: button
      modifier: link
      label: Annuleren
    - name: previousButton
      type: button
      modifier: default
      label: Vorige
    - name: nextButton
      type: button
      modifier: default
      label: Volgende
__title: Steps
/* No max height */
body: >
  What is Lorem Ipsum?

  Lorem Ipsum is simply dummy text of the printing and typesetting industry.
  Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
  when an unknown printer took a galley of type and scrambled it to make a type
  specimen book. It has survived not only five centuries, but also the leap into
  electronic typesetting, remaining essentially unchanged. It was popularised in
  the 1960s with the release of Letraset sheets containing Lorem Ipsum passages,
  and more recently with desktop publishing software like Aldus PageMaker
  including versions of Lorem Ipsum.

  Why do we use it?

  It is a long established fact that a reader will be distracted by the readable
  content of a page when looking at its layout. The point of using Lorem Ipsum
  is that it has a more-or-less normal distribution of letters, as opposed to
  using 'Content here, content here', making it look like readable English. Many
  desktop publishing packages and web page editors now use Lorem Ipsum as their
  default model text, and a search for 'lorem ipsum' will uncover many web sites
  still in their infancy. Various versions have evolved over the years,
  sometimes by accident, sometimes on purpose (injected humour and the like).

  Where does it come from?

  Contrary to popular belief, Lorem Ipsum is not simply random text. It has
  roots in a piece of classical Latin literature from 45 BC, making it over 2000
  years old. Richard McClintock, a Latin professor at Hampden-Sydney College in
  Virginia, looked up one of the more obscure Latin words, consectetur, from a
  Lorem Ipsum passage, and going through the cites of the word in classical
  literature, discovered the undoubtable source. Lorem Ipsum comes from sections
  1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good
  and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory
  of ethics, very popular during the Renaissance. The first line of Lorem Ipsum,
  "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.

  The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for
  those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et
  Malorum" by Cicero are also reproduced in their exact original form,
  accompanied by English versions from the 1914 translation by H. Rackham.

  Where can I get some?

  There are many variations of passages of Lorem Ipsum available, but the
  majority have suffered alteration in some form, by injected humour, or
  randomised words which don't look even slightly believable. If you are going
  to use a passage of Lorem Ipsum, you need to be sure there isn't anything
  embarrassing hidden in the middle of text. All the Lorem Ipsum generators on
  the Internet tend to repeat predefined chunks as necessary, making this the
  first true generator on the Internet. It uses a dictionary of over 200 Latin
  words, combined with a handful of model sentence structures, to generate Lorem
  Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always
  free from repetition, injected humour, or non-characteristic words etc.
dialog:
  id: modal-scripted-height
  heading: Modal dialoog
  buttons:
    - name: confirmButton
      type: button
      modifier: primary
      label: OK
__title: No max height
noMaxHeight: true