mirror of
https://github.com/kevinveenbirkenbach/homepage.veen.world.git
synced 2025-01-16 11:34:00 +01:00
40 lines
1.9 KiB
Django/Jinja
40 lines
1.9 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 mit Markdown -->
|
|
<div id="dynamicModalWarning" class="alert alert-warning d-none" role="alert">
|
|
<h5><i class="fa-solid fa-triangle-exclamation"></i> Warning </h5><span id="dynamicModalWarningText"></span>
|
|
</div>
|
|
<!-- Infobox mit Markdown -->
|
|
<div id="dynamicModalInfo" class="alert alert-info d-none" role="alert">
|
|
<h5><i class="fa-solid fa-circle-info"></i> Information</h5><span id="dynamicModalInfoText"></span>
|
|
</div>
|
|
<!-- Description text -->
|
|
<div id="dynamicDescriptionText" class="mt-2 d-none"></div>
|
|
<!-- Eingabebox für Identifier -->
|
|
<div id="dynamicIdentifierBox" class="input-group mt-2 d-none">
|
|
<input type="text" id="dynamicModalContent" class="form-control" readonly>
|
|
<button class="btn btn-outline-secondary" type="button" id="dynamicCopyButton">Copy</button>
|
|
</div>
|
|
<!-- Link -->
|
|
<div id="dynamicModalLink" class="mt-3 d-none">
|
|
<a href="#" target="_blank" class="btn btn-primary w-100" id="dynamicModalLinkHref"></a>
|
|
</div>
|
|
<!-- Alternativen -->
|
|
<div id="dynamicAlternativesSection" class="mt-4 d-none">
|
|
<h6>Alternatives:</h6>
|
|
<ul class="list-group" id="dynamicAlternativesList"></ul>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal" onclick="closeAllModals()">Close</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|