-
Notifications
You must be signed in to change notification settings - Fork 4
/
amazon.html
575 lines (512 loc) · 33.1 KB
/
amazon.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
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
<!doctype html>
<!--
The MIT License (MIT)
Copyright (c) 2015 Signiant Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
******************************
* INSTRUCTIONS
******************************
This sample webpage provides an example of how you can use the Signiant Web Transfer API to upload and download from Amazon AWS cloud storage.
Need help? Visit https://support.signiant.com/
-->
<html><head>
<script type="text/javascript">
/* SETUP
** TRIALS: Get your API key from http://info.signiant.com/Talk_to_a_Flight_Specialist_Page.html
** CUSTOMERS: Get your API key from https://manage.signiant.com (click on Keys).
** MICROSOFT AZURE SUPPORT
** Signiant Flight supports Microsoft Azure as well.
** Check out azure.html for an example using Microsoft Azure.
*/
var apiKey = ""; //See above on how to get an API key.
var defaultServer = 'SET_THIS_TO_SERVER_CLOSEST_TO_STORAGE'; //See https://flight.support.signiant.com/customer/en/portal/articles/2173685-signiant-flight-server-locations for a list of server locations / names
/* TRIALS
** Trial users have to use keys and secrets. Customers can use temporary credentials using "configId" below.
** You can use our test credentials or you can replace it with your own S3 credentials if you like.
*/
/* AMAZON SETTINGS
** The following Amazon settings are set for Flight trials as well as for showing the files in Amazon (on the right hand column of this demo page).
** If the files in your bucket aren't showing up, then add the following CORS policy to it as described at http://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html
<CORSConfiguration><CORSRule><AllowedOrigin>*</AllowedOrigin><AllowedMethod>PUT</AllowedMethod><AllowedMethod>POST</AllowedMethod><AllowedMethod>GET</AllowedMethod><MaxAgeSeconds>3000</MaxAgeSeconds><AllowedHeader>*</AllowedHeader></CORSRule></CORSConfiguration>
**
*/
var amazonS3Key = ""; //AWS Key for transfers
var amazonS3Secret = ""; //AWS Secret for transfers
var amazonS3Bucket = ""; //Bucket for transfers
var amazonS3Region = "us-east-1"; //set the region of the above bucket. Required only for listing files.
/* CUSTOMERS
** Link your cloud storage account at https://manage.signiant.com (Click on "Storage") to use
** temporary access credentials, instead of having to enter AWS/Azure keys, secrets, buckets etc... in this file.
*/
var configId = false; //GET THIS FROM https://manage.signiant.com (click on Storage).
/* When you generate an API key from https://manage.signiant.com you generate a "secret" as well. You need to use that secret to generate a "signature" on your server. */
var globalSignature = ""; //JSON Web Token (JWT) calculated from server (see signature_generators folder for examples). Please note that secrets are only good for 5 minutes. You will need to refres the generation every 5 minutes.
/* FILE DESTINATION
** Change the folder path that the file will go into.
*/
var destinationFolderPath = ''; //(optional) String: Path you want the file to go into (ie. folder1/folder2/)
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script>
<script src='https://updates.signiant.com/javascript-api/2.5.7/transferapi.min.js' type='text/javascript'></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.9.0/moment.min.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/foggy/1.1.1/jquery.foggy.min.js" type="text/javascript"></script>
<script src="https://cdn.imnjb.me/libs/humanize/0.0.9/humanize.min.js" type="text/javascript"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1.8.min.js" type="text/javascript"></script>
<title>Signiant Flight Demo</title>
<script>
// Avoid `console` errors in browsers that lack a console.
(function() {
var method;
var noop = function () {};
var methods = [
'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error',
'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log',
'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd',
'timeline', 'timelineEnd', 'timeStamp', 'trace', 'warn'
];
var length = methods.length;
var console = (window.console = window.console || {});
while (length--) {
method = methods[length];
// Only stub undefined methods.
if (!console[method]) {
console[method] = noop;
}
}
}());
//the global transfer object that is used for uploading
var transferObject = null;
/**
* Callback for failure call of Signiant.Mst.initialize()
*
* @return null
*/
var failureCallback = function () {
/* Launch the Signiant installer widget into the 'mainContent' div. */
var installWidget = new Signiant.Mst.SigAppInstallWidget('mainContent', {
dismissInstallAppCallback: checkForSigniant.bind(self, 'false'), //called when the user clicks "I have the app" in the install widget
installAppCompleteCallback: initializeUploadObject //called when the app install is verified
});
installWidget.showInstallerWindow();
}
/**
* Check for the plugin. This is the first method to be called on document load (see last function below).
* On success, call initializeUploadObject. If the plugin doesn't load, call pluginNotLoaded
*
* @return null
*/
function checkForSigniant(failQuick) {
console.log("Check for Signiant App");
Signiant.Mst.configure({
networkConnectivityErrorCallback: networkConnectivityErrorCallback,
appCommunicationErrorCallback: appCommunicationErrorCallback,
networkConnectivityRestoredCallback: networkConnectivityRestoredCallback
});
/*
You can call detectPlugin or the Signiant.Mst.initialize method below.
detectPlugin provides default functionality that is easier to implement.
Signiant.Mst.initialize allows you to override what happens if the app is not loaded (failureCallback)
*/
detectPlugin({success:initializeUploadObject, error:appNotLoaded});
/*
Signiant.Mst.initialize(initializeUploadObject, failureCallback, {
timeout: 10000, // how long initialize will take to timeout, default: 1 second
withAppTimeout: 20000, // how long initialize will take to timeout if we have detected cookie that signals the app is intalled, default: 5 seconds
failPreemptivelyIfAppNotInstalled: failQuick // call error right away if cookie not present, default: true
});
*/
}
/**
* The Signiant App couldn't be loaded - display an error message
*
* @return null
*/
function appNotLoaded(){
alert("Signiant App Failed to load. This demo will not work.");
}
/**
* Setup the upload object - the global var transferObject
*
* @return null
*/
function initializeUploadObject(){
//update the bucket display to show the items currently in the bucket.
updateBucket();
//create a new upload Object
transferObject = new Signiant.Mst.Upload();
//set the default server
transferObject.setServer(defaultServer);
//the following methods are self explanatory
transferObject.subscribeForTransferErrors(transferErrors);
transferObject.subscribeForBasicEvents(transferEvents);
transferObject.subscribeForTransferProgress(transferProgressCallback);
//setup the storage config options to upload to the right S3 bucket
if(configId){
transferObject.setStorageConfig('{"configId":"'+configId+'", "signature":"'+globalSignature+'"}');
} else {
transferObject.setStorageConfig('{"access-key":"'+amazonS3Key+'", "secret-key":"'+amazonS3Secret+'", "bucket":"'+amazonS3Bucket+'"}');
}
//send the server the API key
transferObject.setApiKey(apiKey); //required
transferObject.setProbeLB(true); //always set to true for Flight
}
// This will be called when the Transfer API detects network loss (will not throw if only changing networks)
// The Signiant App should recover and continue transfer if network timeout is < 1 minute
function networkConnectivityErrorCallback () {
console.log("Network Connectivity Loss Detected");
alert("Network Loss Detected, Waiting for Restore");
}
// This will be called when the Transfer API detects network connectivity is restored
// The Signiant App should recover and continue transfer
function networkConnectivityRestoredCallback () {
console.log("Network Connectivity Restored");
alert("Network Connectivity Restored");
if ( transferObject === 'undefined' ){
alert("transfer object undefined")
} else {
if ( transferObject.currentTransferState == Signiant.Mst.transferState.TRANSFERRING ){
alert("state == TRANSFERRING")
} else {
alert("state != TRANSFERRING")
}
}
}
// The Signiant App would have cancelled any running transfers if this callback is fired
function appCommunicationErrorCallback () {
console.log("Connection to Signiant App Lost");
alert("Your connection has been lost. Press launch application on the next dialog.")
reInitializeApp();
}
/* Called in response to success initialize on Signiant.mst.initialize */
function reIntializeSuccess() {
console.log("Connection to Signiant App Re-established");
alert("Connection to Signiant App Re-established");
if ( transferObject !== 'undefined' ){
console.log("Checking to restart transfer");
// check and see if transfer was running, if so restart transfer
// we could send a cancel as well at this point to ensure the previous transfer was cancelled
// but Signiant App will cancel transfers when communication with Browser lost for significant period of time
if ( transferObject.currentTransferState == Signiant.Mst.transferState.TRANSFERRING ){
console.log("Restarting Transfer");
alert("Restarting Transfer in Progress");
// Set back to IDLE, pending this being tracked in Transfer API
transferObject.currentTransferState = Signiant.Mst.transferState.IDLE;
transferObject.startUpload();
}
}
}
/* Called in response to failure to initialize on Signiant.mst.initialize */
function reInitializeFailure() {
console.log("Re-Initialize Signiant App Failed, retrying");
alert("Signiant App Connection Lost, Retrying...");
reInitializeApp();
}
/* Timeout is time to wait for app to respond to new session request. We suggest 20 seconds, but you may want to lower this. If the timer completes and no message is received, reInitializeFailure will fire */
function reInitializeApp() {
console.log("Attempt Re Initialize Connection to Signiant");
var options = { "timeout" : 20000 };
Signiant.Mst.initialize(reIntializeSuccess, reInitializeFailure, options);
}
function appErrorFailure(){
alert("Transfer API Failed to load. Transfer Services will not be available.");
}
/**
* Open the file selection dialog, and call callbackUpload when it closes.
*
* @return null
*/
function chooseFiles() {
try {
transferObject.chooseUploadFiles( callbackUpload );
} catch (exception) {
alert("Unable to open the file selector: " + exception);
}
}
/**
* Callback when the file picker is closed.
*
* @return null
*/
var callbackUpload = function(event,selectedFiles) {
if(configId) {
transferObject.setStorageConfig('{"configId":"'+configId+'", "signature":"'+globalSignature+'"}');
}
var filesArray = new Array();
for (var i = 0; i < selectedFiles.length; i++) {
filesArray.push(selectedFiles[i].path);
}
//set the files to upload on the transfer object
transferObject.setFilesToUpload(filesArray);
//optionally set the subfolder for the files to go into (eg. "/folder1/folder2/folder3")
transferObject.setSubFolder(destinationFolderPath);
//optionally rename the file when it is uploaded.
//transferObject.setTargetFileName(destinationFolderPath);
//start the upload
transferObject.startUpload();
properties = transferObject.getTransferProperties();
//modify the UI
$("#contentUploadText").html("Starting upload...");
$("#contentListing").fadeTo(1000, 0.3);
$("#contentUpload").on('click', cancelTransfer);
}
/**
* Display progress of upload (doesn't work on download at the moment.)
*
* @return null
*/
function transferProgressCallback(transferObject, numBytesSent, numBytesTotal, estimatedTimeRemaining) {
var percent = Math.round((numBytesSent/numBytesTotal)*100);
$("#contentUploadText").html(percent+"% completed.<p>Completes in about "+moment.duration(estimatedTimeRemaining*1000).humanize()+"</p>");
}
/**
* Log errors to the JavaScript console.
*
* @return null
*/
function transferErrors (transferObject, eventCode, eventMsg, propertyName){
console.log("Sample Upload Transfer Error " + eventCode + ", " + eventMsg);
}
/**
* Display feedback to the user depending on what events are returned
*
* @return null
*/
function transferEvents ( transferObject, eventCode, eventMsg, eventData ) {
console.log("Sample Upload Transfer Event " + eventCode + ", " + eventMsg);
var message = eventMsg;
switch(eventCode) {
case "TRANSFER_STARTED":
$("#uploadFileChooser").attr("class","icon-completed");
break;
case "TRANSFER_CANCEL_EVENT":
case "TRANSFER_COMPLETED":
transferObject.clearAllFiles();
setTimeout(function() {updateBucket()},900);
break;
case "TRANSFER_ERROR_EVENT":
transferObject.clearAllFiles();
$("#contentUploadText").html("Upload something...");
$("#uploadFileChooser").attr("class","icon-add");
$("#contentListing").fadeTo(1000, 1);
$("#contentUpload").unbind('click');
$("#contentUpload").click(chooseFiles);
break;
default:
return
}
}
/**
* Gracefully cancel the upload or download
*
* @return null
*/
function cancelTransfer() {
$("#contentUploadText").html("Cancelling upload<p>This will take a few seconds.");
console.log("Cancel Upload files");
try {
transferObject.cancel();
} catch (exception) {
console.log("Exception in Cancel Upload Files");
console.log(exception);
}
}
/**
* Download a file from the cloud.
*
* @param {String} fileName The complete name of the file to download from S3 (can also be a "directory")
* @return null
*/
function downloadFile(fileName) {
//create a new download Object
var download = new Signiant.Mst.Download();
//set the download server
download.setServer(defaultServer);
//set the apikey for downloading
download.setApiKey(apiKey); //required
//set the storage configuration
download.setStorageConfig('{"access-key":"'+amazonS3Key+'", "secret-key":"'+amazonS3Secret+'", "bucket":"'+amazonS3Bucket+'"}');
//set the probeLB (probe load balancer) to true (always true for Flight).
download.setProbeLB(true);
download.setFilePathHandlingMode(Signiant.Mst.Transfer.filePathModePath);
download.setFileCollisionHandlingMode(Signiant.Mst.Transfer.fileCollisionModeVersion);
//set the files to download to the file that is passed
download.setFilesToDownload(new Array(fileName));
download.subscribeForTransferErrors(transferErrors);
download.subscribeForBasicEvents(transferEvents);
download.subscribeForTransferProgress(transferProgressCallback);
//open the file picker so the user selects where to save the file.
download.chooseDownloadFolder( function(message, folder) {
//set the download folder to what they set
download.setDownloadFolder(folder);
//double check that we actually set the files by calling getFiles on the download object instead of using the fileName that as passed
selectedFiles = download.getFiles();
if (selectedFiles.length == 0)
alert("No files Selected for Download");
else{
//do the download
download.startDownload();
}
});
}
/**
* Updates the bucket display with files and directories from the configured S3 bucket.
*
* @param {String} prefixToUse The current prefix (eg. /temp1/temp2)
* @return null
*/
function updateBucket(prefixToUse) {
var thisPrefix = typeof prefixToUse !== 'undefined' ? prefixToUse : "";
//upload into the currently selected directory
destinationFolderPath = thisPrefix;
var textToAppend = "";
$("#refreshIcon").addClass("fa-spin");
$('#objects').children().fadeOut(500).promise().then(function() {
$("#contentUpload").unbind('click');
$("#contentUpload").click(chooseFiles);
var bucket = new AWS.S3({params: {Bucket: amazonS3Bucket}});
bucket.listObjects({Delimiter: "/", Prefix: thisPrefix}, function (err, data) {
if (err) {
document.getElementById('objects').innerHTML =
'Could not load objects from cloud storage. Check your credentials and <a href="http://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">ensure CORS is setup properly</a>. Error was <i>'+err+'</i>';
} else {
data.Contents.sort();
$("#objects").fadeOut(500).promise().then(function() {
$("#objects").empty();
if( data.Contents.length == 0) {
$("#objects").html("No files in cloud storage right now. Why not upload one?");
}
if( thisPrefix != "" ) {
textToAppend = '<div class="row"><div class="cell"><i class="fa fa-folder-o"></i></div><div class="cell"><a href=# onclick="updateBucket(\'\')">< To Bucket Top</a></div></div>';
}
for (var i = 0; i < data.CommonPrefixes.length; i++) {
textToAppend += '<div class="row"><div class="cell"><i class="fa fa-folder-o"></i></div><div class="cell"><a href=# onclick="downloadFile(\''+data.CommonPrefixes[i].Prefix+'\')">'+data.CommonPrefixes[i].Prefix+'</a></div></div>';
}
for (var i = 0; i < data.Contents.length; i++) {
textToAppend += '<div class="row"><div class="cell"><i class="fa fa-file-o"></i></a></div>';
textToAppend += '<div class="cell"><a href=# onclick="downloadFile(\''+data.Contents[i].Key+'\')">'+data.Contents[i].Key.substr(thisPrefix.length)+'</a></div><div class="cell"><span class="date">' + moment(data.Contents[i].LastModified).format("YYYY-MM-DD HH:mm")+'</span></div><div class="cell"><span class="date">' + humanize.filesize(data.Contents[i].Size) +'</span></div></div>'
}
$("#objects").append(textToAppend);
$("#objects").fadeIn(500).promise().then(function() {
$("#refreshIcon").removeClass("fa-spin");
$("#contentListing").fadeTo(1000, 1);
$("#contentUploadText").html("Upload something...");
$("#uploadFileChooser").attr("class","icon-add");
});
});
}
});
});
}
/**
* Checks ports and firewall settings
*
* @return null
*/
function checkPortsAndFirewall() {
checkPort('https://developer.mediashuttle.com:443', $('#signiant_license_status'));
checkPort('https://pubsub.pubnub.com/subscribe/demo/hello_world/0/0:443', $('#signiant_messaging_status'));
checkPort('http://portquiz.net:49221', $('#signiant_49221_status'))
}
/**
* Checks ports and firewall settings
*
* @return null
*/
function checkPort(url, elementToUpdate) {
$.ajax({
url: url,
type: "get",
cache: false,
dataType: 'jsonp', // it is for supporting crossdomain
crossDomain : true,
asynchronous : false,
jsonpCallback: 'deadCode',
timeout : 1500, // set a timeout in milliseconds
complete : function(xhr, responseText, thrownError) {
if(xhr.status == "200") {
elementToUpdate.html("Success");
}
else {
elementToUpdate.html("Failure");
}
}
});
}
/**
* Runs when the document is fully loaded.
*
* @return null
*/
$(document).ready(function(){
//check ports and firewall settings
checkPortsAndFirewall();
//does the Signiant App exist?
checkForSigniant(true);
//set the S3 region (required for S3)
AWS.config.region = amazonS3Region;
AWS.config.update({accessKeyId: amazonS3Key, secretAccessKey: amazonS3Secret});
});
</script>
</head>
<body>
<div class="header"><div class="icon-logo" style="width: 141px; height: 20px;" ></div> <div id="headerBackground"></div></div>
<div id="mainContent" class="content">
<div id="contentUpload">
<div id="uploadFileChooser" class="icon-add" style="width: 85px; height: 62px;margin: auto;margin-top: 115px;"></div>
<div id="contentUploadText">Loading Signiant App...</div>
</div>
<div id="contentListing">
<i id="refreshIcon" class="fa fa-refresh fa-spin" onclick="updateBucket()"></i>
<div id="objects">Loading files from cloud storage...</div>
</div>
<div id="status">
<h2>Ports and Firewall Settings</h2>
<div>License check: <span id="signiant_license_status"></span></div>
<div>Port 49221 for transfers: <span id="signiant_49221_status"></span> (Note this isn't going to Signiant transfer servers, so may not be 100% accurate.)</div>
<div>Signiant Messaging Service: <span id="signiant_messaging_status"></span></div>
<div>
</div>
</div>
</div>
<div class="footer">
© 2015 Signiant.
</div>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<style>
body{margin:0;padding:0;font-family:sans-serif}
.header{position:relative;top:0;width:100%;height:70px;left:0;z-index:1}
#headerBackground{position:absolute;z-index:-1;top:0;bottom:0;left:0;right:0;background-color:#000;opacity:.1}
.content{position:relative;width:100%;height:100%;padding-top:75px}
.footer{float:left;bottom:30px;padding-left:35px;padding-top:100px;left:35px;clear:both;font-size:80%;color:#000;opacity:.25}
#contentUpload{float:left;width:20%;height:362px;border:1px solid rgba(0,0,0,.3);border-radius:25px;margin-left:20%;text-align:center;cursor:pointer}
#contentUploadText{padding-top:20px}
#contentUploadText P{opacity:.5}
#contentListing{float:left;border:1px solid rgba(0,0,0,.3);border-radius:25px;width:40%;margin-left:25px;padding-top:35px;padding-bottom:70px;padding-left:30px;position:relative}
#contentListing .fa-refresh{right:20px;top:20px;position:absolute}
#objects{display:table;margin-top:10px;font-size:90%;width:100%}
#status{clear: left; padding-left: 20%; padding-top: 100px;}
.row{width:100%;border:1px solid red;display:table-row;margin-top:10px;font-size:95%}
.cell{display:table-cell;padding-top:10px}
.cell A{text-decoration:none;color:#000}
#objects .fa{padding-right:15px}
.date{color:#000;opacity:.4;font-size:90%}
.icon-add{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3C%21--%20Generator%3A%20Adobe%20Illustrator%2018.1.1%2C%20SVG%20Export%20Plug-In%20.%20SVG%20Version%3A%206.00%20Build%200%29%20%20--%3E%0D%0A%3C%21DOCTYPE%20svg%20PUBLIC%20%22-//W3C//DTD%20SVG%201.1//EN%22%20%22http%3A//www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd%22%20%5B%0D%0A%09%3C%21ENTITY%20ns_extend%20%22http%3A//ns.adobe.com/Extensibility/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_ai%20%22http%3A//ns.adobe.com/AdobeIllustrator/10.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_graphs%20%22http%3A//ns.adobe.com/Graphs/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_vars%20%22http%3A//ns.adobe.com/Variables/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_imrep%20%22http%3A//ns.adobe.com/ImageReplacement/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_sfw%20%22http%3A//ns.adobe.com/SaveForWeb/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_custom%20%22http%3A//ns.adobe.com/GenericCustomNamespace/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_adobe_xpath%20%22http%3A//ns.adobe.com/XPath/1.0/%22%3E%0D%0A%5D%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3Ax%3D%22%26ns_extend%3B%22%20xmlns%3Ai%3D%22%26ns_ai%3B%22%20xmlns%3Agraph%3D%22%26ns_graphs%3B%22%0D%0A%09%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2284.1px%22%20height%3D%2261.7px%22%0D%0A%09%20viewBox%3D%220%200%2084.1%2061.7%22%20enable-background%3D%22new%200%200%2084.1%2061.7%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cmetadata%3E%0D%0A%09%3Csfw%20%20xmlns%3D%22%26ns_sfw%3B%22%3E%0D%0A%09%09%3Cslices%3E%3C/slices%3E%0D%0A%09%09%3CsliceSourceBounds%20%20height%3D%22280.5%22%20width%3D%222940.8%22%20x%3D%22447.5%22%20y%3D%22-424.2%22%20bottomLeftOrigin%3D%22true%22%3E%3C/sliceSourceBounds%3E%0D%0A%09%3C/sfw%3E%0D%0A%3C/metadata%3E%0D%0A%3Cg%20opacity%3D%220.7%22%3E%0D%0A%09%3Cpath%20d%3D%22M67.3%2C61.7H19.6C8.8%2C61.7%2C0%2C52.9%2C0%2C42.1c0-7.8%2C4.6-14.6%2C11.3-17.7c0-0.6-0.1-1.3-0.1-1.9C11.2%2C10%2C21.2%2C0%2C33.6%2C0%0D%0A%09%09C43%2C0%2C51%2C5.7%2C54.4%2C13.9c1.9-1.7%2C4.5-2.7%2C7.3-2.7c6.2%2C0%2C11.2%2C5%2C11.2%2C11.2c0%2C2.2-0.7%2C4.3-1.8%2C6c7.4%2C1.8%2C13%2C8.4%2C13%2C16.4%0D%0A%09%09C84.1%2C54.1%2C76.6%2C61.7%2C67.3%2C61.7z%22/%3E%0D%0A%3C/g%3E%0D%0A%3Cg%3E%0D%0A%09%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M53.2%2C39.1c0%2C0.9-0.8%2C1.7-1.7%2C1.7h-7.4v7.4c0%2C0.9-0.8%2C1.7-1.7%2C1.7h-3.4c-0.9%2C0-1.7-0.8-1.7-1.7v-7.4h-7.4%0D%0A%09%09c-0.9%2C0-1.7-0.8-1.7-1.7v-3.4c0-0.9%2C0.8-1.7%2C1.7-1.7h7.4v-7.4c0-0.9%2C0.8-1.7%2C1.7-1.7h3.4c0.9%2C0%2C1.7%2C0.8%2C1.7%2C1.7v7.4h7.4%0D%0A%09%09c0.9%2C0%2C1.7%2C0.8%2C1.7%2C1.7V39.1z%22/%3E%0D%0A%3C/g%3E%0D%0A%3C/svg%3E%0D%0A');background-repeat:no-repeat}
.icon-completed{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3C%21--%20Generator%3A%20Adobe%20Illustrator%2018.1.1%2C%20SVG%20Export%20Plug-In%20.%20SVG%20Version%3A%206.00%20Build%200%29%20%20--%3E%0D%0A%3C%21DOCTYPE%20svg%20PUBLIC%20%22-//W3C//DTD%20SVG%201.1//EN%22%20%22http%3A//www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd%22%20%5B%0D%0A%09%3C%21ENTITY%20ns_extend%20%22http%3A//ns.adobe.com/Extensibility/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_ai%20%22http%3A//ns.adobe.com/AdobeIllustrator/10.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_graphs%20%22http%3A//ns.adobe.com/Graphs/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_vars%20%22http%3A//ns.adobe.com/Variables/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_imrep%20%22http%3A//ns.adobe.com/ImageReplacement/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_sfw%20%22http%3A//ns.adobe.com/SaveForWeb/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_custom%20%22http%3A//ns.adobe.com/GenericCustomNamespace/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_adobe_xpath%20%22http%3A//ns.adobe.com/XPath/1.0/%22%3E%0D%0A%5D%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3Ax%3D%22%26ns_extend%3B%22%20xmlns%3Ai%3D%22%26ns_ai%3B%22%20xmlns%3Agraph%3D%22%26ns_graphs%3B%22%0D%0A%09%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2284.9px%22%20height%3D%2262.3px%22%0D%0A%09%20viewBox%3D%220%200%2084.9%2062.3%22%20enable-background%3D%22new%200%200%2084.9%2062.3%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cmetadata%3E%0D%0A%09%3Csfw%20%20xmlns%3D%22%26ns_sfw%3B%22%3E%0D%0A%09%09%3Cslices%3E%3C/slices%3E%0D%0A%09%09%3CsliceSourceBounds%20%20height%3D%22280.5%22%20width%3D%222940.8%22%20x%3D%22447.5%22%20y%3D%22-424.2%22%20bottomLeftOrigin%3D%22true%22%3E%3C/sliceSourceBounds%3E%0D%0A%09%3C/sfw%3E%0D%0A%3C/metadata%3E%0D%0A%3Cg%3E%0D%0A%09%3Cdefs%3E%0D%0A%09%09%3Cpath%20id%3D%22XMLID_9_%22%20d%3D%22M67.9%2C62.3H19.8C8.9%2C62.3%2C0%2C53.4%2C0%2C42.5c0-7.7%2C4.5-14.7%2C11.4-17.9c0-0.7-0.1-1.3-0.1-1.9%0D%0A%09%09%09C11.3%2C10.1%2C21.4%2C0%2C34%2C0c9.2%2C0%2C17.5%2C5.6%2C21%2C14.1c2-1.8%2C4.6-2.7%2C7.3-2.7c6.2%2C0%2C11.3%2C5.1%2C11.3%2C11.3c0%2C2.2-0.6%2C4.3-1.8%2C6.1%0D%0A%09%09%09c7.7%2C1.8%2C13.1%2C8.7%2C13.1%2C16.5C84.9%2C54.7%2C77.3%2C62.3%2C67.9%2C62.3z%20M56.2%2C31.5L40.6%2C16c-0.3-0.3-0.6-0.4-1-0.4c-0.4%2C0-0.8%2C0.1-1%2C0.4%0D%0A%09%09%09L23.1%2C31.5c-0.3%2C0.3-0.4%2C0.7-0.4%2C1.1c0%2C0.8%2C0.6%2C1.4%2C1.4%2C1.4H34v15.6c0%2C0.8%2C0.7%2C1.4%2C1.4%2C1.4h8.5c0.8%2C0%2C1.4-0.7%2C1.4-1.4V34h9.9%0D%0A%09%09%09c0.8%2C0%2C1.4-0.7%2C1.4-1.4C56.6%2C32.2%2C56.5%2C31.8%2C56.2%2C31.5z%22/%3E%0D%0A%09%3C/defs%3E%0D%0A%09%3Cuse%20xlink%3Ahref%3D%22%23XMLID_9_%22%20%20overflow%3D%22visible%22%20opacity%3D%220.7%22/%3E%0D%0A%09%3CclipPath%20id%3D%22XMLID_2_%22%3E%0D%0A%09%09%3Cuse%20xlink%3Ahref%3D%22%23XMLID_9_%22%20%20overflow%3D%22visible%22%20opacity%3D%220.7%22/%3E%0D%0A%09%3C/clipPath%3E%0D%0A%3C/g%3E%0D%0A%3C/svg%3E%0D%0A');background-repeat:no-repeat}
.icon-download{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%0D%0A%3C%21--%20Generator%3A%20Adobe%20Illustrator%2018.1.1%2C%20SVG%20Export%20Plug-In%20.%20SVG%20Version%3A%206.00%20Build%200%29%20%20--%3E%0D%0A%3C%21DOCTYPE%20svg%20PUBLIC%20%22-//W3C//DTD%20SVG%201.1//EN%22%20%22http%3A//www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd%22%20%5B%0D%0A%09%3C%21ENTITY%20ns_extend%20%22http%3A//ns.adobe.com/Extensibility/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_ai%20%22http%3A//ns.adobe.com/AdobeIllustrator/10.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_graphs%20%22http%3A//ns.adobe.com/Graphs/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_vars%20%22http%3A//ns.adobe.com/Variables/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_imrep%20%22http%3A//ns.adobe.com/ImageReplacement/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_sfw%20%22http%3A//ns.adobe.com/SaveForWeb/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_custom%20%22http%3A//ns.adobe.com/GenericCustomNamespace/1.0/%22%3E%0D%0A%09%3C%21ENTITY%20ns_adobe_xpath%20%22http%3A//ns.adobe.com/XPath/1.0/%22%3E%0D%0A%5D%3E%0D%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3Ax%3D%22%26ns_extend%3B%22%20xmlns%3Ai%3D%22%26ns_ai%3B%22%20xmlns%3Agraph%3D%22%26ns_graphs%3B%22%0D%0A%09%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%20width%3D%2284.1px%22%20height%3D%2261.7px%22%0D%0A%09%20viewBox%3D%220%200%2084.1%2061.7%22%20enable-background%3D%22new%200%200%2084.1%2061.7%22%20xml%3Aspace%3D%22preserve%22%3E%0D%0A%3Cmetadata%3E%0D%0A%09%3Csfw%20%20xmlns%3D%22%26ns_sfw%3B%22%3E%0D%0A%09%09%3Cslices%3E%3C/slices%3E%0D%0A%09%09%3CsliceSourceBounds%20%20height%3D%22280.5%22%20width%3D%222940.8%22%20x%3D%22447.5%22%20y%3D%22-424.2%22%20bottomLeftOrigin%3D%22true%22%3E%3C/sliceSourceBounds%3E%0D%0A%09%3C/sfw%3E%0D%0A%3C/metadata%3E%0D%0A%3Cg%20opacity%3D%220.7%22%3E%0D%0A%09%3Cpath%20d%3D%22M67.3%2C61.7H19.6C8.8%2C61.7%2C0%2C52.9%2C0%2C42.1c0-7.6%2C4.4-14.5%2C11.3-17.7c0-0.7-0.1-1.3-0.1-1.9C11.2%2C10%2C21.2%2C0%2C33.6%2C0%0D%0A%09%09c9.1%2C0%2C17.3%2C5.5%2C20.8%2C13.9c2-1.8%2C4.6-2.7%2C7.3-2.7c6.2%2C0%2C11.2%2C5%2C11.2%2C11.2c0%2C2.1-0.6%2C4.2-1.8%2C6c7.6%2C1.8%2C13%2C8.6%2C13%2C16.4%0D%0A%09%09C84.1%2C54.1%2C76.6%2C61.7%2C67.3%2C61.7z%20M54.7%2C33.6h-9.8V18.2c0-0.7-0.7-1.4-1.4-1.4H35c-0.7%2C0-1.4%2C0.7-1.4%2C1.4v15.4h-9.8%0D%0A%09%09c-0.8%2C0-1.4%2C0.7-1.4%2C1.4c0%2C0.3%2C0.1%2C0.7%2C0.4%2C1l15.4%2C15.4c0.3%2C0.3%2C0.6%2C0.4%2C1%2C0.4c0.4%2C0%2C0.7-0.1%2C1-0.4l15.4-15.4%0D%0A%09%09c0.3-0.3%2C0.4-0.7%2C0.4-1.1C56.1%2C34.3%2C55.5%2C33.6%2C54.7%2C33.6z%22/%3E%0D%0A%3C/g%3E%0D%0A%3C/svg%3E%0D%0A');background-repeat:no-repeat}
.icon-logo{top: 17px; left: 17px; position:absolute;background-image:url('webtransferapi.png')}
</style>
</body></html>