-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsearch2.html
172 lines (139 loc) · 6.84 KB
/
search2.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
<!doctype html>
<html class="no-js" lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DNA Damage and Repair Database</title>
<link rel="stylesheet" href="/css/foundation.css">
<link rel="stylesheet" href="/css/app.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Font Style -->
<link href="https://fonts.googleapis.com/css?family=Karla" rel="stylesheet">
<!-- import JQuery, JQuery UI, Stitch, Plotly JS, BootstrapJS, and Google Fonts -->
<script src="/frontend/jquery-3.2.1.js"></script>
<link rel="stylesheet" href="/ui/jquery-ui.min.css">
<link rel="stylesheet" href="/frontend/style.css">
<script src="/ui/external/jquery/jquery.js"></script>
<script src="/ui/jquery-ui.min.js"></script>
<script src="https://s3.amazonaws.com/stitch-sdks/js/library/v3/stable/stitch.min.js"></script>
<script src="/plotly-latest.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Cabin" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Trocchi" rel="stylesheet">
<script src="/frontend/script.js"></script>
<script>
$(function(){
$('#header').load('/frontend/header.html');
$('#footer').load('/frontend/footer.html');
});
</script>
</head>
<body>
<div class="off-canvas-wrapper">
<div class="off-canvas-wrapper-inner" data-off-canvas-wrapper>
<!-- OFF-CANVAS MENU -->
<div class="off-canvas position-left" id="mobile-menu" data-off-canvas>
<button class="accordion" id="home">HOME</button>
<script type="text/javascript">
document.getElementById("home").onclick = function () {
location.href = "index.html";
};
</script>
<button class="accordion" id="browse">BROWSE</button>
<div class="panel">
<ul style="text-align:left">
<p>
<li>HUMAN</li>
<li>BROWSE</li>
<li>ARABIDOPSIS</li>
<li>PLANT</li>
</p>
</ul>
</div>
<button class="accordion" id="search">SEARCH</button>
<script type="text/javascript">
document.getElementById("search").onclick = function () {
location.href = "search.html";
};
</script>
<button class="accordion" id="download">DOWNLOAD</button>
<script type="text/javascript">
document.getElementById("download").onclick = function () {
location.href = "download.html";
};
</script>
<button class="accordion" id="help">HELP</button>
<script type="text/javascript">
document.getElementById("help").onclick = function () {
location.href = "help.html";
};
</script>
</div>
<!-- KEEP -->
<div class="off-canvas-content" data-off-canvas-content>
<!-- MOBILE NAVIGATION -->
<div class="title-bar show-for-small-only">
<div class="title-bar-left">
<button class="menu-icon" type="button" data-open="mobile-menu"></button>
<!-- <span class="title-bar-title">MENU</span> -->
</div>
<div class="title-bar-center show-for-small-only"><img class="logo-image logo-center" src="img/xr_logo_white.png" width="75" height="92"></img></div>
</div>
<!-- DESKTOP NAVIGATION -->
<div id = 'header'></div>
<!-- MAIN SECTION -->
<section class="main">
<div id = 'mainDiv'>
<div class = "wrap row">
<div class="small-12 column">
<!-- more organisms to be added -->
<div id = "querySelectors">
<div id = "nameSelector">
<div id = 'organismName'>Select an organism:</div>
<div id= 'nameHover'></div>
<div class = "row medium-unstack" id = 'orgPics'>
<img class = "thumbnail" id = "Human" alt = "Pic of Human" src = "img/human.png">
<img class = "thumbnail" id = "Arabidopsis" alt = "Pic of Arabidopsis" src = "img/Arabidopsis.png">
<img class = "thumbnail" id = "Ecoli" alt = "Pic of E.Coli" src = "img/bacterium.png">
<img class = "thumbnail" id = "Mouse" alt = "Pic of Mouse" src = "img/mouse.png">
</div>
</div>
<div class = "row">
<div class = 'large-5 columns' id = 'searchGeneName'>
<div class = 'page-header'>
<h3> Search by name </h3>
</div>
<input type = 'text' class='inline' id = 'gene' placeholder="Gene name">
</div>
<div class = "large-1 columns" id = 'or'> <h2>OR</h2> </div>
<div class = "large-5 columns" id = 'searchRegion'>
<div class = 'page-header'>
<h3>by Chromosome region</h3>
</div>
<div id = 'chrDropDiv'> </div>
<input type = 'number' class="inline" id = 'startChr' placeholder="Start position">
<input type = 'number' class="inline" id = 'endChr' placeholder="End position">
</div>
</div>
<button id = 'submitChr' class="button" type="button" data-tooltip aria-haspopup="true" class="has-tip" data-disable-hover="false" tabindex="1" title="Or press 'Enter' to search :)" data-position="bottom" data-alignment="left">
Submit
</button>
</div>
<div id = 'results'> </div>
<div id = 'plots' class = "row medium-unstack"></div>
</div>
</div>
</div>
</section>
<!-- FOOTER -->
<div id = 'footer'></div>
</div>
</div>
</div>
<script src="js/vendor/what-input.js"></script>
<script src="js/vendor/foundation.js"></script>
<script src="js/app.js"></script>
<script src="js/accordion.js"></script>
</body>
</html>