95 lines
2.3 KiB
HTML
95 lines
2.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
|
|
<title>
|
|
Flask Adminator - {% block title %}{% endblock %} | AppSeed
|
|
</title>
|
|
|
|
<style>
|
|
#loader {
|
|
transition: all 0.3s ease-in-out;
|
|
opacity: 1;
|
|
visibility: visible;
|
|
position: fixed;
|
|
height: 100vh;
|
|
width: 100%;
|
|
background: #fff;
|
|
z-index: 90000;
|
|
}
|
|
|
|
#loader.fadeOut {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
}
|
|
|
|
.spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
position: absolute;
|
|
top: calc(50% - 20px);
|
|
left: calc(50% - 20px);
|
|
background-color: #333;
|
|
border-radius: 100%;
|
|
-webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
|
|
animation: sk-scaleout 1.0s infinite ease-in-out;
|
|
}
|
|
|
|
@-webkit-keyframes sk-scaleout {
|
|
0% { -webkit-transform: scale(0) }
|
|
100% {
|
|
-webkit-transform: scale(1.0);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes sk-scaleout {
|
|
0% {
|
|
-webkit-transform: scale(0);
|
|
transform: scale(0);
|
|
} 100% {
|
|
-webkit-transform: scale(1.0);
|
|
transform: scale(1.0);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
</style>
|
|
|
|
<link href="/static/assets/style.css" rel="stylesheet">
|
|
|
|
<!-- Specific Page CSS goes HERE -->
|
|
{% block stylesheets %}{% endblock stylesheets %}
|
|
|
|
</head>
|
|
<body class="app">
|
|
|
|
<div id="loader">
|
|
<div class="spinner"></div>
|
|
</div>
|
|
|
|
<script>
|
|
window.addEventListener('load', function load() {
|
|
const loader = document.getElementById('loader');
|
|
setTimeout(function() {
|
|
loader.classList.add('fadeOut');
|
|
}, 300);
|
|
});
|
|
</script>
|
|
|
|
<div class="peers ai-s fxw-nw h-100vh">
|
|
|
|
{% block content %}{% endblock content %}
|
|
|
|
</div>
|
|
|
|
<script type="text/javascript" src="/static/assets/vendor.js"></script>
|
|
<script type="text/javascript" src="/static/assets/bundle.js"></script>
|
|
|
|
<!-- Specific Page JS goes HERE -->
|
|
{% block javascripts %}{% endblock javascripts %}
|
|
|
|
</body>
|
|
|
|
</html>
|