<!-- base.html --> {% load static %} <!DOCTYPE html> <html lang="en" data-bs-theme="dark"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{% block title %}Gallery Archivist{% endblock %}</title> <link rel="icon" type="image/x-icon" href="{% static 'img/favicon.png' %}"> {% block styles %} {% endblock styles %} <link rel="stylesheet" href="{% static 'libs/bootstrap/bootstrap.min.css' %}"> <link rel="stylesheet" href="{% static 'css/main.css' %}"> </head> <body> {% include 'navbar.html' %} <div class="container-fluid"> {% block content %} {% endblock %} </div> <div class="modal fade" id="externalLinkConfirmationModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" role="dialog" aria-labelledby="externalLinkConfirmationModalLabel" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered modal-dialog-scrollable" role="document"> <div class="modal-content"> <div class="modal-header bg-danger"> <h5 class="modal-title" id="externalLinkConfirmationModalLabel">Confirmation</h5> <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button> </div> <div class="modal-body"> <p>You are leaving this site and visiting an external link. Do you want to proceed?</p> <p id="externalLinkShow"></p> </div> <div class="modal-footer bg-warning"> <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button> <a id="externalLink" href="#" target="_blank" rel="noopener noreferrer" class="btn btn-primary">Proceed</a> </div> </div> </div> </div> {% include 'footer.html' %} {% block scripts %} {% endblock %} <script src="{% static 'js/confirm_external_links.js' %}"></script> <script src="{% static 'libs/bootstrap/bootstrap.bundle.min.js' %}"></script> </body> </html>