Add: electric site base template
This commit is contained in:
parent
b1abe19193
commit
883da86b82
1 changed files with 104 additions and 0 deletions
104
archivist/apps/templates/layouts/base-electric.html
Normal file
104
archivist/apps/templates/layouts/base-electric.html
Normal file
|
@ -0,0 +1,104 @@
|
|||
{% 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"/>
|
||||
|
||||
<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>
|
||||
<body class="{% block body_class %}{% endblock body_class %}">
|
||||
<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>
|
||||
<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" %}
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue