root / djnro / templates / front / world.html @ 242932f3
History | View | Annotate | Download (962 Bytes)
1 |
{% extends "base.html" %} |
---|---|
2 |
{% load i18n %} |
3 |
{% load staticfiles %} |
4 |
{% block currentpagetitle %}World{% endblock %} |
5 |
{% block homepage %}{% endblock %} |
6 |
{% block hometop %}{% endblock %} |
7 |
{% block world %}active{% endblock %} |
8 |
|
9 |
|
10 |
{% block content %} |
11 |
<h1>{% trans "Eduroam Worldwide" %}</h1> |
12 |
<hr>
|
13 |
|
14 |
<div id="map_canvas" data-center-lat="{{ MAP_CENTER.0 }}" data-url="{% url worldPoints %}" data-city="{% static 'img/city.png' %}" data-country="{% static 'img/country.png' %}" data-group="{% static 'img/edugroup.png' %}" data-pin="{% static 'img/edupin.png' %}" data-center-lng="{{ MAP_CENTER.1 }}" style="width:100%; height:600px; overflow: hidden;"></div> |
15 |
{% endblock %} |
16 |
|
17 |
|
18 |
{% block extrajs %} |
19 |
<script type="text/javascript" src="{% static 'js/markerclusterer.js' %}"></script> |
20 |
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script> |
21 |
<script type="text/javascript" src="{% static 'js/world-map.js' %}"></script> |
22 |
{% endblock %} |