-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
121 lines (117 loc) · 6.48 KB
/
index.html
File metadata and controls
121 lines (117 loc) · 6.48 KB
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
120
121
<!DOCTYPE html>
<html>
<head>
<title>LessWrong Karma</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="Images/favicon.ico"/>
<script data-main="Scripts/App/RequireConfig" src="Scripts/Lib/require-2.1.22.min.js" type="text/javascript"></script>
<link href="Styles/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="Styles/FontAwesome-4.5.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link href="Styles/cssreset.css" rel="stylesheet" type="text/css"/>
<link href="Styles/datepicker.css" rel="stylesheet" type="text/css"/>
<link href="Styles/main.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="wrapper">
<header class="header">
<img class="logo" src="Images/logo_trans.png" alt="Less Wrong"/>
</header>
<div class="input-group input-group-margin">
<span class="input-group-btn">
<button class="btn btn-default" id="getKarmaStatsBtn" type="button">Go!</button>
</span>
<input id="selectedUser" type="text" class="form-control" placeholder="Enter user, eg. ScottL">
</div>
<div id="content" class="hidden">
<ul id="tabs" class="nav nav-tabs" data-tabs="tabs">
<li class="active"><a href="#timeSeriesSmallPoints" data-toggle="tab">Time Series Comments and Discussion Posts</a></li>
<li><a href="#timeSeriesLargePoints" data-toggle="tab">Time Series Main posts</a></li>
<li><a href="#timeSeriesCumulative" data-toggle="tab">Time Series Cumulative</a></li>
<li><a href="#proportions" data-toggle="tab">Proportions</a></li>
<li><a href="#totals" data-toggle="tab">Totals</a></li>
</ul>
<div id="my-tab-content" class="tab-content">
<div class="tab-pane active" id="timeSeriesSmallPoints">
<div id="timeSeriesSmallPointsChart"></div>
<div class="text-center">
<button id="timeSeriesSmallPointsDownloadLink" type="button" class="btn btn-default">Download To CSV</button>
<a href="" id="timeSeriesSmallPointsDataLink" download="data.csv"></a>
</div>
</div>
<div class="tab-pane" id="timeSeriesLargePoints">
<div id="timeSeriesLargePointsChart"></div>
<div class="text-center">
<button id="timeSeriesLargePointsDownloadLink" type="button" class="btn btn-default">Download To CSV</button>
<a href="" id="timeSeriesLargePointsDataLink" download="data.csv"></a>
</div>
</div>
<div class="tab-pane" id="timeSeriesCumulative">
<div id="timeSeriesCumulativeChart"></div>
<div class="container-fluid">
<div class="row">
<div class="col-md-4">
<div class="form-group">
<label for="startDate">Start Date</label>
<input class="datepicker" data-date-format="dd/mm/yyyy" id="startDate" />
</div>
</div>
<div class="col-md-4"></div>
<div class="col-md-4">
<div class="form-group">
<label for="endDate">End Date</label>
<input class="datepicker" data-date-format="dd/mm/yyyy" id="endDate" />
</div>
</div>
</div>
</div>
<div class="text-center">
<button id="timeSeriesCumulativeDownloadLink" type="button" class="btn btn-default">Download To CSV</button>
<a href="" id="timeSeriesCumulativeDataLink" download="data.csv"></a>
</div>
</div>
<div class="tab-pane" id="proportions">
<div id="proportionsChart"></div>
</div>
<div class="tab-pane" id="totals">
<div id="totalsChart"></div>
</div>
</div>
</div>
<div id="loading" class="row-fluid hidden center-block">
<table class="table table-bordered text-center table-squished">
<thead >
<tr >
<th>Type</th>
<th>Last Scraped Element Posted Date</th>
<th>Number Scraped</th>
<th>Scraped Score</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr id="commentRow" class="active">
<td>Comments</td>
<td id="lastScraped">N/A</td>
<td id="numScraped">0</td>
<td id="currScore">0</td>
<td id="status"><i class="fa fa-cog fa-spin"></td>
</tr>
<tr id="postRow" class="active">
<td>Posts</td>
<td id="lastScraped">N/A</td>
<td id="numScraped">0</td>
<td id="currScore">0</td>
<td id="status"><i class="fa fa-cog fa-spin"></td>
</tr>
</tbody>
</table>
</div>
<div id="userNotFound" class="row-fluid hidden">
<div class="span12 text-center">
No comments or posts were found for the selected user. Please check the spelling.
</div>
</div>
</div>
</body>
</html>