-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
141 lines (132 loc) · 6.57 KB
/
index.html
File metadata and controls
141 lines (132 loc) · 6.57 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>NEPSE Quick</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<style>
a {
text-decoration: none;
}
</style>
</head>
<body>
<div style="width: 400px">
<div class="container py-3">
<div class="row justify-content-between">
<div class="col">
<div class="row align-items-center flex-nowrap justify-content-center p-1">
<h5 class="w-auto" style="margin-left:11px;">NEPSE <i class="bi text-secondary"
id="nepseIcon"></i></h5>
<small class="w-auto " style="font-size: medium; margin-top: -7px; margin-left: -14px;"
id="latest_price"> 0.00</small>
<span style="font-size: small; margin-top: -7px; margin-left: -14px;"
class="w-auto text-secondary" id="percentage_change">0.00%</span>
<span style="font-size: small; margin-top: -7px; margin-left: -14px;"
class="w-auto text-secondary" id="point_change">0.00</span>
</div>
</div>
<div class="col">
<div class="row text-end">
<i id="marketStatus" class="bi bi-circle-fill text-secondary align-right" alt="Market Open"></i>
</div>
</div>
<hr />
</div>
<button type="button" id="notifyMe" class="btn btn-primary btn-sm w-100" >Notify Me</button>
<div class="row">
<div class="col-12 mb-3" id="watchListBox">
<a href="#" id="addWatchListButton" class="text-center d-block bg-body-secondary p-1 text-primary"> Watch List <i
class="bi bi-plus-circle"></i> </a>
</div>
<div class="col">
<div class="row" id="addWatchListLinkSection">
<div class="col-12">
<a href="#" id="addWatchListLink" class="text-end text-primary d-block p-1"> <small> Add another + </small> </a>
</div>
</div>
<div class="row g-2 align-items-center mb-3 d-none" id="watchListAddForm">
<div class="col-3">
<input type="text" id="script" class="form-control form-control-sm w-100" placeholder="Script">
</div>
<div class="col-3">
<select class="form-control form-control-sm w-100" id="actionType">
<option selected value="Sell">Sell</option>
<option value="Buy">Buy</option>
</select>
</div>
<div class="col-3">
<input type="number" class="form-control form-control-sm w-100" id="price" placeholder="Price">
</div>
<div class="col-2">
<button type="button" id="addScript" class="btn btn-success btn-sm d-block w-100" placeholder="Price"> Add
</button>
</div>
<div class="col-1">
<button type="button" id="hideForm" class="btn btn-danger btn-sm d-block w-100" placeholder="Price"> -
</button>
</div>
</div>
<div class="col-12" id="watchListList"> </div>
<div class="col">
<hr/>
</div>
</div>
</div>
<div class="row">
<div class="col-4">
<div class="alert alert-success p-0">
<p class="text-center p-1 m-0"><strong id="advance">0</strong> <br><small>Positive</small></p>
</div>
</div>
<div class="col-4">
<div class="alert alert-danger p-0">
<p class="text-center p-1 m-0"><strong id="decline">0</strong> <br><small>Negative</small></p>
</div>
</div>
<div class="col-4">
<div class="alert alert-secondary p-0">
<p class="text-center p-1 m-0"><strong id="unchanged">0</strong> <br><small>Unchanged</small>
</p>
</div>
</div>
<div class="col-12">
<div class="row">
<div class="col">
<table class="table table-striped table-bordered table-sm text-center"
style="font-size: 13px; border-radius:10px">
<tr>
<th>Total Turnover</th>
<th>Total Traded Share</th>
</tr>
<tr>
<td id="totalTurnover">0</td>
<td id="totalTradedShare">0</td>
</tr>
</table>
</div>
</div>
</div>
<div class="col-12">
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link active" id="gainerTab" aria-current="page" href="#">Top Gainers</a>
</li>
<li class="nav-item">
<a class="nav-link" id="loserTab" href="#">Top Losers</a>
</li>
</ul>
</div>
<div class="col-12" id="topGainers"> </div>
<div class="col">
<p class="text-center"><small>Source: onlinekhabar.com public data </small></p>
</div>
</div>
</div>
</div>
<script src="./popup.js"></script>
</body>
</html>