-
Notifications
You must be signed in to change notification settings - Fork 4
/
timeline.html
117 lines (114 loc) · 5.25 KB
/
timeline.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<html>
<head>
<title>TPP Progress Chart</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.7.0/react.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.6.0/react-dom.min.js"></script>
<script src="transforms/tpp-transforms.js"></script>
<script src="bin/tpp-structure.js"></script>
<script src="bin/twitch-videos.js"></script>
<script src="bin/tpp-progress.js"></script>
<script src="bin/tpp-scraper.js"></script>
<script src="bin/tpp-data.js"></script>
<script src="display/tpp-display.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/tpp-progress.css" />
<link rel="stylesheet" href="css/pokemon.css" />
<link rel="icon" href="img/icon.png" type="image/png">
<link rel="shortcut icon" href="img/icon.png" type="image/png">
<meta property="og:title" content="TPP Progress Chart" />
<meta property="og:url" content="http://thatswhatyouget.github.io/tpp-progress/" />
<meta property="og:image" content="http://thatswhatyouget.github.io/tpp-progress/img/icon.png" />
<meta property="og:type" content="website" />
<meta charset="utf-8" />
<style>
.run.twitchplayspokemon {
margin-bottom:100px;
}
.run.twitchplayspokemon:before {
color:black
}
.run.twitchplayspokemon [data-label^="Sidegame"] {
top:100%;
}
.run#touhoumon, .run#moemon {
height:22px;
}
.run#moemon {
top:22px;
}
</style>
</head>
<body>
<div class="title">
<h1>Twitch Plays Pokemon</h1>
<div class="subtitle">
Timeline
<a href="index.html">See Normal Progress Chart</a>
</div>
</div>
<div class="title">
<strong>Progress Chart</strong>
<div class="credits">
<span>Original Design: <a href="https://www.reddit.com/user/jim_needs_me" target="_blank">jim_needs_me</a></span>
<span>Interactive version: <a href="https://www.reddit.com/user/VorpalNorman" target="_blank">VorpalNorman</a></span>
</div>
<div class="credits">
Contributors:
<a href="https://www.reddit.com/user/TheSwordUser" target="_blank">TheSwordUser</a>,
<a href="https://www.reddit.com/user/UDie2day" target="_blank">UDie2day</a>,
<a href="https://www.reddit.com/user/AsterJ" target="_blank">AsterJ,</a>
<a href="https://www.reddit.com/user/Rabbeseking" target="_blank">Rabbeseking</a>,
<a href="https://www.reddit.com/user/Tiesoul" target="_blank">Tiesoul</a>,
<a href="https://www.reddit.com/user/Persona_Alio" target="_blank">valence_d</a>,
<a href="https://www.reddit.com/user/ChezMere" target="_blank">ChezMere</a>,
<a href="https://www.reddit.com/user/T-chan" target="_blank">T-chan</a>,
<a href="https://www.reddit.com/user/yoshord" target="_blank">yoshord</a>, and <a href="https://www.reddit.com/user/Sauzels"
target="_blank">Sauzels</a>
</div>
<div class="credits">
Default sprites are from <a href="http://bulbapedia.bulbagarden.net/" target="_blank">Bulbapedia</a> and <a href="http://twitchplayspokemon.org/"
target="_blank">twitchplayspokemon.org</a>. Pokemon sprites are from <a href="http://pldh.net/dex/sprites/index"
target="_blank">PLDHnet's SpriteDex</a>.<br/> All custom sprites can be clicked for links to their sources.
</div>
<div class="credits">
<span class="doItLive">Most</span> run data provided by <a href="http://twitchplayspokemon.org/" target="_blank">twitchplayspokemon.org</a>.
</div>
</div>
<div class="charts">
<script>
function staggerStackedRuns(runs, runHeight) {
return null;
}
//tppData.push(bettingRuns);
createCharts([
{
Scale: QueryString.scale ? TPP.Scale[QueryString.scale] : TPP.Scale.Weeks,
Name: "Timeline",
SingularName: "Timeline",
Runs: [
{
RunName: "Twitch Plays Pokemon",
ColorPrimary: "transparent",
ColorSecondary: "transparent",
Ongoing: true,
StartDate: tppData[0].Runs[0].StartDate,
StartTime: tppData[0].Runs[0].StartTime,
Duration: new Date().toISOString(),
Events: [],
ContainsRunsFrom: tppData.sort(function (c1, c2) { return c1.Scale - c2.Scale }).map(function (c) { return c.Name; })
}
]
}
]);
</script>
</div>
<ul class="controls">
<script>
drawControls(defaultControls(
qsListMenu("fa-calendar", "Scale", "scale", [null, "Days", "Hours"], "Weeks")
));
</script>
</ul>
</body>
</html>