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

40 lines
1.9 KiB
Plaintext
Raw Permalink Normal View History

2025-01-08 18:06:08 +01:00
<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">
2025-01-09 16:30:38 +01:00
<!-- Warnbox mit Markdown -->
2025-01-09 15:17:34 +01:00
<div id="dynamicModalWarning" class="alert alert-warning d-none" role="alert">
2025-01-09 16:30:38 +01:00
<h5><i class="fa-solid fa-triangle-exclamation"></i> Warning </h5><span id="dynamicModalWarningText"></span>
2025-01-09 15:17:34 +01:00
</div>
2025-01-09 16:30:38 +01:00
<!-- Infobox mit Markdown -->
2025-01-09 15:17:34 +01:00
<div id="dynamicModalInfo" class="alert alert-info d-none" role="alert">
2025-01-09 16:30:38 +01:00
<h5><i class="fa-solid fa-circle-info"></i> Information</h5><span id="dynamicModalInfoText"></span>
2025-01-09 15:17:34 +01:00
</div>
2025-01-09 16:30:38 +01:00
<!-- Description text -->
2025-01-09 15:57:39 +01:00
<div id="dynamicDescriptionText" class="mt-2 d-none"></div>
2025-01-09 15:17:34 +01:00
<!-- Eingabebox für Identifier -->
2025-01-09 15:34:32 +01:00
<div id="dynamicIdentifierBox" class="input-group mt-2 d-none">
2025-01-08 18:06:08 +01:00
<input type="text" id="dynamicModalContent" class="form-control" readonly>
<button class="btn btn-outline-secondary" type="button" id="dynamicCopyButton">Copy</button>
</div>
2025-01-09 16:30:38 +01:00
<!-- Link -->
2025-01-09 15:17:34 +01:00
<div id="dynamicModalLink" class="mt-3 d-none">
2025-01-09 15:46:45 +01:00
<a href="#" target="_blank" class="btn btn-primary w-100" id="dynamicModalLinkHref"></a>
2025-01-09 15:17:34 +01:00
</div>
2025-01-09 16:30:38 +01:00
<!-- Alternativen -->
2025-01-09 15:57:39 +01:00
<div id="dynamicAlternativesSection" class="mt-4 d-none">
2025-01-09 15:34:32 +01:00
<h6>Alternatives:</h6>
2025-01-09 15:57:39 +01:00
<ul class="list-group" id="dynamicAlternativesList"></ul>
2025-01-09 15:34:32 +01:00
</div>
2025-01-08 18:06:08 +01:00
</div>
<div class="modal-footer">
2025-01-09 15:38:48 +01:00
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal" onclick="closeAllModals()">Close</button>
2025-01-08 18:06:08 +01:00
</div>
</div>
</div>
2025-01-09 15:17:34 +01:00
</div>