-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
241 lines (226 loc) · 10.4 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Favicon -->
<link rel="icon" type="image/png" href="img/FolioFinalTeal.png"/>
<title>Folio</title>
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/style.css" rel="stylesheet">
<link href="css/font-awesome.css" rel="stylesheet">
<!-- Bootstrap Calendar -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/css/bootstrap-datepicker3.min.css" rel="stylesheet">
<!-- Bootstrap Search Bar -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap-select.min.css">
</head>
<body>
<header>
<div class="container">
<img src="img/logo.png" class="logo" alt="">
<form class="form-inline" style="padding-top: 20px">
<div class="form-group">
<label class="sr-only" for="exampleInputEmail3">Email address</label>
<input type="email" class="form-control" id="inputEmail" placeholder="Enter email">
</div>
<div class="form-group">
<label class="sr-only" for="exampleInputPassword3">Password</label>
<input type="password" class="form-control" id="inputPassword" placeholder="Password">
</div>
<button type="submit" class="btn btn-default">Sign in</button><br>
<div class="checkbox">
<label>
<input type="checkbox"> Remember me
</label>
</div>
</form>
</div>
</header>
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="index.html">Home</a></li>
<li><a href="leaderboard.html">Leaderboard</a></li>
<li><a href="portfolio.html">View/Edit Portfolio</a></li>
</ul>
</div>
</div>
</nav>
<section>
<div class="container" style="padding-top: 20px">
<div class="row">
<div class="col-md-3">
<div class="panel panel-default">
<img src="img/oshton.png" class="img-thumbnail" alt="">
<h1 class="text-center">Oshton Tsen</h1>
</div>
<div class="panel panel-default groups">
<div class="panel-heading">
<h3 class="panel-title">Featured Profiles</h3>
</div>
<div class="panel-body">
<div class="group-item">
<img src="img/userteal.png" height="50" style="width: 50px" alt="">
<p><a href="#" class="">Tejas Shah</a></p>
</div>
<div class="clearfix"></div>
<div class="group-item">
<img src="img/userteal.png" height="50" style="width: 50px" alt="">
<p><a href="#" class="">Ohad Michel</a></p>
</div>
<div class="clearfix"></div>
<div class="group-item">
<img src="img/userteal.png" height="50" style="width: 50px" alt="">
<p><a href="#" class="">Aria Chang</a></p>
</div>
<div class="clearfix"></div>
<a href="#" class="btn btn-primary">View All Featured Profiles</a>
</div>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Your graph</h3>
</div>
<div class="panel-body">
<img id="results-chart-full-days">
</div>
</div>
<div class="panel panel-default post">
<div class="panel-body">
<div class="row">
<div class="col-sm-2">
<a href="portfolio.html" class="post-avatar thumbnail"><img src="img/oshton.png" alt=""><div class="text-center"></div></a>
<div class="likes text-center" >3 Likes</div>
</div>
<div class="col-sm-10">
<div class="bubble">
<div class="pointer">
<p style="color: rgb(54, 195, 165);">Nice return! Why did you invest the majority of your portfolio in the Defense industry?</p>
</div>
<div class="pointer-border"></div>
</div>
<p class="post-actions"><a href="#">Comment</a> - <a href="#">Like</a> - <a href="#">Follow</a> - <a href="#">Share</a></p>
<div class="comment-form">
<form class="form-inline">
<div class="form-group">
<input type="text" class="form-control" placeholder="enter comment">
</div>
<p></p>
<button type="submit" class="btn btn-default">Add</button>
</form>
</div>
<div class="clearfix"></div>
<div class="comments">
<div class="comment">
<a href="#" class="comment-avatar pull-left"><img src="img/edcircle.png" alt=""></a>
<div class="comment-text">
<p style='color: rgb(54, 195, 165)'>Given the current political climate I felt that overall bookings for the defense industry would rise.</p>
</div>
</div>
<div class="clearfix"></div>
<div class="comment">
<a href="#" class="comment-avatar pull-left"><img src="img/ohadcircle.png" alt=""></a>
<div class="comment-text">
<p style='color: rgb(54, 195, 165);'>Good point! I wasn't looking at the political climate as an opportunity for investment.</p>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-3">
<div class="panel panel-default groups">
<div class="panel-heading">
<h3 class="panel-title">Leaderboard</h3>
</div>
<div class="panel-body">
<div class="group-item">
<img src="img/userteal.png" height="50" style="width: 50px" alt="">
<p><a href="#" class="">Edmond Nemsingh</a></p>
<img src="img/up-green-arrow.svg" height="20" style="width: 20px" alt="">
</div>
<div class="clearfix"></div>
<div class="group-item">
<img src="img/userteal.png" height="50" style="width: 50px" alt="">
<p><a href="#" class="">Ohad Michel</a></p>
<img src="img/down-red-arrow.png" height="20" style="width: 20px" alt="">
</div>
<div class="clearfix"></div>
<div class="group-item">
<img src="img/userteal.png" height="50" style="width: 50px" alt="">
<p><a href="#" class="">Oshton Tsen</a></p>
<img src="img/up-green-arrow.svg" height="20" style="width: 20px" alt="">
</div>
<div class="clearfix"></div>
<a href="leaderboard.html" class="btn btn-primary">View Leaderboard</a>
</div>
</div>
<div class="panel panel-default groups">
<div class="panel-heading">
<h3 class="panel-title">People you follow</h3>
</div>
<div class="panel-body">
<div class="group-item">
<img src="img/userteal.png" height="50" style="width: 50px" alt="">
<p><a href="#" class="">John Thompson</a></p>
</div>
<div class="clearfix"></div>
<div class="group-item">
<img src="img/userteal.png" height="50" style="width: 50px" alt="">
<p><a href="#" class="">Todd Riley</a></p>
</div>
<div class="clearfix"></div>
<div class="group-item">
<img src="img/userteal.png" height="50" style="width: 50px" alt="">
<p><a href="#" class="">Rebecca Kim</a></p>
</div>
<div class="clearfix"></div>
<a href="portfolio.html" class="btn btn-primary">View followers</a>
</div>
</div>
</div>
</div>
</div>
</section>
<footer>
<div class="container">
<p>Folio © 2019</p>
</div>
</footer>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/3.4.4/fuse.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap-select.min.js"></script>
<script>
fetch('https://dd779d0c.ngrok.io/full-graph', { mode: 'cors' })
.then(res => res.json())
.then(img_b64 => {
console.log('something')
$('#results-chart-full-days')
.attr('src', 'data:image/png;base64,' + img_b64)
.attr('height', '300px')
})
</script>
</body>
</html>