-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
75 lines (64 loc) · 2.13 KB
/
index.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Stargazers map</title>
<style>
#Progress {
width: 100%;
background-color: grey;
}
#Bar {
width: 0%;
height: 30px;
background-color: green;
}
</style>
</head>
<body>
<header>
</header>
<script type='text/javascript' src='https://www.bing.com/api/maps/mapcontrol?callback=GetMap' async defer></script>
<div class="container">
<main role="main">
<div id="inputs">
<label for="repoName">GitHub repository:</label>
<input name="repoName" id="repoName" type="text" value="" style="width: 300px;" />
<img id="starsBadge" src="" />
<br />
<label for="mapType">Map type:</label>
<select name="mapType" id="mapType">
<option value="heat">Heat</option>
<option value="pin">Pin</option>
</select>
<span id="heatControls">
<label for="intensity">intensity:</label>
<input type="number" name="intensity" id="intensity" min="0.1" max="1" step="0.1" value="0.7" title="The intensity of each heat point. This is a decimal value between 0 and 1. This is used to specify how 'hot' a single data point should be.">
<label for="radius">radius:</label>
<input type="number" name="radius" id="radius" min="1" max="1000" step="1" value="10" title="The radius to draw each data point on the map">
</span>
<span id="pinControls" style="display:none;">
<label for="showText">show text:</label>
<input type="checkbox" name="showText" id="showText" checked="checked" />
</span>
<br />
<input name="Go" id="Go" type="button" value="Generate" />
</div>
<span id="ProgressText"></span>
<div id="Progress">
<div id="Bar"></div>
</div>
<div>
<div id='myMap' style='width:100%;height:800px;'></div>
</div>
</main>
</div>
<footer class="border-top footer text-muted">
<div class="container">
© 2019 - Stargazers map -
</div>
</footer>
<script type="text/javascript" src="stargazers.js"></script>
</body>
</html>