-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (85 loc) · 2.81 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
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
<!DOCTYPE html>
<head>
<title>WeBuild Live Stats</title>
<meta name="description" content="Visualize web server logs">
<link href="css/main.css" rel="stylesheet" type="text/css">
<meta charset="UTF-8">
</head>
<body>
<a style="position: absolute; top: 0; right: 0; border: 0;" href="https://github.com/danielstjules/ServerLogStats">
<img src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" alt="Fork me on GitHub">
</a>
<div class="header">
<h1>WeBuild Live LogStats</h1>
</div>
<div id="content">
<script id="uploaded-template" type="text/x-handlebars-template">
<br /><br />
<strong>Wait..</strong> This file is being loaded.
</script>
<script id="section-template" type="text/x-handlebars-template">
<div id="{{id}}" class="section">
<div class="container">
<strong>Top 100 {{sectionName}}</strong>
<div class="table">
{{> table}}
</div>
</div>
<strong>Top 10 {{sectionName}}</strong>
</div>
</script>
<script id="modal-template" type="text/x-handlebars-template">
<div id="overlay">
<div id="modal">
<p class="right"><a id="close">Click to Close</a></p>
<p><strong>{{title}}</strong>: {{query}}</p>
{{#if extraTitle}}
<p><strong>{{extraTitle}}</strong>: {{extraInfo}}</p>
{{/if}}
<div class="cl"></div>
<div class="table right">
{{> table}}
</div>
</div>
</div>
</script>
<script id="table-partial" type="text/x-handlebars-template">
<table>
<tr>
<th class="rank">Rank</th>
<th class="colone">{{colOne}}</th>
<th class="coltwo">{{colTwo}}</th>
</tr>
{{#each rows}}
<tr>
<td>{{rank}}</td>
<td>{{name}}</td>
<td>{{value}}</td>
</tr>
{{/each}}
</table>
</script>
<input type="range" min=0 max=1 value=0 id="slider" />
<output for="slider" id="logname" ></output>
<div id="uploadbox"></div>
<div id="traffic" class="section"></div>
</div>
<div id="footer">
<p>Maximum recommended log upload size: 200MB</p>
<p>Compatible with Google Chrome & Mozilla FireFox</p>
<div >
Fork this project on <a href="https://github.com/danielstjules/ServerLogStats">Github</a>
or <a href="https://github.com/danielstjules/ServerLogStats/issues">open an issue</a>.
</div>
</div>
<script id="time-template" type="text/x-handlebars-template">
<p>Script Execution Time: {{duration}}s</p>
</script>
<script type="text/javascript" src="lib/d3.v3.min.js" charset="utf-8"></script>
<script type="text/javascript" src="lib/zepto.min.js"></script>
<script type="text/javascript" src="lib/handlebars.min.js" charset="utf-8"></script>
<script type="text/javascript" src="app/charts.js"></script>
<script type="text/javascript" src="app/log.js"></script>
<script type="text/javascript" src="app/main.js"></script>
</body>
</html>