-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplot-light-curves.html
189 lines (130 loc) · 6.06 KB
/
plot-light-curves.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<!-- Core jQuery library delivered via CDN -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<!-- Core HighCharts libraries delivered via CDN -->
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<!-- Core Select2 Libraries delivered via CDN -->
<link href='https://ivaynberg.github.io/select2/select2-master/select2.css' rel='stylesheet'/>
<script src='https://ivaynberg.github.io/select2/select2-master/select2.js'></script>
<!-- Bootstrap core libraries delivered via CDN -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<title>Plot Spectrum</title>
<style>
body {
padding-top: 50px;
}
.starter-template {
padding: 40px 15px;
}
</style>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="#">Light Curve View</a>
</div>
</div>
</div>
<div class="container-fluid">
<div class="starter-template">
<div class="row">
<div class="col-md-8">
<div id="container" style="width:100%; height:100%;"></div>
</div>
<div class="col-md-4">
<!-- Nav tabs -->
<ul class="nav nav-tabs">
<li class="active"><a href="#overlays" data-toggle="tab">Overlays</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div class="tab-pane fade in active" id="overlays" align="center">
<br>
<div class="btn-group btn-group-sm">
<button type="button" class="btn btn-info" data-toggle="modal"
data-target="#loadSpectrumModal">
<span class="glyphicon glyphicon-download"> </span> Load File </button>
<button type="button" onclick="clearAllOverlays()" class="btn btn-success">
<span class="glyphicon glyphicon-remove"></span> Clear </button>
<button type="button" onclick="displayPermalinkSummary()" class="btn btn-warning">
<span class="glyphicon glyphicon-share-alt"></span> Share </button>
<button type="button" onclick="unfavoriteOverlay()" class="btn btn-danger"> <span class="glyphicon glyphicon-thumbs-down"></span> Unfavorite </button>
</div>
</p>
<div class="row">
<div class="col-md-6">
<select id="select-left" style="width:100%">
<option></option>
</select>
</div>
<div class="col-md-6">
<span class="label label-primary"> Selected Favorites </span>
<select multiple class="form-control" id="select-favorites"></select>
</div>
</div>
<div class="row" id="permalink"></div>
</div> <!-- End Overlays Tab Div -->
<div class="tab-pane fade" id="filters">
<br>
<select id="select-transform" style="width:100%">
<option></option>
<option value='moving-average'>Moving Average</option>
</select>
<div id="transform-ui">
</div>
</div>
<div class="tab-pane fade" id="atomiclines">
<br>
<select multiple id="select-species" style="width:100%">
<option></option>
</select>
<br>
<!-- Populate div shift forms for atomic species -->
<div class='shift-forms form-group' id='shift-forms'> <br> </div>
<center>
<div class='btn-group'>
<button type='button' onclick='clearAllSpecies()' class='btn btn-success'>
<span class='glyphicon glyphicon-remove'></span> Clear All </button>
<button type='button' onclick='plotSelectedSpecies()' class='btn btn-warning'>
<span class='glyphicon glyphicon-send'></span> Plot </button> </div>
</div>
</center>
</div>
</div> <!-- End Responsive Column -->
</div>
</div> <!-- End Started Template -->
</div> <!-- End Fluid Container -->
<!-- Load Spectrum Modal -->
<div class="modal fade" id="loadSpectrumModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">Load JSON Spectra Data from File</h4>
</div>
<div class="modal-body">
<input type="file" id="fileToLoad">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" onclick="loadFileAsText()">Load File</button>
</div>
</div>
</div>
</div>
</div><!-- /.container -->
<!-- Visualization Module -->
<script src="vis-module.js"></script>
</body>
</html>