-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
126 lines (121 loc) · 2.79 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
<html>
<head>
<style>
table, th, td {
border: 2px solid rgb(255, 255, 255);
border-collapse: collapse;
text-align: center;
word-wrap: break-word;
}
td, th {
padding: 6px;
}
th {
font-size: 90%;
color:rgb(0, 0, 0);
background-color:black;
}
td{
font-size: 90%;
}
.highlight {
background-color: rgb(189, 144, 233);
}
.hlt {
background-color: rgba(42, 45, 232, 0.417);
}
#highest{
background-color: #673147;
font-size: x-small;
width: fit-content;
color:rgb(255, 255, 255);
border-radius: 10%;
}
#secondhighest{
background-color: #00238d;
font-size: x-small;
width: fit-content;
color:rgb(255, 255, 255);
border-radius: 10%;
}
.StrikePrice{
background-color: rgb(84, 83, 83);
/* font-weight: bold; */
color: white;
}
#loading {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 9999;
}
#index{
padding: 3px;
border-radius: 5px;
background-color: rgb(76, 76, 76);
color: white;
}
.spinner {
margin: auto;
width: 50px;
height: 50px;
border: 5px solid #fff;
border-top-color: #777;
border-radius: 50%;
position: relative;
text-align: center;
animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.btn{
background-color: rgba(0, 0, 0, 0.462);
color: white;
border-radius: 5px;
font-size: smaller;
}
.btn:hover{
background-color: gray;
color: black;
}
#index{
background-color: rgba(0, 0, 0, 0.118);
color: black;
}
.hidden {
display: none;
}
#container{
opacity: 0.8;
}
</style>
</head>
<body>
<select id="index" onchange="getoptionchaindata();">
<!-- <select id="index"> -->
<option value="banknifty">BankNifty</option>
<option value="nifty">Nifty</option>
<option value="finnifty">FinNifty</option>
</select>
<!-- <button class="btn" id="btn">Get</button><br> -->
<br>
<div id="container"></div>
<div id="highest">Highest Value</div>
<div id="secondhighest">Second Highest Value</div>
<div id="loading">
<div class="spinner"></div>
</div>
<div>
<script src="optionchainObfuscated.js">
</script>
</body>
</html>