homepage.veen.world/app/templates/moduls/modal.html.j2

33 lines
1.5 KiB
Django/Jinja

<div class="modal fade" id="dynamicModal" tabindex="-1" aria-labelledby="dynamicModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="dynamicModalLabel"></h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<!-- Warnbox, falls vorhanden -->
<div id="dynamicModalWarning" class="alert alert-warning d-none" role="alert">
<i class="fa-solid fa-triangle-exclamation"></i> <span id="dynamicModalWarningText"></span>
</div>
<!-- Infobox, falls vorhanden -->
<div id="dynamicModalInfo" class="alert alert-info d-none" role="alert">
<i class="fa-solid fa-circle-info"></i> <span id="dynamicModalInfoText"></span>
</div>
<!-- Eingabebox für Identifier -->
<div class="input-group mt-2">
<input type="text" id="dynamicModalContent" class="form-control" readonly>
<button class="btn btn-outline-secondary" type="button" id="dynamicCopyButton">Copy</button>
</div>
<!-- Link, falls vorhanden -->
<div id="dynamicModalLink" class="mt-3 d-none">
<a href="#" target="_blank" class="btn btn-primary w-100" id="dynamicModalLinkHref">Open Link</a>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>