Revision bf3e4525 templates/front/index.html

b/templates/front/index.html
22 22
	var image = '';
23 23
	var infoWindow;
24 24
	
25
var styles = [{
26
	url: '/static/img/edugroup.png',
27
	height: 54,
28
	width: 63,
29
	textColor: '#ffffff',
30
	textSize: 11
31
	},
32
	{
33
	url: '/static/img/edugroup.png',
34
	height: 54,
35
	width: 63,
36
	textColor: '#ffffff',
37
	textSize: 11
38
	},
39
	{
40
	url: '/static/img/edugroup.png',
41
	height: 54,
42
	width: 63,
43
	textColor: '#ffffff',
44
	textSize: 11
45
}];
46 25

  
47
function initialize() {
48
	image = new google.maps.MarkerImage('/static/img/edupin.png',
49
	// This marker is 29 pixels wide by 40 pixels tall.
50
	new google.maps.Size(29, 40),
51
	// The origin for this image is 0,0.
52
	new google.maps.Point(0,0),
53
	// The anchor for this image is the base of the flagpole at 18,42.
54
	new google.maps.Point(14, 40)
55
);
26
	var styles = [ {
27
		url : '/static/img/edugroup.png',
28
		height : 54,
29
		width : 63,
30
		textColor : '#ffffff',
31
		textSize : 11
32
	}, {
33
		url : '/static/img/edugroup.png',
34
		height : 54,
35
		width : 63,
36
		textColor : '#ffffff',
37
		textSize : 11
38
	}, {
39
		url : '/static/img/edugroup.png',
40
		height : 54,
41
		width : 63,
42
		textColor : '#ffffff',
43
		textSize : 11
44
	} ];
56 45

  
57
	var styleArray = [ {
46
	function initialize() {
47
		image = new google.maps.MarkerImage('/static/img/edupin.png',
48
		// This marker is 29 pixels wide by 40 pixels tall.
49
		new google.maps.Size(29, 40),
50
		// The origin for this image is 0,0.
51
		new google.maps.Point(0, 0),
52
		// The anchor for this image is the base of the flagpole at 18,42.
53
		new google.maps.Point(14, 40));
54

  
55
		var styleArray = [ {
58 56
			featureType : "all",
59 57
			stylers : [ {
60 58
				saturation : -60
......
89 87

  
90 88
		];
91 89

  
92
		var mapOptions = {
90
		
91
	var mapOptions = {
93 92
			center : latlng,
94 93
			zoom : zoomLevel,
95 94
			mapTypeId : google.maps.MapTypeId.ROADMAP,
......
246 245
		alert(markers[closest].address);
247 246
	}
248 247

  
249

  
250 248
	$(document).ready(function() {
251 249
		initialize();
252 250
		marks = placeMarkers();
......
266 264
              <li><a href="#">News</a></li>
267 265
              <li><a href="{% url geolocate %}" target="about:blank()">eduroam near me</a></li>
268 266
              <li class="nav-header">Users</li>
269
              <li><a href="#">FAQ</a></li>
270
              <li><a href="#">Contact</a></li>
267
              <li><a href="#">Where</a></li>
268
              <li><a href="/how/en/">How</a></li>
271 269
              <li><a href="#">About</a></li>
272 270
              <li class="nav-header">Institutions</li>
273 271
              <li><a href="{% url manage %}">{% trans "Management" %}</a></li>
......
281 279
			<div class="row-fluid">
282 280
				<!--/span-->
283 281
				
284
					{% block subcontent %} 
282
					{% block subcontent %}
285 283
					<div id="map_canvas" style="width:100%; height:600px; overflow: hidden;"></div>
286 284
					{% endblock %}
287 285
				

Also available in: Unified diff