forked from mathieuancelin/js-repaint-perfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (48 loc) · 1.65 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
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="DBMON NOT REACT"/>
<link href="../styles.css" rel="stylesheet" type="text/css"/>
<title>dbmon</title>
<script id="template" type="text/x-dot-template">
<table class="table table-striped latest-data">
<tbody>
<!-- Database -->
{{~it.databases :db:index}}
<tr>
<td class="dbname">
{{=db.dbname}}
</td>
<td class="query-count">
<span class="{{=db.lastSample.countClassName}}">
{{=db.lastSample.nbQueries}}
</span>
</td>
<!-- Query -->
{{~db.lastSample.topFiveQueries :q:indexQ}}
<td class="{{=q.elapsedClassName}}">
{{=q.formatElapsed || ''}}
<div class="popover left">
<div class="popover-content">
{{=q.query || ''}}
</div>
<div class="arrow"></div>
</div>
</td>
{{~}}
</tr>
{{~}}
</tbody>
</table>
</script>
</head>
<body>
<div id="app"></div>
<script src="../ENV.js"></script>
<script src="../lib/memory-stats.js"></script>
<script src="../lib/monitor.js"></script>
<script src="../lib/doT.min.js"></script>
<script src="./app.js"></script>
<script src="../ga.js"></script>
</body>
</html>