-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (64 loc) · 2.45 KB
/
index.html
File metadata and controls
74 lines (64 loc) · 2.45 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
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" media="all" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.1.1/css/bootstrap.min.css" />
<link rel="stylesheet" media="all" href="main.css" />
</head>
<body class="container">
<section >
<h1>HAR Visualizer</h1>
<p>Takes a <a href="https://en.wikipedia.org/wiki/.har">HAR</a> file content and aggregates timing and size information. No data will be send to the Server all stays in your browser.</p>
</section>
<section id="mainBox">
<script id="template" type="text/x-handlebars-template">
<div class="row">
<div class="col-md-6" id="chart"></div>
<div class="col-md-6">
<table class="table table-striped">
<thead>
<tr class="sorting">
<th><a href="#name">name</a></th>
<th><a href="#time">time ∑</a></th>
<th><a href="#requests">requests</a></th>
<th><a href="#size">size</a></th>
</tr>
<tr class="sorting">
<th>{{domains.length}} domains</th>
<th>{{formatTime summedDate.time}}</th>
<th>{{summedDate.requests}}</th>
<th>{{formatByte summedDate.size}}</th>
</tr>
</thead>
{{#each domains}}
<tr>
<td>{{name}}</td>
<td>{{formatTime time}}</td>
<td>{{requests}}</td>
<td>{{formatByte size}}</td>
</tr>
{{/each}}
</table>
</div>
</div>
</script>
</section>
<div class="row">
<div class="col-md-6">
<label for="harInput">Copy you HAR content here:</label>
<textarea id="harInput"></textarea>
<button id="calculate">calculate</button>
<button id="loadExample">load example</button>
</div>
</div>
<footer>
<a href="http://stiehl.io">stiehl.io</a> | <a href="https://github.com/5oc/HARVisualizer">github</a>
</footer>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.3.0/handlebars.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/numeral.js/1.5.3/numeral.min.js"></script>
<script src='https://www.google.com/jsapi?autoload={"modules":[{"name":"visualization","version":"1","packages":["corechart","table"]}]}'></script>
<script src="main.js"></script>
</body>
</html>