Add: fullscreen base template
This commit is contained in:
parent
0087bebeac
commit
0a0b5eec56
1 changed files with 65 additions and 0 deletions
65
archivist/apps/templates/layouts/base-fullscreen.html
Normal file
65
archivist/apps/templates/layouts/base-fullscreen.html
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
{% 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">
|
||||||
|
<link rel="apple-touch-icon" sizes="76x76" href="{{ ASSETS_ROOT }}/img/apple-icon.png">
|
||||||
|
<link rel="icon" type="image/png" href="{{ ASSETS_ROOT }}/img/favicon.png">
|
||||||
|
|
||||||
|
<title>
|
||||||
|
{% block title %}{% endblock %} - 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' %}">
|
||||||
|
|
||||||
|
<!-- Specific Page CSS goes HERE -->
|
||||||
|
{% block stylesheets %}{% endblock stylesheets %}
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="{% block body_class %}{% endblock %} bg-gray-200">
|
||||||
|
<!-- Content -->
|
||||||
|
{% block content %}{% endblock content %}
|
||||||
|
<!-- End Content -->
|
||||||
|
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<script src="{% static 'js/confirm_external_links.js' %}"></script>
|
||||||
|
<script src="{% static 'js/color-modes.js' %}"></script>
|
||||||
|
<script src="{% static "js/main.js" %}"></script>
|
||||||
|
|
||||||
|
{% include 'includes/scripts.html' %}
|
||||||
|
|
||||||
|
<!-- Specific Page JS goes HERE -->
|
||||||
|
{% block javascripts %}{% endblock javascripts %}
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in a new issue