-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.html
50 lines (46 loc) · 1.58 KB
/
index2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Weather By Region</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/5.5.0/d3.min.js"></script>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
</head>
<body>
<div class='description jumbotron row' >
<div class="container" >
<h1 class="display-3">Mars</h1>
<p>
All you need to know for your next trip to Mars, in one place.
</p>
</div>
<style>
body {background-color:'#cccccc';}
.description {
background: url('{{ mars['space_images'] }}');
background-size: contain;
color:white;
}
</style>
</div>
<div>
<div>
<h2>Latest tweet from Mars:</h2>
<p>{{ mars['featured_image_url'] }}</p>
</div>
<!-- hemisphere_image_urls.append({'title': title, 'url': link}) -->
<div>
<h2>Images of Mars</h2>
{% for image in mars['mars_hemispheres'] %}
<p><a class="btn btn-secondary" href="{{ image.url }}" role="button">{{ image.title }} »</a></p>
{% endfor %}
</div>
</div>
<div>
<h2>Fun Facts!</h2>
{% include 'table.html' %}
</div>
</body>
</html>