-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatabase.html
258 lines (230 loc) · 7.93 KB
/
database.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
<!DOCTYPE html>
<html>
<head>
<!-- Latest version of JQuery -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="https://png.icons8.com/ios/80/000000/planet-filled.png"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="/templates/database.js"></script>
<style>
li:hover { cursor: pointer; }
.content {
width: 300px;
border: 2px solid rgb(150, 0, 250);
padding: 20px;
overflow: hidden;
}
.content img {
margin-right: 25px;
float: left;
cursor: pointer;
}
body {font-family: Arial;}
.tab .search-container {
float:right;
}
.tab .search-container input[type=text] {
float: left;
padding: 6px;
border: none;
margin-top: 8px;
margin-right: 16px;
font-size: 17px;
}
.tab .search-container button {
float: right;
padding: 6px 10px;
margin-top: 8px;
margin-right: 16px;
background: #ddd;
font-size: 17px;
border: none;
cursor: pointer;
}
/* Style the tab */
.tab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
}
/* Style the buttons inside the tab */
.tab button {
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
font-size: 17px;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: #ccc;
}
/* Create an active/current tablink class */
.tab button.active {
background-color: #ccc;
}
/* Style the tab content */
.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid #ccc;
border-top: none;
}
/* Style the close button */
.topright {
float: right;
cursor: pointer;
font-size: 28px;
}
.topright:hover {color: red;}
.jumbotron-billboard .galaxy {
margin-bottom: 0px;
opacity: 0.35;
color: #fff;
background: #000 url("stars.jpg") center center;
width: 100%;
height: 100%;
background-size: cover;
overflow: hidden;
position:absolute;
top:0;left:0;
z-index:1;
}
.jumbotron {position:relative;padding:10px;}
.jumbotron .container {z-index:2;
position:relative;
z-index:2;
}
</style>
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
</head>
<body>
<div class="jumbotron jumbotron-billboard">
<div class="galaxy"></div>
<div class="content">
<img src="https://png.icons8.com/ios/80/000000/planet-filled.png"/ alt="" >
<h3 style="font-size: 100%;">CLARITY</h3>
<p>Welcome to Clarity, the Mazin Lab Database</p>
</div>
</div>
</div>
<div class="tab">
<button class="tablinks" onclick="openData(event, 'Home')" id="defaultOpen">Home</button>
<button class="tablinks" onclick="openData(event, 'Targets')">Targets</button>
<button class="tablinks" onclick="openData(event, 'Runs')">Runs</button>
<button class="tablinks" onclick="openData(event, 'Dates')">Dates</button>
<button class="tablinks" onclick="openData(event, 'Calibrations')">Calibrations</button>
<div class="search-container">
<form action="/action_page.php">
<input type="text" placeholder="Search..." name="search" size = 30px>
<button type="submit">Submit<i class=fa fa-search></i></button>
</form>
</div>
</div>
<div id="Home" class="tabcontent">
<span onclick="this.parentElement.style.display='none'" class="topright">×</span>
<h3>Home</h3>
<p> The Mazin Lab is a University of California, Santa Barbara astrophysics laboratory that uses MKIDS technology to detect stars and exoplanets. This website is the database for all the stars, runs and dates of observation. The official lab website and more information on staff can be found <a href = "https://web.physics.ucsb.edu/~bmazin/">here</a>.</p>
<p>The "Targets" section allows you to search for any target from the last four Palomar DARKNESS runs. The "Runs" tab allows you to find all information on a specific run (i.e. 2017A): targets, nearby laser cal times, etc. The "Dates" tab allows you to find information on a specific date. The "Calibrations" tab allows you to find information on Calibration times, dates, targets and bands for each run. You may also search any of these on the Search Bar.</p>
<p>Right now, what you will find here is information for the DARKNESS runs, which happened at the Palomar Observatory. The Database is currently being developed by undergraduate student Clarissa Do O, with help from Isabel Lipartito and Jonathan Guiang.</p>
</div>
<div id = "data">
<div id="Targets" class="tabcontent">
<span onclick="this.parentElement.style.display='none'" class="topright">×</span>
<h3>Targets</h3>
<ul>
<li><a href="#">SAO61424</a></li>
<li><a href="#">HR8799</a></li>
<li><a href="#">Eps Eridani</a></li>
<li> <a href="#">SAO78135 (Propus)</a></li>
<li><a href="#">SAO42642</a></li>
<li><a href="#">SAO82875</a></li>
<li><a href="#">HD77407</a></li>
<li><a href="#">SAO100725</a></li>
<li> <a href="#">Tau Boo</a></li>
<li><a href="#">Candidate 1</a></li>
<li><a href="#">HD114174</a></li>
<li> <a href="#">SAO65921</a></li>
<li> <a href="#">SAO65890</a></li>
<li><a href="#">HD91782</a></li>
<li> <a href="#">HD148112</a></li>
<li><a href="#">SAO83893</a></li>
<li> <a href="#">SAO90440 (32 Peg)</a></li>
<li><a href="#">SAO90717</a></li>
<li><a href="#">SAO108402</a></li>
<li> <a href="#">SAO54058 (Delta And)</a></li>
<li> <a href="#">SAO112345 (HD32297)</a></li>
<li><a href="#">SAO 37734 (Gamma And)</a></li>
<li><a href="#">SAO44531</a></li>
<li><a href="#">Vega</a></li>
<li> <a href="#">Omega Her</a></li>
<li><a href="#">SAO47913</a></li>
<li><a href="#">White Light</a></li>
</ul>
</div>
</div>
<div id="Runs" class="tabcontent">
<span onclick="this.parentElement.style.display='none'" class="topright">×</span>
<h4>Runs</h4>
<ul>
<u><font color = "blue"><li id="2016B">2016B</li></font></u>
<u><font color = "blue"><li id="2017A">2017A</li></font></u>
<u><font color = "blue"><li id="2017B">2017B</li></font></u>
<u><font color = "blue"><li id="2018A">2018A</li></font></u>
</ul>
</div>
<div id="Dates" class="tabcontent">
<span onclick="this.parentElement.style.display='none'" class="topright">×</span>
<h5>Dates</h>
<ul>
<li>November 21st, 2016</li>
<li>November 22nd, 2016</li>
<li>April 7th, 2017</li>
<li>April 8th, 2017</li>
<li>April 9th, 2017</li>
<li>April 10th, 2017</li>
<li>October 3rd, 2017</li>
<li>October 4th, 2017</li>
<li>October 5th, 2017</li>
<li>October 6th, 2017</li>
<li>May 23rd, 2018</li>
<li>May 24th, 2018</li>
<li>May 27th, 2018</li>
<li>May 28th, 2018</li>
<li>May 29th, 2018</li>
<li>May 30th, 2018</li>
</ul>
</div>
<div id="Calibrations" class="tabcontent">
<span onclick="this.parentElement.style.display='none'" class="topright">×</span>
<h4>Calibrations</h4>
<p>
<ul>
<li id="16BCals">2016B Calibrations</li>
<li id="17ACals">2017A Calibrations</li>
<li id="17BCals">2017B Calibrations</li>
<li id="18ACals">2018A Calibrations</li>
</ul>
</p>
</div>
<script>
function openData(evt, infoName) {
var i, tabcontent, tablinks;
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
tablinks = document.getElementsByClassName("tablinks");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" active", "");
}
document.getElementById(infoName).style.display = "block";
evt.currentTarget.className += " active";
}
document.getElementById("defaultOpen").click();
</script>
</body>
</html>