annotate xena_import @ 0:f532ccfadc89

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