-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
427 lines (377 loc) · 19.1 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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
<!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">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="media/trending3.png">
<title>#TrendingInMedicine</title>
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<!-- link for css font Ubuntu is good and so is Roboto -->
<link href='https://fonts.googleapis.com/css?family=Roboto:light' rel='stylesheet' type='text/css'>
<!--Stylesheet for logins-->
<link href="css/stylesheet.css" rel="stylesheet">
<!-- JQuery-->
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<!-- Javascript-->
<script src="js/login_register.js" type="text/javascript"></script>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<style>
body{
font-family: 'Roboto', serif;
}
.dropdown-backdrop{
position: static;
}
</style>
</head>
<body id="page-top" data-spy="scroll">
<!-- line 4356 -->
<nav id="navbar" class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/" style="background-image: url("/media/favicon1.ico"); background-size:48px; width:48px"> #TiM</a>
</div>
<div class="collapse navbar-collapse navbar-center navbar-main-collapse">
<ul class="nav navbar-nav navbar-center">
<li><a href = "/journals">Journals</a></li>
<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">#Trends<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="/trends?topic=surgery">Surgery</a></li>
<li><a href="/trends?topic=oncology">Oncology</a></li>
<li><a href="/trends?topic=cardiology">Cardiology</a></li>
</ul>
</li>
<li><a class= "page-scroll" role="button" href = "#team">Team</a></li>
</ul>
<ul class = "nav navbar-nav navbar-right">
<!--
Working Login Link:
<li><a href="#" data-toggle="modal" onclick="openRegisterModal();"><span class = "glyphicon glyphicon-user"></span> Sign Up</a></li>
<li><a href="#" data-toggle="modal" onclick="openLoginModal();"><span class = "glyphicon glyphicon-log-in"></span> Log In</a></li>
-->
<!-- Temporary Login Buttons: -->
<li><a href="#" data-toggle="modal"><span class = "glyphicon glyphicon-user"></span> Sign Up</a></li>
<li><a href="#" data-toggle="modal"><span class = "glyphicon glyphicon-log-in"></span> Log In</a></li>
</ul>
</div>
</div>
</nav>
<!-- Login/Signup Modal -->
<div class="modal fade login" id="loginModal">
<div class="modal-dialog login animated">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Login</h4>
</div>
<div class="modal-body">
<div class="box">
<div class="content">
<div class="error"></div>
<div class="form loginBox">
<form method="" action="" accept-charset="UTF-8">
<input id="email" class="form-control" type="text" placeholder="Email" name="email">
<input id="password" class="form-control" type="password" placeholder="Password" name="password">
<input class="btn btn-default btn-login" type="button" value="Login" onclick="loginAjax()">
</form>
</div>
</div>
</div>
<div class="box" >
<div class="content registerBox" style="display:none;">
<div class="form">
<form id="myForm" method="get" html="{:multipart=>true}" data-remote="true" action="/register" accept-charset="UTF-8">
<input id="name" class="form-control" type="text" placeholder="Name" name="name">
<input id="email" class="form-control" type="text" placeholder="Email" name="email">
<input id="password" class="form-control" type="password" placeholder="Password" name="password" aria-describedby="passwordHelpBlock">
<p id="passwordHelpBlock" class="form-text text-muted">
Your password must be 6-20 characters long.
</p>
<input id="password_confirmation" class="form-control" type="password" placeholder="Repeat Password" name="password_confirmation">
<input id="createacc" class="btn btn-default btn-register" type="submit" value="Create account" onclick="return validateForm();" name="commit">
</form>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<div class="forgot login-footer">
<span>Looking to <a style="color: #337ab7;" href="javascript: showRegisterForm();">create an account?</a></span>
</div>
<div class="forgot register-footer" style="display:none">
<span>Already have an account?</span>
<a style="color: #337ab7;" href="javascript: showLoginForm();">Login</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- end login modal -->
<div class = "container" style = "z-index:1; position:absolute; top:275px;">
<div class = "row">
<div class="text-center" style = "background-color:black; opacity: .7; color:white; padding:1em;">
<h1 style = "font-size:5vw">#TrendingInMedicine</h1>
<h4 style="font-weight:normal;">Twitter distills millions of tweets daily into "trends" - so that you know what today's most important discussions are & you can see all the tweets relevant to that discussion. Why aren't we doing the same with the thousands of medical papers published weekly?</h4>
<p><a class="btn btn-primary btn-lg page-scroll" href="#learn" role="button"> Learn More »</a></p>
</div>
</div>
</div>
<!-- Carousel -->
<div id="myCarousel" class="carousel slide" data-ride="carousel" data-interval="7000">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="item active"style="height:600px;">
<img class="first-slide center-block" src="/media/highrestest.jpg" alt="First slide" style = "width:100%;">
<div class="container text-center">
<div class="row carousel-caption">
</div>
</div>
</div>
<div class="item"style="height:600px;">
<img class="second-slide center-block" src="/media/highres2.jpg" alt="Second slide" style = "width:100%;">
<div class="container text-center">
<div class="row carousel-caption">
</div>
</div>
</div>
<div class="item"style="height:600px;">
<img class="third-slide center-block" src="/media/highres3.jpg" alt="Third slide" style = "width:100%;">
<div class="container text-center">
<div class="row carousel-caption">
</div>
</div>
</div>
</div>
</div><!-- /.carousel -->
<!-- end of Carousel -->
<div class="container" id = "learn" style = "margin-top:50px;">
<!-- Example row of columns -->
<div class="row">
<div class="col-md-4 text-center">
<h3>One Website. 100+ Journals.</h3>
<p>Effortlessly browse through the hottest articles in your specialization.</p>
<!--<p><a class="btn btn-default" href="#" role="button">View details »</a></p>-->
<div class="field field-name-field-highlight-image field-type-image field-label-hidden ">
<picture>
<img src= "/media/cartoon1.png" alt="" title="" style="width:200px;height:200px;"></img>
</picture>
</div>
</div>
<div class="col-md-4 text-center">
<h3>Free? You Betcha.</h3>
<p>No trials, no ads, no strings attached.</p>
<!--<p><a class="btn btn-default" href="#" role="button">View details »</a></p>-->
<div class="field field-name-field-highlight-image field-type-image field-label-hidden ">
<picture>
<img src= "/media/cartoon2.png" alt="" title="" style="width:200px;height:200px;"></img>
</picture>
</div>
</div>
<div class="col-md-4 text-center">
<h3>What's the Catch? <br></h3>
<p>No catch. Simply better research with a simple website.</p>
<!--<p><a class="btn btn-default" href="#" role="button">View details »</a></p>-->
<div class="field field-name-field-highlight-image field-type-image field-label-hidden ">
<picture>
<img src= "/media/cartoon3.png" alt="" title="" style="width:200px;height:200px;"></img>
</picture>
</div>
</div>
</div>
</div>
<hr style = "margin-top:50px;">
<!-- anjams pane -->
<div class = "container-fluid" style = "background-color:#ebebeb; padding: 6em 4em 2em;">
<div class="panel-pane pane-fieldable-panels-pane pane-fpid-806 jumbo-img-row is-striped stay-on-top pane-bundle-mint-image-block view-mode-full-width-image-right">
<div class="pane-content">
<div class="container">
<div class="row">
<div class="fieldable-panels-pane">
<div class="group-content-left field-group-div col-md-6">
<div class="field field-name-field-block-text field-type-text-long field-label-hidden ">
<h3>Personalized for you</h3>
<ul class="list-mobile no-margin-bottom" style="line-height:2.5;">
<li>Sign up or stay logged in to get recommended trends and articles daily.</li>
<li>Have updates on trends emailed and texted to your smartphone.</li>
<li>Receive alerts when trends move up or down.</li>
</ul>
</div>
</div>
<div class = "group-content-right field-group-div col-md-6" style="padding: 0em 0em 0em">
<div id = "myPieChart">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--end of anjams stuff-->
<div id = "team" class="container" style = "margin-top:30px;">
<div class="row">
<div class="heading-title text-center">
<h3 >Meet the Team</h3>
<!-- <p class="p-top-30 half-txt">Nam pulvinar vitae neque et porttitor. Praesent sed nisi eleifend. Nam pulvinar vitae neque et porttitor. Praesent sed nisi eleifend. </p> -->
</div>
<div class="col-md-3 col-sm-3">
<div class="team-member">
<div class="team-img">
<img src="/media/balex.png" alt="team member" class="img-responsive">
</div>
<div class="team-hover">
<div class="desk">
<h4>Leader and Medical Expert</h4>
<p>I provided a path for the three developers and gave my expertise whenever needed.</p>
</div>
<div class="s-link">
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-google-plus"></i></a>
</div>
</div>
</div>
<div class="team-title">
<h5>Alex Marwaha</h5>
<span>founder</span>
</div>
</div>
<div class="col-md-3 col-sm-3">
<div class="team-member">
<div class="team-img">
<img src="/media/banky.png" alt="team member" class="img-responsive">
</div>
<div class="team-hover">
<div class="desk">
<h4>Lead Developer</h4>
<p>I wrote the algorithm that gathered the trends for each month using RAKE and guided the development of the frontend and backend for the website. </p>
</div>
<div class="s-link">
<a href="https://github.com/The-Log"><i class="fa fa-github-square"></i></a>
<a href="http://ankurmishra.ml"><i class="glyphicon glyphicon-user"></i></a>
</div>
</div>
</div>
<div class="team-title">
<h5>Ankur Mishra</h5>
<span>Developer</span>
</div>
</div>
<div class="col-md-3 col-sm-3">
<div class="team-member">
<div class="team-img">
<img src="/media/banju.png" alt="team member" class="img-responsive">
</div>
<div class="team-hover">
<div class="desk">
<h4>Server Manager</h4>
<p>I worked on the backend, setup the connections between our server and databases, and configured the API calls to the PubMed Database. </p>
</div>
<div class="s-link">
<a href="https://github.com/alamanjam"><i class="fa fa-github-square"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-google-plus"></i></a>
</div>
</div>
</div>
<div class="team-title">
<h5>Anjam Alam</h5>
<span>Developer</span>
</div>
</div>
<div class="col-md-3 col-sm-3">
<div class="team-member">
<div class="team-img">
<img src="/media/bashy.png" alt="team member" class="img-responsive">
</div>
<div class="team-hover">
<div class="desk">
<h4>Website Styler</h4>
<p>I did lots of the styling behind the website and also helped Ankur with writing some of the RAKE algorithm.</p>
</div>
<div class="s-link">
<a href="https://github.com/AshwinPathi"><i class="fa fa-github-square"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-google-plus"></i></a>
</div>
</div>
</div>
<div class="team-title">
<h5>Ashwin Pathi</h5>
<span>Developer</span>
</div>
</div>
</div>
</div>
<!-- band and footer -->
<hr>
<footer style = "margin-left: 20px;">
<p> © 2017 TrendinginMedicine.</p>
</footer>
<!-- end of band and footer-->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- <script>window.jQuery || document.write('<script src="js/vendor/jquery.min.js"><\/script>')</script> -->
<script src="js/jquery.easing.min.js"></script>
<script src="js/scroll.js"></script>
<!-- javascript graph -->
<script type="text/javascript">
$(function() {
$('a.page-scroll').bind('click', function(event) {
var $anchor = $(this);
$('html, body').stop().animate({
scrollTop: $($anchor.attr('href')).offset().top
}, 1500, 'easeInOutExpo');
event.preventDefault();
});
});
google.charts.load('current', {packages: ['corechart']});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
// Define the chart to be drawn.
var keyword = 'pancreatic';
var data = new google.visualization.DataTable();
data.addColumn('string', 'Date');
data.addColumn('number', 'Usage of ' + keyword);
data.addRows([
['January', 37],
['Febuary', 42],
['March', 59]
]);
// Instantiate and draw the chart.
var chart = new google.visualization.LineChart(document.getElementById('myPieChart'));
var options = {
title: 'Time Trend of Word Usage',
width: $(window).width()/2,
height: 200,
chartArea: { width: "60%", height: "70%" },
backgroundColor: '#ebebeb',
is3D: true
};
chart.draw(data, options);
}
</script>
<!-- javascript graph -->
</body>
</html>