Gallery-Archivist/archivist/apps/templates/layouts/base-electric.html

75 lines
3.2 KiB
HTML
Raw Permalink Normal View History

2024-04-22 22:18:43 +02:00
{% load static %}
<!DOCTYPE html>
<html lang="en" itemscope itemtype="http://schema.org/WebPage" data-bs-theme="auto">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
2024-04-26 10:00:51 +02:00
<meta name="description" content="{% block meta_description %}{% endblock meta_description %}">
<meta name="keywords" content="{% block meta_keywords %}{% endblock meta_keywords %}">
2024-04-22 22:18:43 +02:00
<link rel="apple-touch-icon" sizes="76x76" href="{{ ASSETS_ROOT }}/img/apple-icon.png"/>
<link rel="icon" type="image/png" href='{% static "/img/favicon.png" %}'/>
<title>
{% block title %}{% endblock title %} - Gallery-Archivists
</title>
<!-- Fonts and icons -->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900|Roboto+Slab:400,700" />
<!-- Nerd Fonts-->
<link rel="stylesheet" href="{% static 'libs/nerdfonts/nerd-fonts-generated.min.css' %}"/>
<!-- CSS Files -->
<link rel="stylesheet" href="{% static 'libs/bootstrap/bootstrap.min.css' %}"/>
<!-- Main CSS File -->
<link rel="stylesheet" href="{% static 'css/main.css' %}"/>
<!-- Specific Page CSS goes HERE -->
{% block stylesheets %}{% endblock stylesheets %}
</head>
2024-05-13 09:36:40 +02:00
<body class="{% block body_class %}{% endblock body_class %}" hx-header='{% block hx_header %}{% endblock hx_header %} {"X-CSRFToken": "{{ csrf_token }}"}'>
2024-04-22 22:18:43 +02:00
<div class="everything">
<div class="wires">
<!-- Content -->
{% block content %}{% endblock content %}
<!-- End Content -->
</div>
</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>
2024-04-25 16:09:11 +02:00
<div class="modal-body text-body-emphasis">
2024-04-22 22:18:43 +02:00
<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>
2024-08-25 10:15:09 +02:00
{% include "includes/scripts.html" %}
2024-04-22 22:18:43 +02:00
<script src='{% static "js/confirm_external_links.js" %}'></script>
<script src='{% static "js/color-modes.js" %}'></script>
<script src='{% static "js/main.js" %}'></script>
<!-- Specific Page JS goes HERE -->
{% block scripts %}{% endblock scripts %}
2024-04-22 22:18:43 +02:00
</body>
</html>