-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
147 lines (131 loc) · 5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap CDN for styling -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk"
crossorigin="anonymous">
<!-- Font Awesome CSS Icons (For cool glyphicons) -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" />
<!-- Google Font CDN -->
<link href="https://fonts.googleapis.com/css2?family=Bungee+Inline&display=swap" rel="stylesheet">
<!-- Custom icons CDN -->
<script src="https://kit.fontawesome.com/3e0c607514.js" crossorigin="anonymous"></script>
<!-- Custom CSS -->
<link rel="stylesheet" type="text/css" href="./css/style.css">
<title>Stock and Commodity News Website</title>
</head>
<body>
<header>
<div class="main-container">
<!-- Search bar and title header-->
<div class="container">
<!-- Background image -->
<div class="background"></div>
<div class="heading">
<h1 class="h">Discover <span class="headline-color">Stock & Commodity</span> Things</h1>
</div>
<div class="search-bar">
<div class="search-container">
<input type="text" class="search-input" placeholder="Search here...">
<div class="suggestions"></div>
</div>
<button class="btn btn-primary search-icon" id="run-search-01" type="submit">
<i class="fa fa-search"></i>
</button>
</div>
<div class="overlay"></div>
</div>
</div>
</header>
<main>
<div class="news-container">
<!-- News feed and widget section -->
<div class="row">
<div class="col-6 news-placeholder">
<!-- This row will handle all of the retrieved articles -->
<section class="row">
<div class="col-md-12">
<br>
<!-- This card will initially be made up of a card and wells for each of the articles retrieved -->
<div class="card">
<!-- card Heading for the retrieved articles box -->
<div class="card-header">
<strong>
<i class="fa fa-table"></i> Top Articles</strong>
</div>
<!-- This main card will hold each of the resulting articles -->
<article class="card-body" id="article-section">
<h2>This section</h2>
</article>
</div>
</div>
</section>
</div>
<div class="col-6 news-placeholder">
<!-- This row will handle all of the retrieved articles -->
<section class="row">
<div class="col-md-12">
<br>
<!-- This card will initially be made up of a card and wells for each of the articles retrieved -->
<div class="card">
<!-- card Heading for the retrieved articles box -->
<div class="card-header">
<strong><i class="fa fa-table"></i> Top Statistics listings</strong>
</div>
<!-- This main card will hold each of the resulting articles -->
<article class="card-body" id="article-section-2">
<div class="statistics"></div>
<!-- <div intrinio-widget-type="small_stock_chart" id="widget" intrinio-widget-ticker="ORLC"></div> -->
<!-- <canvas id="chart" width="400" height="400"></canvas> -->
<!-- TradingView Widget BEGIN -->
<div class="tradingview-widget-container">
<div id="basic-area-chart"></div>
<div class="tradingview-widget-copyright"><a href="https://www.tradingview.com/symbols/AAPL/" rel="noopener" target="_blank"><span class="blue-text">AAPL Chart</span></a> by TradingView</div>
<script type="text/javascript" src="https://s3.tradingview.com/tv.js"></script>
<script type="text/javascript">
new TradingView.widget(
{
"container_id": "basic-area-chart",
"width": 800,
"height": 350,
"symbol": "AAPL",
"interval": "D",
"timezone": "exchange",
"theme": "light",
"style": "3",
"toolbar_bg": "#f1f3f6",
"hide_top_toolbar": true,
"save_image": false,
"locale": "en"
}
);
</script>
</div>
<!-- TradingView Widget END -->
</article>
</div>
</div>
</section>
</div>
</div>
</div>
</main>
<!-- Footer section -->
<footer>
<!-- Footer section -->
<div class="something">
</div>
</footer>
<!-- jQuery CDN -->
<script src="https://code.jquery.com/jquery.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0/js/bootstrap.bundle.min.js"></script>
<!-- Chart.js Library -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/Chart.min.js"></script>
<!-- JavaScript -->
<script src="./scripts/ajax-api.js" type='text/javascript'></script>
<script src="./scripts/stocks-chart.js" type='text/javascript'></script>
</body>
</html>