-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
124 lines (124 loc) · 3.86 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<html>
<head>
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.16/p5.js"></script>
<script src="sketch.js"></script>
<script src="myjs.js"></script>
<style>
.box-value{
font-family: Arial, Helvetica, sans-serif;
display: inline-block;
width: 40%;
height: 130px;
font-size: 11px;
margin: 8px;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
padding: 0px 0px 0px 16px;
}
.box-value-variance{
font-family: Arial, Helvetica, sans-serif;
display: inline-block;
width: 90%;
height: 130px;
font-size: 11px;
margin: 8px;
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
padding: 0px 0px 0px 16px;
}
.canvas{
margin-left: 24px;
display: inline-block;
}
.console{
font-family: Arial, Helvetica, sans-serif;
width: 80%;
height: 100px;
font-size: 16px;
margin-top: 8px;
margin-left: 24px;
overflow-y: auto;
}
.stats-container{
display: inline-block;
width: 27%;
height: 604px;
overflow-y: auto;
}
.title{
font-family: Arial, Helvetica, sans-serif;
margin:24px;
}
.value{
padding-left: 28%;
padding-top: 28px;
font-size: 19px;
}
.value-variance{
padding-left: 10%;
padding-top: 28px;
font-size: 19px;
display: inline-block;
}
</style>
</head>
<body>
<h1 class="title">Find your friend</h1>
<div>
<div style="width: 70%; display: inline-block;">
<div id="sketch-holder" class="canvas">
<!-- Our sketch will go here! -->
</div>
<div class="console">
<p id="events"></p>
</div>
</div>
<div class="stats-container">
<div class="total-title box-value">
<h3>Number of failed searches:</h3>
<h1 id="fs" class="value"></h1>
</div>
<div class="total-title box-value">
<h3>Number of succeded searches:</h3>
<h1 id="ss" class="value"></h1>
</div>
<div class="total-title box-value">
<h3>Average time to find a friend:</h3>
<h1 id="attff" class="value"></h1>
</div>
<div class="box-value">
<h3>Total percentage user in DB:</h3>
<h1 id="tapudb" class="value"></h1>
</div>
<div class="total-title box-value">
<h3>Current percentage user in DB:</h3>
<h1 id="capudb" class="value"></h1>
</div>
<div class="total-title box-value">
<h3>Total average age in DB:</h3>
<h1 id="taadb" class="value"></h1>
</div>
<div class="total-title box-value">
<h3>Current average age in DB:</h3>
<h1 id="caadb" class="value"></h1>
</div>
<div class="total-title box-value">
<h3>Total recent locations in DB:</h3>
<h1 id="tprldb" class="value"></h1>
</div>
<div class="total-title box-value-variance">
<h3>Current recent locations in DB [max, avg, min]:</h3>
<h1 id="maxcprldb" class="value-variance"></h1>
<h1 id="cprldb" class="value-variance"></h1>
<h1 id="mincprldb" class="value-variance"></h1>
</div>
<div class="total-title box-value">
<h3>Current people out of range:</h3>
<h1 id="cpoor" class="value"></h1>
</div>
</div>
</div>
</body>
</html>