-
Notifications
You must be signed in to change notification settings - Fork 10
/
minimal.html
188 lines (121 loc) · 5.46 KB
/
minimal.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
<html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>A minimal Protein Feature View Page</title>
<!-- jquery library -->
<script src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<!-- bootstrap -->
<link href="js/vendor/bootstrap-3.3.5/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-slider.css" rel="stylesheet">
<!-- jquery SVG includes -->
<!-- jquery svg -->
<script src="js/vendor/svg/jquery.svg.min.js"></script>
<link rel="stylesheet" type="text/css" href="js/vendor/svg/jquery.svg.css" />
<!-- font awesome icons -->
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- NGL -->
<!-- <script src="js/vendor/ngl.embedded.min.js"></script> -->
<!-- and finally our own code ... !-->
<link href="css/pfv.css" rel="stylesheet">
<script data-main='demo' src='js/vendor/require.js'></script>
</head>
<body>
<div class="container-fluid">
<div id="dialog"> </div>
<div class="jumbotron">
<h1><span id="dispUniprotID"></span> - <span id="dispUniprotName"></span></h1>
<h3>Protein Feature View - View PDB entries that are mapped to UniProtKB</h3>
</div>
<div id="nglContainer" class="center-block" style="width:300px;height:300px;position:relative;">
<div id="ngl_status" style="font:helvetica;color: black; text-shadow: white 0px 0px 2px; -webkit-font-smoothing: antialiased;position:absolute;bottom:10px;right:10px"></div>
</div>
<div class="btn-toolbar " role="toolbar" style="padding-bottom: 3px;">
<div class="col-md-2 input-group pull-left">
<input type="text" class="input-medium form-control" placeholder="UniProt ID" name="up-field" id="up-field">
<div class="input-group-btn">
<button class="btn btn-group" style="height:34px;" type="submit"><i class="fa fa-search"></i></button>
</div>
</div>
<div class="btn-group">
<button class="btn btn-default" href="#" role="button" id="fullScreen"><i class="fa fa-arrows-alt"></i> Full screen</button>
<button class="btn btn-default" style="height:34px" id="zoomOut" role="button"><i class="fa fa-search-minus"></i></button>
<span class="btn btn-default span2" style="height:34px">
<input id="svgScrollBar" type="text" data-slider-min="0" data-slider-max="100" data-slider-step="10" data-slider-value="0" />
</span>
<button class="btn btn-default" id="zoomIn" style="height:34px"><i class="fa fa-search-plus"></i></button>
<button class="btn btn-default" id="export"><i class="fa fa-download"></i> Export</button>
</div>
<div class="btn-group">
<div class="dropdown ">
<button class="btn btn-default dropdown-toggle" type="button" id="actionMenu" data-toggle="dropdown">
Action
<span class="caret"></span>
</button>
<ul class="dropdown-menu " role="menu" aria-labelledby="actionMenu">
<li role="presentation">
<a href="#" onclick="$('#mySequenceMotifDialog').modal('show'); return false;" role="menuitem" tabindex="-1">
Find Sequence Motif</a></li>
</ul>
</div>
</div>
<div class="btn-group">
<div class="btn btn-default">
<div class="pull-left">Color By: </div>
<select id="colorselect" style="float:left;">
<option selected="selected">Alignment Length</option>
<option>Resolution</option>
</select>
</div>
<div class="btn btn-default">
<div class="pull-left">Sort By: </div>
<select id="sortselect" style="float:left;">
<option>PDB ID</option>
<option>Resolution</option>
<option selected="selected">Alignment Length</option>
<option>Release Date</option>
</select>
</div>
</div>
</div> <!-- toolbar //-->
<div class="modal fade" tabindex="-1" role="dialog" id="mySequenceMotifDialog" aria-labelledby="mySequenceMotifDialog" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">
<span aria-hidden="true">×</span>
<span class="sr-only">Close</span>
</button>
<h4 class="modal-title">Find Sequence Motif
<a href="/pdb/staticHelp.do?p=help/advancedsearch/sequenceMotif.html">
<span class="iconSet-main icon-help" title="Help | Motif Search"> </span>
</a>
</h4>
</div>
<div class="modal-body">
<form id="findSequenceMotif" class="form-horizontal">
<!-- <label class="input-label" for="enterMotif">Motif:</label> -->
<div class="input-group">
<input class="form-control" id="enterMotif" type="text" placeholder="Enter sequence motif (example: GX[DN]FXKXDE )" />
<span class="input-group-btn">
<button class="btn btn-default" type="button" id="findMotifDialogSubmit">Find</button>
</span>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-body">
<div class="row-fluid">
<div class="span12">
<div id="pfv-parent"></div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>