Skip to content

Commit

Permalink
restore dataset_embed.html template
Browse files Browse the repository at this point in the history
  • Loading branch information
allyoucanmap committed Jul 26, 2021
1 parent a95f2b4 commit f615401
Showing 1 changed file with 102 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{% load static %}
{% load client_lib_tags %}
{% load client_version %}
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% if TWITTER_CARD %}
{% include "base/_resourcebase_twittercard.html" %}
{% endif %}
{% if OPENGRAPH_ENABLED %}
{% include "base/_resourcebase_opengraph.html" %}
{% endif %}
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Lato&display=swap" rel="stylesheet">
<title>{{ SITE_NAME }}</title>
<link rel="shortcut icon" href="{% static 'geonode/img/favicon.ico' %}" />
<style>
.gn-main-loader-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
flex-direction: column;
}
.gn-main-loader-content {
position: relative;
font-size: inherit;
}
.gn-main-loader {
border-radius: 50%;
width: 12em;
height: 12em;
box-sizing: border-box;
border: 1em solid rgba(119,119,119, 0.2);
border-left: 1em solid #777777;
-webkit-animation: gn-main-loader-animation 1.1s infinite linear;
animation: gn-main-loader-animation 1.1s infinite linear;
}
.gn-main-loader-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 1.5em;
text-align: center;
font-family: 'Montserrat', sans-serif;
}
@-webkit-keyframes gn-main-loader-animation {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes gn-main-loader-animation {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
</style>

<style>
#ms-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99999;
background-color: #fff;
}
</style>
</head>
<body>
{% include './_geonode_config.html' with plugins_config_key='layer_embed' %}
<div id="ms-container" class="ms2">
<div class="gn-main-loader-container">
<div class="gn-main-loader-content">
<div class="gn-main-loader"></div>
<div class="gn-main-loader-text"></div>
</div>
</div>
</div>
<script id="gn-script" src="{% static 'mapstore/dist/gn-map.js' %}?{% client_version %}"></script>
</body>
</html>

0 comments on commit f615401

Please sign in to comment.