0
|
1 <!DOCTYPE HTML>
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
10
|
|
11
|
|
12
|
|
13
|
|
14
|
|
15
|
|
16
|
|
17 <html>
|
|
18 <!--base_panels.mako-->
|
|
19
|
|
20
|
|
21
|
|
22 <head>
|
|
23 <title>Galaxy Tool Shed</title>
|
|
24 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
25 <meta name = "viewport" content = "maximum-scale=1.0">
|
|
26 <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
|
|
27
|
|
28 <link href="/static/style/base.css?v=1409176523" media="screen" rel="Stylesheet" type="text/css" />
|
|
29 <link href="/static/style/autocomplete_tagging.css?v=1409176523" media="screen" rel="Stylesheet" type="text/css" />
|
|
30 <link href="/static/style/tool_menu.css?v=1409176523" media="screen" rel="Stylesheet" type="text/css" />
|
|
31
|
|
32
|
|
33 <link href="/static/style/base.css?v=1409176523" media="screen" rel="Stylesheet" type="text/css" />
|
|
34 <link href="/static/style/jquery.rating.css?v=1409176523" media="screen" rel="Stylesheet" type="text/css" />
|
|
35 <style type="text/css">
|
|
36 #center {
|
|
37 right: 0 !important;
|
|
38 }
|
|
39 </style>
|
|
40
|
|
41
|
|
42 <style type="text/css">
|
|
43 body { margin: 0; padding: 0; overflow: hidden; }
|
|
44 #left {
|
|
45 background: #C1C9E5 url(/static/style/menu_bg.png) top repeat-x;
|
|
46 }
|
|
47 .unified-panel-body {
|
|
48 overflow: auto;
|
|
49 }
|
|
50 .toolMenu {
|
|
51 margin-left: 10px;
|
|
52 }
|
|
53 </style>
|
|
54
|
|
55
|
|
56
|
|
57
|
|
58
|
|
59
|
|
60 <script src="/static/scripts/libs/jquery/jquery.js?v=1409176523" type="text/javascript"></script>
|
|
61 <script src="/static/scripts/libs/jquery/jquery.migrate.js?v=1409176523" type="text/javascript"></script>
|
|
62 <script src="/static/scripts/libs/jquery/select2.js?v=1409176523" type="text/javascript"></script>
|
|
63 <script src="/static/scripts/libs/bootstrap.js?v=1409176523" type="text/javascript"></script>
|
|
64 <script src="/static/scripts/libs/underscore.js?v=1409176523" type="text/javascript"></script>
|
|
65 <script src="/static/scripts/libs/backbone/backbone.js?v=1409176523" type="text/javascript"></script>
|
|
66 <script src="/static/scripts/libs/backbone/backbone-relational.js?v=1409176523" type="text/javascript"></script>
|
|
67 <script src="/static/scripts/libs/handlebars.runtime.js?v=1409176523" type="text/javascript"></script>
|
|
68 <script src="/static/scripts/galaxy.base.js?v=1409176523" type="text/javascript"></script>
|
|
69 <script src="/static/scripts/libs/require.js?v=1409176523" type="text/javascript"></script>
|
|
70
|
|
71 <script src="/static/scripts/templates/compiled/template-popupmenu-menu.js?v=1409176523" type="text/javascript"></script>
|
|
72
|
|
73 <script src="/static/scripts/mvc/ui.js?v=1409176523" type="text/javascript"></script>
|
|
74
|
|
75 <script type="text/javascript">
|
|
76 var galaxy_config = {
|
|
77 url: {
|
|
78 styles : "/static/style"
|
|
79 }
|
|
80 };
|
|
81
|
|
82 if (window != window.top)
|
|
83 $('<link href="' + galaxy_config.url.styles + '/galaxy.frame.masthead.css" rel="stylesheet">').appendTo('head');
|
|
84
|
|
85 // console protection
|
|
86 window.console = window.console || {
|
|
87 log : function(){},
|
|
88 debug : function(){},
|
|
89 info : function(){},
|
|
90 warn : function(){},
|
|
91 error : function(){},
|
|
92 assert : function(){}
|
|
93 };
|
|
94
|
|
95 // Set up needed paths.
|
|
96 var galaxy_paths = new GalaxyPaths({
|
|
97 root_path: '/',
|
|
98 image_path: '/static/images',
|
|
99
|
|
100 tool_url: '/api/tools',
|
|
101 history_url: '/api/histories',
|
|
102
|
|
103 datasets_url: '/api/datasets',
|
|
104 sweepster_url: '/visualization/sweepster',
|
|
105 visualization_url: '/visualization/save',
|
|
106 });
|
|
107
|
|
108 require.config({
|
|
109 baseUrl: "/static/scripts",
|
|
110 shim: {
|
|
111 "libs/underscore": { exports: "_" },
|
|
112 "libs/backbone/backbone": { exports: "Backbone" },
|
|
113 "libs/backbone/backbone-relational": ["libs/backbone/backbone"]
|
|
114 }
|
|
115 });
|
|
116
|
|
117 var frame_manager = null;
|
|
118 require(['galaxy.frame'], function(frame) { this.frame_manager = new frame.GalaxyFrameManager(galaxy_config); });
|
|
119 </script>
|
|
120
|
|
121
|
|
122
|
|
123 </head>
|
|
124
|
|
125 <body scroll="no" class="full-content ">
|
|
126 <div id="everything" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;">
|
|
127 <div id="background"></div>
|
|
128 <div id="masthead" class="navbar navbar-fixed-top">
|
|
129 <div class="masthead-inner navbar-inner">
|
|
130
|
|
131
|
|
132 <div style="position: relative; right: -50%; float: left;">
|
|
133 <div style="display: block; position: relative; right: 50%;">
|
|
134
|
|
135 <ul class="nav" border="0" cellspacing="0">
|
|
136
|
|
137
|
|
138
|
|
139
|
|
140
|
|
141 <li class="" style="">
|
|
142 <a class="" data-toggle="dropdown" target="_parent" href="/repository">Repositories</a>
|
|
143 </li>
|
|
144
|
|
145
|
|
146
|
|
147
|
|
148 <li class=" admin-only" style="display: none;">
|
|
149 <a class="" data-toggle="dropdown" target="_parent" href="/admin">Admin</a>
|
|
150 </li>
|
|
151
|
|
152
|
|
153
|
|
154
|
|
155 <li class=" dropdown" style="">
|
|
156 <a class=" dropdown-toggle" data-toggle="dropdown">Help<b class='caret'></b></a>
|
|
157 <ul class="dropdown-menu">
|
|
158 <li>
|
|
159
|
|
160 <a target="_blank" href="http://wiki.g2.bx.psu.edu/Support">Support</a>
|
|
161 </li>
|
|
162 <li>
|
|
163
|
|
164 <a target="_blank" href="http://wiki.g2.bx.psu.edu/Tool%20Shed">Tool shed wiki</a>
|
|
165 </li>
|
|
166 <li>
|
|
167
|
|
168 <a target="_blank" href="http://wiki.g2.bx.psu.edu/">Galaxy wiki</a>
|
|
169 </li>
|
|
170 <li>
|
|
171
|
|
172 <a target="_blank" href="http://galaxycast.org">Video tutorials (screencasts)</a>
|
|
173 </li>
|
|
174 <li>
|
|
175
|
|
176 <a target="_blank" href="http://wiki.g2.bx.psu.edu/Citing%20Galaxy">How to Cite Galaxy</a>
|
|
177 </li>
|
|
178 </ul>
|
|
179 </li>
|
|
180
|
|
181
|
|
182
|
|
183
|
|
184 <li class=" dropdown" style="">
|
|
185 <a class=" dropdown-toggle" data-toggle="dropdown">User<b class='caret'></b></a>
|
|
186 <ul class="dropdown-menu">
|
|
187 <li>
|
|
188
|
|
189 <a target="galaxy_main" href="/user/login">Login</a>
|
|
190 </li>
|
|
191 <li>
|
|
192
|
|
193 <a target="galaxy_main" href="/user/create?cntrller=user">Register</a>
|
|
194 </li>
|
|
195 </ul>
|
|
196 </li>
|
|
197
|
|
198
|
|
199 <li class=" dropdown" style="display: none;">
|
|
200 <a class=" dropdown-toggle" data-toggle="dropdown">User<b class='caret'></b></a>
|
|
201 <ul class="dropdown-menu">
|
|
202 <li>
|
|
203 <a>Logged in as <span id="user-email"></span></a>
|
|
204 </li>
|
|
205 <li>
|
|
206
|
|
207 <a target="galaxy_main" href="/user?cntrller=user">Preferences</a>
|
|
208 </li>
|
|
209 <li>
|
|
210
|
|
211 <a target="galaxy_main" href="/user/api_keys?cntrller=user">API Keys</a>
|
|
212 </li>
|
|
213 <li>
|
|
214
|
|
215 <a target="_top" href="/user/logout">Logout</a>
|
|
216 </li>
|
|
217 <li class="divider"></li>
|
|
218 </ul>
|
|
219 </li>
|
|
220
|
|
221 </ul>
|
|
222 </div>
|
|
223 </div>
|
|
224
|
|
225 <div class="title">
|
|
226 Galaxy Tool Shed
|
|
227 </a>
|
|
228 </div>
|
|
229
|
|
230 </div>
|
|
231 </div>
|
|
232 <div id="messagebox" class="panel-info-message">
|
|
233 </div>
|
|
234
|
|
235
|
|
236
|
|
237
|
|
238
|
|
239
|
|
240 <div id="overlay" style='display: none;'>
|
|
241
|
|
242 <div id="overlay-background" class="modal-backdrop fade "></div>
|
|
243
|
|
244 <div id="dialog-box" class="modal dialog-box" border="0" style='display: none;'>
|
|
245 <div class="modal-header">
|
|
246 <span><h3 class='title'></h3></span>
|
|
247 </div>
|
|
248 <div class="modal-body"></div>
|
|
249 <div class="modal-footer">
|
|
250 <div class="buttons" style="float: right;"></div>
|
|
251 <div class="extra_buttons" style=""></div>
|
|
252 <div style="clear: both;"></div>
|
|
253 </div>
|
|
254 </div>
|
|
255
|
|
256 </div>
|
|
257
|
|
258 <div id="left">
|
|
259
|
|
260
|
|
261 <div class="unified-panel-header" unselectable="on">
|
|
262 <div class='unified-panel-header-inner'>29 valid tools on Aug 27, 2014</div>
|
|
263 </div>
|
|
264 <div class="unified-panel-body">
|
|
265 <div class="toolMenu">
|
|
266 <div class="toolSectionList">
|
|
267 <div class="toolSectionPad"></div>
|
|
268 <div class="toolSectionTitle">
|
|
269 All Repositories
|
|
270 </div>
|
|
271 <div class="toolTitle">
|
|
272 <a href="/repository">Browse by category</a>
|
|
273 </div>
|
|
274 </div>
|
|
275 </div>
|
|
276 </div>
|
|
277
|
|
278 <div class="unified-panel-footer">
|
|
279 <div class="panel-collapse"></span></div>
|
|
280 <div class="drag"></div>
|
|
281 </div>
|
|
282 </div>
|
|
283 <div id="center">
|
|
284
|
|
285
|
|
286 <iframe name="galaxy_main" id="galaxy_main" frameborder="0" style="position: absolute; width: 100%; height: 100%;" src="/repository/view_repository?status=done&message=&id=149c5ffa3420467d"></iframe>
|
|
287
|
|
288 </div>
|
|
289 </div>
|
|
290 </body>
|
|
291
|
|
292 <script src="/static/scripts/libs/jquery/jquery.event.drag.js?v=1409176523" type="text/javascript"></script>
|
|
293 <script src="/static/scripts/libs/jquery/jquery.event.hover.js?v=1409176523" type="text/javascript"></script>
|
|
294 <script src="/static/scripts/libs/jquery/jquery.form.js?v=1409176523" type="text/javascript"></script>
|
|
295 <script src="/static/scripts/libs/jquery/jquery.rating.js?v=1409176523" type="text/javascript"></script>
|
|
296 <script src="/static/scripts/galaxy.panels.js?v=1409176523" type="text/javascript"></script>
|
|
297 <script type="text/javascript">
|
|
298
|
|
299 ensure_dd_helper();
|
|
300
|
|
301 var lp = new Panel( { panel: $("#left"), center: $("#center"), drag: $("#left > .unified-panel-footer > .drag" ), toggle: $("#left > .unified-panel-footer > .panel-collapse" ) } );
|
|
302 force_left_panel = function( x ) { lp.force_panel( x ) };
|
|
303
|
|
304
|
|
305 </script>
|
|
306 <![if !IE]>
|
|
307 <script type="text/javascript">
|
|
308 var upload_form_error = function( msg ) {
|
|
309 if ( ! $("iframe#galaxy_main").contents().find("body").find("div[class='errormessage']").size() ) {
|
|
310 $("iframe#galaxy_main").contents().find("body").prepend( '<div class="errormessage" name="upload_error">' + msg + '</div><p/>' );
|
|
311 } else {
|
|
312 $("iframe#galaxy_main").contents().find("body").find("div[class='errormessage']").text( msg );
|
|
313 }
|
|
314 }
|
|
315 var uploads_in_progress = 0;
|
|
316 jQuery( function() {
|
|
317 $("iframe#galaxy_main").load( function() {
|
|
318 $(this).contents().find("form").each( function() {
|
|
319 if ( $(this).find("input[galaxy-ajax-upload]").length > 0 ){
|
|
320 $(this).submit( function() {
|
|
321 // Only bother using a hidden iframe if there's a file (e.g. big data) upload
|
|
322 var file_upload = false;
|
|
323 $(this).find("input[galaxy-ajax-upload]").each( function() {
|
|
324 if ( $(this).val() != '' ) {
|
|
325 file_upload = true;
|
|
326 }
|
|
327 });
|
|
328 if ( ! file_upload ) {
|
|
329 return true;
|
|
330 }
|
|
331 // Make a synchronous request to create the datasets first
|
|
332 var async_datasets;
|
|
333 var upload_error = false;
|
|
334 $.ajax( {
|
|
335 async: false,
|
|
336 type: "POST",
|
|
337 url: "/tool_runner/upload_async_create",
|
|
338 data: $(this).formSerialize(),
|
|
339 dataType: "json",
|
|
340 success: function(array_obj, status) {
|
|
341 if (array_obj.length > 0) {
|
|
342 if (array_obj[0] == 'error') {
|
|
343 upload_error = true;
|
|
344 upload_form_error(array_obj[1]);
|
|
345 } else {
|
|
346 async_datasets = array_obj.join();
|
|
347 }
|
|
348 } else {
|
|
349 // ( gvk 1/22/10 ) FIXME: this block is never entered, so there may be a bug somewhere
|
|
350 // I've done some debugging like checking to see if array_obj is undefined, but have not
|
|
351 // tracked down the behavior that will result in this block being entered. I believe the
|
|
352 // intent was to have this block entered if the upload button is clicked on the upload
|
|
353 // form but no file was selected.
|
|
354 upload_error = true;
|
|
355 upload_form_error( 'No data was entered in the upload form. You may choose to upload a file, paste some data directly in the data box, or enter URL(s) to fetch data.' );
|
|
356 }
|
|
357 }
|
|
358 } );
|
|
359 if (upload_error == true) {
|
|
360 return false;
|
|
361 } else {
|
|
362 $(this).find("input[name=async_datasets]").val( async_datasets );
|
|
363 $(this).append("<input type='hidden' name='ajax_upload' value='true'>");
|
|
364 }
|
|
365 // iframe submit is required for nginx (otherwise the encoding is wrong)
|
|
366 $(this).ajaxSubmit( { iframe: true,
|
|
367 complete: function (xhr, stat) {
|
|
368 uploads_in_progress--;
|
|
369 if (uploads_in_progress == 0) {
|
|
370 window.onbeforeunload = null;
|
|
371 }
|
|
372 }
|
|
373 } );
|
|
374 uploads_in_progress++;
|
|
375 window.onbeforeunload = function() { return "Navigating away from the Galaxy analysis interface will interrupt the file upload(s) currently in progress. Do you really want to do this?"; }
|
|
376 if ( $(this).find("input[name='folder_id']").val() != undefined ) {
|
|
377 var library_id = $(this).find("input[name='library_id']").val();
|
|
378 var show_deleted = $(this).find("input[name='show_deleted']").val();
|
|
379 if ( location.pathname.indexOf( 'admin' ) != -1 ) {
|
|
380 $("iframe#galaxy_main").attr("src","/library_common/browse_library?cntrller=library_admin&id=" + library_id + "&created_ldda_ids=" + async_datasets + "&show_deleted=" + show_deleted);
|
|
381 } else {
|
|
382 $("iframe#galaxy_main").attr("src","/library_common/browse_library?cntrller=library&id=" + library_id + "&created_ldda_ids=" + async_datasets + "&show_deleted=" + show_deleted);
|
|
383 }
|
|
384 } else {
|
|
385 $("iframe#galaxy_main").attr("src","/tool_runner/upload_async_message");
|
|
386 }
|
|
387 return false;
|
|
388 });
|
|
389 }
|
|
390 });
|
|
391 });
|
|
392 });
|
|
393 </script>
|
|
394 <![endif]>
|
|
395
|
|
396 </html>
|