-
Notifications
You must be signed in to change notification settings - Fork 0
/
stats.html
119 lines (104 loc) · 4.71 KB
/
stats.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
118
119
<html>
<head>
<title>Transmogrify for Plex stats</title>
<link rel="stylesheet" type="text/css" href="css/stats.css">
<link href="css/c3.css" rel="stylesheet" type="text/css">
<script src="utils.js"></script>
<script src="d3.min.js" charset="utf-8"></script>
<script src="c3.min.js"></script>
<script src="stats_charts.js"></script>
<script src="stats.js"></script>
</head>
<body>
<nav>
<ul>
<li><a id="active-server-name" href="#"></a>
<ul id="server-choices">
</ul>
</li>
</ul>
<span id="server-updated"></span>
</nav>
<div id="loading-indicator">calculating server stats...<img src="resources/loading_stats.gif"/></div>
<div class="error-message" id="server-error-indicator">error: couldn't reach server</div>
<div class="error-message" id="token-error-indicator">make sure you have opened Plex/Web</div>
<div id="movies-container">
<div class="heading" id="movies-heading">Movies</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">movies by year</div>
</div>
<div class="chart-container">
<div class="chart chart-center" id="movie-year-chart"></div>
</div>
</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">movie genres</div>
<div class="chart-title-right">movie ratings</div>
</div>
<div class="chart-container">
<div class="chart chart-left" id="movie-genre-chart"></div>
<div class="chart chart-right" id="movie-rating-chart"></div>
</div>
</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">movies added over time</div>
</div>
<div class="chart-container">
<div class="chart chart-center" id="movie-date-added-chart"></div>
</div>
</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">movie content ratings</div>
<div class="chart-title-right">video resolutions</div>
</div>
<div class="chart-container">
<div class="chart chart-left" id="movie-content-rating-chart"></div>
<div class="chart chart-right" id="movie-resolution-chart"></div>
</div>
</div>
</div>
<div id="shows-container">
<div class="heading" id="shows-heading">TV Shows</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">shows by year first aired</div>
</div>
<div class="chart-container">
<div class="chart chart-center" id="show-year-chart"></div>
</div>
</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">show genres</div>
<div class="chart-title-right">show ratings</div>
</div>
<div class="chart-container">
<div class="chart chart-left" id="show-genre-chart"></div>
<div class="chart chart-right" id="show-rating-chart"></div>
</div>
</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">episodes added over time</div>
</div>
<div class="chart-container">
<div class="chart chart-center" id="show-date-added-chart"></div>
</div>
</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">show content ratings</div>
<div class="chart-title-right">video resolutions</div>
</div>
<div class="chart-container">
<div class="chart chart-left" id="show-content-rating-chart"></div>
<div class="chart chart-right" id="show-resolution-chart"></div>
</div>
</div>
</div>
</body>
</html>