|
@@ -4,31 +4,70 @@ page-header: Modals
|
|
|
page-menu: base.modals
|
|
|
layout: default
|
|
|
permalink: modals.html
|
|
|
+page-libs: [signature_pad]
|
|
|
---
|
|
|
|
|
|
<div class="card">
|
|
|
<div class="card-body">
|
|
|
- <div class="btn-list">
|
|
|
- {% include "ui/button.html" text="Simple modal" modal-id="simple" %}
|
|
|
- {% include "ui/button.html" text="Large modal" modal-id="large" %}
|
|
|
- {% include "ui/button.html" text="Small modal" modal-id="small" %}
|
|
|
- {% include "ui/button.html" text="Full width modal" modal-id="full-width" %}
|
|
|
- {% include "ui/button.html" text="Scrollable modal" modal-id="scrollable" %}
|
|
|
- {% include "ui/button.html" text="Modal with form" modal-id="report" %}
|
|
|
- {% include "ui/button.html" text="Success modal" modal-id="success" %}
|
|
|
- {% include "ui/button.html" text="Danger modal" modal-id="danger" %}
|
|
|
- {% include "ui/button.html" text="Modal with simple form" modal-id="team" %}
|
|
|
+ <div class="row g-5">
|
|
|
+ <div class="d-none d-md-block col-3">
|
|
|
+ <div class="nav nav-vertical sticky-top pt-4">
|
|
|
+ <a href="#modal-simple" class="nav-link">Simple modal</a>
|
|
|
+ <a href="#modal-large" class="nav-link">Large modal</a>
|
|
|
+ <a href="#modal-small" class="nav-link">Small modal</a>
|
|
|
+ <a href="#modal-full-width" class="nav-link">Full width modal</a>
|
|
|
+ <a href="#modal-scrollable" class="nav-link">Scrollable modal</a>
|
|
|
+ <a href="#modal-report" class="nav-link">Modal with form</a>
|
|
|
+ <a href="#modal-success" class="nav-link">Success modal</a>
|
|
|
+ <a href="#modal-danger" class="nav-link">Danger modal</a>
|
|
|
+ <a href="#modal-team" class="nav-link">Modal with simple form</a>
|
|
|
+ <a href="#modal-signature" class="nav-link">Modal with signature form</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="col">
|
|
|
+ <div class="space-y-6">
|
|
|
+ <div>
|
|
|
+ <h3>Simple modal</h3>
|
|
|
+ {% include "ui/modal.html" class="position-relative rounded d-block show bg-surface-backdrop py-6 w-auto h-auto" modal-id="simple" inline %}
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <h3>Large modal</h3>
|
|
|
+ {% include "ui/modal.html" class="position-relative rounded d-block show bg-surface-backdrop py-6 w-auto h-auto" modal-id="large" size="lg" inline %}
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <h3>Small modal</h3>
|
|
|
+ {% include "ui/modal.html" class="position-relative rounded d-block show bg-surface-backdrop py-6 w-auto h-auto" modal-id="small" size="sm" inline %}
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <h3>Full width modal</h3>
|
|
|
+ {% include "ui/modal.html" class="position-relative rounded d-block show bg-surface-backdrop py-6 w-auto h-auto" modal-id="full-width" size="full-width" inline %}
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <h3>Scrollable modal</h3>
|
|
|
+ {% include "ui/modal.html" class="position-relative rounded d-block show bg-surface-backdrop py-6 w-auto h-auto" modal-id="scrollable" scrollable=true style="max-height: 30rem" inline %}
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <h3>Modal with form</h3>
|
|
|
+ {% include "ui/modal.html" class="position-relative rounded d-block show bg-surface-backdrop py-6 w-auto h-auto" modal-id="report" size="lg" inline %}
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <h3>Success modal</h3>
|
|
|
+ {% include "ui/modal.html" class="position-relative rounded d-block show bg-surface-backdrop py-6 w-auto h-auto" modal-id="success" size="sm" inline %}
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <h3>Danger modal</h3>
|
|
|
+ {% include "ui/modal.html" class="position-relative rounded d-block show bg-surface-backdrop py-6 w-auto h-auto" modal-id="danger" size="sm" inline %}
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <h3>Modal with simple form</h3>
|
|
|
+ {% include "ui/modal.html" class="position-relative rounded d-block show bg-surface-backdrop py-6 w-auto h-auto" modal-id="team" inline %}
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <h3>Modal with signature form</h3>
|
|
|
+ {% include "ui/modal.html" class="position-relative rounded d-block show bg-surface-backdrop py-6 w-auto h-auto" modal-id="signature" inline %}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
-
|
|
|
</div>
|
|
|
-</div>
|
|
|
-
|
|
|
-{% include "ui/modal.html" modal-id="simple" %}
|
|
|
-{% include "ui/modal.html" modal-id="large" size="lg" %}
|
|
|
-{% include "ui/modal.html" modal-id="small" size="sm" %}
|
|
|
-{% include "ui/modal.html" modal-id="full-width" size="full-width" %}
|
|
|
-{% include "ui/modal.html" modal-id="scrollable" scrollable=true %}
|
|
|
-{% include "ui/modal.html" modal-id="report" size="lg" %}
|
|
|
-{% include "ui/modal.html" modal-id="success" size="sm" %}
|
|
|
-{% include "ui/modal.html" modal-id="danger" size="sm" %}
|
|
|
-{% include "ui/modal.html" modal-id="team" %}
|
|
|
+</div>
|