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

108 lines
3.9 KiB
HTML
Raw 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 %}
<style>
@keyframes gradient {
0% {background-position: 0% 50%;}
50% {background-position: 0% 0%;}
100% {background-position: 0% 50%;}
}
@keyframes wiremove {
0% {background-position: 0px 0px;}
100% {background-position: 0px 1500px;}
}
body{
color:#ffffff;
margin:0px;
background: linear-gradient(0deg, #9e14d0, #e73c7e, #23a6d5, #23d5ab, #23a6d5, #e73c7e, #9e14d0);
background-size: 100% 800%;
background-attachment:fixed;
animation: gradient 25s ease infinite;
}
.everything{
height: 100vh;
display: flex;
flex-flow: column;
}
.wires{
background-image: url( '{% static "/img/bg/wire-bg.png" %}');
background-attachment:fixed;
padding: 7rem 0;
animation: wiremove 44s linear infinite;
text-align:center;
flex: 1 1 auto;
}
</style>
</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>
<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" %}
</body>
</html>