forked from Synbiota/GENtle2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
245 lines (202 loc) · 11.1 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
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
<!DOCTYPE html>
<html>
<head>
<title>GENtle - Beta</title>
<meta name="viewport" content="target-densitydpi=high-dpi">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="public/feedback.css" type="text/css" media="screen" />
<link type="text/css" href="assets/jquery/css/smoothness/jquery-ui-1.8.18.custom.css" rel="Stylesheet" />
<link rel="stylesheet" type="text/css" href="assets/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="public/main.css" />
<link rel="icon"
type="image/png"
href="favicon.png">
<script type="moustache/template" id="tpl-title_bar">
<ul class="nav nav-tabs small-tabs" style="
position: absolute;
width: 100%;">
{{#sequence}}{{#synbiota}}
<li class="pull-right disabled no-hover">
<a href="#">
<span class="muted">Last saved: {{lastSave}}</span>{{#readOnly}} <span class="muted">·</span> <span class="label label-warning small-caps no-bold">read only</span>{{/readOnly}}
</a>
</li>
{{/synbiota}}{{/sequence}}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="icon-list"></i>
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li class="nav-header">Loaded sequences</li>
{{#allSequences}}
<li class="{{#currentSequence}}disabled selected{{/currentSequence}}"><a href='#' data-seq-id='{{id}}' class="sequenceListItem"><span class="text-warning small-caps">{{typeName}}</span> <span class="muted">·</span> {{shortTitle}}</a></li>
{{/allSequences}}
</ul>
</li>
{{#sequence}}
<li class="active">
<a href='#'>
<span class="label no-bold">{{currentSequence}} / {{totalSequences}}</span>
<span class="label label-success no-bold small-caps">{{typeName}}</span>
<span title='{{title}}' id="sequence_name">{{shortTitle}}</span>
<span href='#' class="close"><i class="icon-remove"></i></a>
</a>
</li>
<li class="disabled no-hover">
<a href="#">
{{#length}}<span class="text-info">{{length}} bp</span>{{/length}}{{#circularity}} <span class="muted">·</span> <span class="text-warning">{{circularity}}</span>{{/circularity}}
</a>
</li>
{{/sequence}}
</script>
</head>
<body>
<div id='hoverbox'></div>
<div id='debug' style='position:fixed;left:0px;top:50px'></div>
<div id='all' style='overflow:hidden;width:100%;height:100%;padding:0px;margin:0px'>
<div class="navbar">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">GENtle</a>
<div class="nav-collapse">
<ul class="nav" id='toolbar_ul'>
<li class="dropdown" id="toolbar_plugins_file">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">File<b class="caret"></b></a>
<ul class="dropdown-menu">
<li sort='100'><a href='#' onclick='gentle.startNewSequenceDialog();return false'>New sequence</a></li>
<li sort='300'><a data-toggle='modal' href='#openFileFromDisk'>Open from disk</a></li>
<li sort='310'><a href='#' onclick='ncbi.initializeDialog();return false'>Open from NCBI</a></li>
<li sort='500'><a id='close_sequence' href='#' onclick='gentle.closeCurrentSequence();return false'>Close sequence</a></li>
</ul>
</li>
<li class="dropdown" id='edit_menu'>
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Edit<b class="caret"></b></a>
<ul class="dropdown-menu">
<li sort='100'class='menu_needs_selection'><a id='edit_menu_undo' href='#' onclick='gentle.doUndo();return false'>Undo <span id='undo_action'></span></a></li>
<li sort='200'class='menu_needs_selection'><a id='edit_menu_redo' href='#' onclick='gentle.doRedo();return false'>Redo <span id='redo_action'></span></a></li>
<li sort='300'class='menu_needs_selection'><a id='edit_menu_cut' href='#' onclick='gentle.do_edit("cut");return false'>Cut</a></li>
<li sort='400'class='menu_needs_selection'><a id='edit_menu_copy' href='#' onclick='gentle.do_edit("copy");return false'>Copy</a></li>
<li sort='500'class='menu_needs_edit_mode'><a id='edit_menu_paste' href='#' onclick='gentle.do_edit("paste");return false'>Paste</a></li>
<li sort='600'class='menu_needs_selection'><a id='edit_menu_selection_info' href='#' onclick='gentle.do_selection_info();return false'>Selection Info</a></li>
<li sort='700'class='menu_needs_selection'><a id='edit_menu_annotate' href='#' onclick='gentle.do_annotate();return false'>Annotate selection</a></li>
<li sort='800'class='menu_needs_selection'><a id='edit_menu_remove_selection' href='#' onclick='gentle.delete_selection();return false'>Remove selection</a></li>
</ul>
</li>
<li class="dropdown" id='tools_menu'>
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Tools<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href='#' onclick='gentle.plugins.managePlugins();return false'>Plugins</a></li>
<li id='menu_tools_designer' style='display:none'><a href='#' onclick='gentle.startDesigner();return false'>Designer</a></li>
</ul>
</li>
<li class="dropdown nav pull-right" id='help_menu_wrapper'>
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Help<b class="caret"></b></a>
<ul class="dropdown-menu pull-right" id='help_menu'>
<li sort='100'><a target='_blank' href='public/templates/help.html'>GENtle help page</a></li>
<li sort='200'><a target='_blank' href='https://en.wikibooks.org/wiki/GENtle_2'>GENtle manual at WikiBooks</a></li>
<li sort='300'><a target='_blank' href='https://groups.google.com/forum/?fromgroups#!forum/gentledna'>GENtle on Google groups</a></li>
<li sort='400'><a target='_blank' href='https://gentle.synbiota.com/jsdoc/'>Technical documentation</a></li>
<li sort='500'><a target='_blank' href='https://github.com/Synbiota/GENtle2'>Code at GitHub</a></li>
</ul>
</li>
</ul>
</div>
<ul id="toolbar-right" class="nav pull-right">
<li title='Help'><a href='#' onclick='gentle.help();return false' class=' '><i class='icon-info-sign '></i></a></li>
<li title='Edit name, description, and annotation'><a href='#' onclick='gentle.sequence_info();return false' class=' '><i class='icon-cog '></i></a></li>
<li title='Display settings'><a href='#' onclick='gentle.toggle_display_settings();return false' class=' '><i class='icon-eye-open '></i></a></li>
<li title='Loaded sequences'><a href='#' onclick='gentle.toggle_loaded_sequences();return false' class=' '><i class='icon-list-alt'></i></a></li>
<li title='Toggle sidebar'><a href='#' onclick='gentle.toggle_right_sidebar();return false' class=' '><i id='right_sidebar_icon' class='icon-asterisk'></i></a></li>
</ul>
</div>
<div id="betatag"></div>
</div>
</div>
<div class='container-fluid'>
<div class='row-fluid'>
<div id='topbox' class='sidebar right well'>
</div>
<div id='plasmidbox' class='sidebar right well'>
</div>
<div id='sequence_canvas_title_bar' class='content fixed-fixed'>
</div>
<div id='main' class='content fixed-fixed'>
</div>
</div> <!--row-fluid-->
</div> <!--container-fluid-->
<div id="copywrap"><textarea id="copytb"></textarea></div><!-- This is needed for cut©. It will only be visible for a fraction of a second during copying. -->
<div class="modal" id="openFileFromDisk" style='display:none'>
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h3>Open file from disk</h3>
</div>
<div class="modal-body">
<p>
<input type="file" id="files" name="files[]" multiple size='10' />
</p>
</div>
</div>
<div id='sb_display_options'></div>
<div id='zoombox'>
</div>
</div>
<div id="drop_zone"><div>Drop files here</div></div>
<div id='gentle_alerts' style='position:fixed;left:2px;bottom:2px;z-index:99'></div>
<!-- Load third-party assets -->
<script type="text/javascript" src="assets/jquery/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="assets/jquery/js/jquery-ui-1.8.17.custom.min.js"></script>
<script type="text/javascript" src="assets/jquery/js/indexeddb.shim.js"></script>
<script type="text/javascript" src="assets/jquery/js/jquery.indexeddb.js"></script>
<script type="text/javascript" src="assets/bootstrap/js/bootstrap.min.js"></script>
<!--
<script type="text/javascript" src="assets/bootstrap/js/bootstrap-button.js"></script>
<script type="text/javascript" src="assets/bootstrap/js/bootstrap-collapse.js"></script>
<script type="text/javascript" src="assets/bootstrap/js/bootstrap-tab.js"></script>
<script type="text/javascript" src="assets/bootstrap/js/bootstrap-popover.js"></script>
-->
<script type="text/javascript" src="assets/mousewheel.js"></script>
<script type="text/javascript" src="assets/FileSaver.js"></script>
<script type="text/javascript" src="assets/DoubleTap.js"></script>
<script type="text/javascript" src="assets/listAttributes.js"></script>
<script type="text/javascript" src="assets/moment.min.js"></script>
<script type="text/javascript" src="assets/hogan-2.0.0.js"></script>
<script type="text/javascript" src="assets/simple2d.js"></script>
<!-- Load GENtle code-->
<script type="text/javascript" src="data/data.js"></script>
<script type="text/javascript" src="config.js"></script>
<script type="text/javascript" src="util/topDisplay/top_display.js"></script>
<script type="text/javascript" src="util/sequence/undo.js"></script>
<script type="text/javascript" src="util/sequence/selection_cursor.js"></script>
<script type="text/javascript" src="util/sequence/sequences.js"></script>
<script type="text/javascript" src="util/sequence/sequence_canvas.js"></script>
<script type="text/javascript" src="util/sequence/sequence_canvas_dna.js"></script>
<script type="text/javascript" src="util/sequence/sequence_canvas_designer.js"></script>
<script type="text/javascript" src="util/sequence/sequence_canvas_pcr.js"></script>
<script type="text/javascript" src="util/sequence/sequence_canvas_rows.js"></script>
<script type="text/javascript" src="util/sequence/sequence_info.js"></script>
<script type="text/javascript" src="util/sequence/annotation_editor.js"></script>
<script type="text/javascript" src="util/inlineEditable.js"></script>
<script type="text/javascript" src="util/kv_storage.js"></script>
<script type="text/javascript" src="util/file/filetypes.js"></script>
<script type="text/javascript" src="util/file/ncbi.js"></script>
<script type="text/javascript" src="common.js"></script>
<script type="text/javascript" src="main.js"></script>
<script type="text/javascript" src="plugins.js"></script>
<script type="text/javascript" src="util/topDisplay/plasmid_map.js"></script>
</body>
<script src="Feedback/feedback.js"></script>
<script type="text/javascript">
$(document).ready(function() {
Feedback({h2cPath:'Feedback/html2canvas.js'});
});
</script>
</html>