Skip to content

Commit

Permalink
base template for custom pages
Browse files Browse the repository at this point in the history
  • Loading branch information
giohappy committed Jul 16, 2021
1 parent 83f21bb commit b20d8e2
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions geonode_mapstore_client/templates/page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{% load static %}
{% load client_version %}
<!DOCTYPE html>
<html class="msgapi">
<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">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap" rel="stylesheet">
<link href="{% static 'mapstore/dist/themes/geonode.css' %}?{% client_version %}" rel="stylesheet" />
<title>{{ SITE_NAME }}</title>
<link rel="shortcut icon" href="{% static 'geonode/img/favicon.ico' %}" />
{% include './geonode-mapstore-client/snippets/loader_style.html' %}

{% block custom_theme %}
{% include './geonode-mapstore-client/snippets/custom_theme.html' %}
{% endblock %}

{% block extra_style %}
{% endblock %}
</head>
<body class="gn-theme gn-theme-light gn-homepage ms2">
{% include './geonode-mapstore-client/_geonode_config.html' %}
{% block header %}
{% include './geonode-mapstore-client/snippets/header.html' %}
{% endblock %}

{% block container %}
{% endblock %}

{% block footer %}
{% include './geonode-mapstore-client/snippets/footer.html' %}
{% endblock %}

{% block scripts %}
<script src="{% static "lib/js/jquery.min.js" %}"></script>
<script src="{% static "lib/js/bootstrap.min.js" %}"></script>
<script type="text/javascript">
// enable dropdown functionalities
$('.dropdown-toggle').dropdown();
</script>
{% endblock %}
</body>
</html>

0 comments on commit b20d8e2

Please sign in to comment.