-
Notifications
You must be signed in to change notification settings - Fork 2
/
popup.html
355 lines (319 loc) · 12.3 KB
/
popup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;1,400&display=swap" rel="stylesheet">
<script src="popup.js"></script>
<script src="news.js"></script>
<link rel="stylesheet" href="popup.css">
<title>KiteMain</title>
</head>
<body>
<header>
<span>
<img src="logo.png" alt="">
</span>
<button class="headerButton" id="openKiteBtn">Open Kite</button>
</header>
<main>
<section class="license">
<div class="licenceDialog">
<h2>
<div class="imageContainer">
<img src="icon.png" alt="" srcset="">
</div> Welcome
</h2>
<div>
kiteMan helps you to manage your assets, get latest news,
updated stock recommendations and many more.
This is an unofficial extension. Please read our privacy policy and T&C before accepting.
</div>
<div class="control">
<button id="privacyPolicyBtn">Accept</button>
<span>By clicking 'Accept' button you are agreeing to our <a
href="https://pranoysarkar.github.io/kiteman/#/privacy-policy">
Privacy Policy and T&C
</a> </span>
</div>
</div>
</section>
<section class="headerSection">
<div class="fundStatus">
<span class="labelData" id="profitParent">
<span id="profit"> </span>
<label id="profitLabel"> </label>
</span>
<span class="labelData">
<span id="invested"> </span>
<label id="investedLabel"> </label>
</span>
<span class="labelData">
<span id="available"> </span>
<label id="availableLabel"> </label>
</span>
<span class="labelData totalAssetContainer">
<!-- <span id="totalAsset"> </span>
<label id="totalAssetLabel"> </label> -->
</span>
</div>
</section>
<section>
<div class="tabGroup">
<div class="tabHeaders">
<div class="tabHeader">
<button class="tabHeaderButton active" data-body="investmentsTabBody">My Investments</button>
</div>
<div class="tabHeader">
<button class="tabHeaderButton" data-body="newsTabBody" data-listener="generateNews">
<div id="newsBadge" class="badge"></div>
News
</button>
</div>
<div class="tabHeader">
<button class="tabHeaderButton" data-body="stockTabBody" data-listener="renderStocks">
<div id="stockBadge" class="badge"></div>
Stock Advice
</button>
</div>
<div class="tabHeader">
<button class="tabHeaderButton" data-body="watchListTabBody">Watch list</button>
</div>
</div>
<div class="tabBodyContainer">
<div class="tabBodyPanel">
<div class="tabBody tabBodyActiveActive" id="investmentsTabBody">
<div class="horizontalChild watchListHeader">
<div></div>
<div class="child-inline">
<span class="hiddenWarning">
</span>
<div class="tableController">
<select id="investmentTableFiler">
<option selected value="ALL">All</option>
<option value="ONLYPROFIT">Only Profit</option>
<option value="ONLYLOSS">Only Loss</option>
<option value="SORTBYPROFIT">Sort By Profit</option>
<option value="SORTBYPROFITPERC">Sort By Profit %</option>
<option value="SORTBYINVESTMENT">Sort By Investment</option>
</select>
</div>
</div>
</div>
<div class="tableContainer">
<table>
<thead>
<tr>
<th>Name</th>
<th>#</th>
<th>Buy</th>
<th>Current</th>
<th>Invested</th>
<th>Profit</th>
<th> %</th>
<th>Research</th>
</tr>
</thead>
<tbody id="investmentsTbody">
<tr>
<td colspan="8">
<div class="loadingContainer">
<div class="lds-facebook">
<div></div>
<div></div>
<div></div>
</div>
</div>
</td>
</tr>
<tr id="reopenKiteRow">
<td colspan="4">
Unable to communicate Kite
</td>
<td colspan="4">
<button id="closeAndReopenKiteBTn">Close & Reopen Kite</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="tabBody" id="watchListTabBody" style="display: none;">
<section>
<span id="log"></span>
<div class="horizontalChild watchListHeader">
<div class="panel">
<span class="label">Sort Watch list by :</span>
<button id="sortBtnLooser" class="warn">Loser</button>
<button id="sortBtnGainer" class="good">Gainer</button>
</div>
<div class="tableController">
<select id="tableFiler">
<option value="TOP2GAINERS&LOSERS">Top Gainer & loser</option>
<option value="TOP5GAINERS">Top 5 Gainers</option>
<option value="TOP5LOSERS">Top 5 Losers</option>
<option value="GAINERS">Gainers</option>
<option value="LOSERS">Losers</option>
<option selected value="ALL">All</option>
</select>
</div>
</div>
<div class="tableContainer">
<table class="watchListTable">
<thead>
<tr>
<th>Name</th>
<th>Change</th>
<td>Research</td>
</tr>
</thead>
<tbody id="watchListTbody">
<tr>
<td colspan="3">
<div class="loadingContainer">
<div class="lds-facebook">
<div></div>
<div></div>
<div></div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</section>
</div>
<div class="tabBody" id="newsTabBody">
<div class="horizontalChild">
<div class="bold">
Disclaimer: Don't make buy/sell decision based on this list only. Do proper research. Use at your own
risk
</div>
</div>
<div class="newsTabBodyContent">
<div>
<div class="header"> </div>
<div id="newsBody">
<div class="loadingContainer">
<div class="lds-facebook">
<div></div>
<div></div>
<div></div>
</div>
</div>
</div>
</div>
<div> </div>
<div> </div>
</div>
</div>
<div class="tabBody" id="stockTabBody">
<div class="horizontalChild">
<div class="bold">
Disclaimer: Don't make buy/sell decision based on this list only. Do proper research. Use at your own
risk
</div>
</div>
<div class="newsTabBodyContent">
<div>
<div class="header"> </div>
<div id="stockAdviceBody">
<div class="loadingContainer">
<div class="lds-facebook">
<div></div>
<div></div>
<div></div>
</div>
</div>
</div>
</div>
<div class="stockAdviceList">
</div>
</div>
</div>
<!-- <div class="tabBody" id="analyticsTabBody">
<div class="horizontalChild">
<div class="bold">
Disclaimer: Research purpose only. Don't make buy/sell decision based on this chart only. Use at your
own risk
</div>
<div class="tableController">
<select id="analyticsTableFiler">
<option selected value="ALL">All</option>
<option selected value="hockey_curve">Hockey Curve</option>
<option selected value="up">Going Up</option>
<option selected value="down">Going Down</option>
</select>
</div>
</div>
<div class="tableContainer">
<table>
<thead>
<tr>
<th>Name</th>
<th>Hockey Curve</th>
<th>Going Down</th>
<th>Going Up</th>
<th>Links</th>
</tr>
</thead>
<tbody id="analyticsTableBody">
<tr>
<td colspan="4">
<div class="loadingContainer">
<div class="lds-facebook">
<div></div>
<div></div>
<div></div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div> -->
</div>
</div>
</div>
</section>
</main>
<footer>
<div class="socialShare">
<a target="_blank"
href="https://twitter.com/intent/tweet?url=https://pranoysarkar.github.io/kiteman/&text=Get one click 🎀AWESOME DASHBOARD🎀 of your portfolio, Business News📈, 👉Stock Advice and many more. 👋Install KiteMan now👋&related=kiteMan">
<img src="/assets/twitter.jpg" alt="">
</a>
<a target="_blank"
href="https://www.facebook.com/sharer/sharer.php?u=https://pranoysarkar.github.io/kiteman/"e=Get one click AWESOME DASHBOARD of your portfolio, Business News, Stock Advice and many more. Install KiteMan now">
<img src="/assets/facebook.jpg" alt="">
</a>
<a id="home" target="_blank" href="https://pranoysarkar.github.io/kiteman/#/?ext=true">
<img src="/assets/home.png" alt="">
</a>
</div>
<div class="links">
<div>
<a target="_blank" href="https://pranoysarkar.github.io/kiteman/#/feature">Feature Request</a>
</div>
<div>
<a target="_blank" href="https://pranoysarkar.github.io/kiteman/#/loss-recovery-calculator">Loss Recovery
Calculator</a>
</div>
<div>
<a target="_blank" href="https://pranoysarkar.github.io/kiteman/#/help">Help</a>
</div>
<div>
<a target="_blank" href="https://pranoysarkar.github.io/kiteman/#/privacy-policy">Privacy Policy and T&C</a>
</div>
<div>
<div class="imageContainer">
<img src="/assets/open-source.png" alt="" srcset="">
</div>
</div>
</div>
</footer>
</body>
</html>