More updates

Former-commit-id: ec1b6164ad91ca53e9032dac1b4f07bc46bbf092 [formerly 51a9aba6c47da2bec069944c85e9e8ce01a13e72] [formerly b305bc377e8fb452548c73778aba277588995009 [formerly cd1dce5bc80047ddb7905f4208aa1c9c2ab4d6ca]]
Former-commit-id: 98f7c2689cc193c0a5fc035943716a4d999180bd [formerly e49d2368e7427b2089916ee965345850f461c0cd]
Former-commit-id: 84df75990151d151ba00c9b5e84fe8eeb3573e64
This commit is contained in:
Henrique Dias
2017-07-06 08:25:09 +01:00
parent a07ddfdccd
commit 963a7ffdf3
131 changed files with 128 additions and 29525 deletions

165
assets/dist/index.html vendored
View File

@@ -1,122 +1,55 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="base" content="{{ .BaseURL }}">
<title>File Manager</title>
<link rel="icon" type="image/png" sizes="32x32" href="{{ .BaseURL }}/static/img/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="{{ .BaseURL }}/static/img/icons/favicon-16x16.png">
<!--[if IE]><link rel="shortcut icon" href="/static/img/icons/favicon.ico"><![endif]-->
<!-- Add to home screen for Android and modern mobile browsers -->
<link rel="manifest" href="{{ .BaseURL }}/static/manifest.json">
<meta name="theme-color" content="#2979ff">
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,user-scalable=no"><meta name=base content="{{ .BaseURL }}"><title>File Manager</title><link rel=icon type=image/png sizes=32x32 href="{{ .BaseURL }}/static/img/icons/favicon-32x32.png"><link rel=icon type=image/png sizes=16x16 href="{{ .BaseURL }}/static/img/icons/favicon-16x16.png"><!--[if IE]><link rel="shortcut icon" href="/static/img/icons/favicon.ico"><![endif]--><link rel=manifest href="{{ .BaseURL }}/static/manifest.json"><meta name=theme-color content=#2979ff><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><meta name=apple-mobile-web-app-title content=assets><link rel=apple-touch-icon href="{{ .BaseURL }}/static/img/icons/apple-touch-icon-152x152.png"><meta name=msapplication-TileImage content="{{ .BaseURL }}/static/img/icons/msapplication-icon-144x144.png"><meta name=msapplication-TileColor content=#2979ff><link rel=preload href="{{ .BaseURL }}/static/js/app.62616eb7240720ad996c.js" as=script><link rel=preload href="{{ .BaseURL }}/static/css/app.d254331e81773f64579d4c8a6cfa33a4.css" as=style><link rel=preload href="{{ .BaseURL }}/static/js/manifest.69120d687cfe04a64dee.js" as=script><style>#loading{position:fixed;top:0;left:0;width:100%;height:100%;background:#fff;z-index:9999;transition:.1s ease opacity;-webkit-transition:.1s ease opacity}#loading.done{opacity:0}.spinner{width:70px;text-align:center;position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.spinner>div{width:18px;height:18px;background-color:#333;border-radius:100%;display:inline-block;-webkit-animation:sk-bouncedelay 1.4s infinite ease-in-out both;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.spinner .bounce1{-webkit-animation-delay:-.32s;animation-delay:-.32s}.spinner .bounce2{-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes sk-bouncedelay{0%,100%,80%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes sk-bouncedelay{0%,100%,80%{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}</style><link href="{{ .BaseURL }}/static/css/app.d254331e81773f64579d4c8a6cfa33a4.css" rel=stylesheet></head><body><div id=app></div><div id=loading><div class=spinner><div class=bounce1></div><div class=bounce2></div><div class=bounce3></div></div></div><script>(function() {
'use strict';
<!-- Add to home screen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="assets">
<link rel="apple-touch-icon" href="{{ .BaseURL }}/static/img/icons/apple-touch-icon-152x152.png">
<!-- Add to home screen for Windows -->
<meta name="msapplication-TileImage" content="{{ .BaseURL }}/static/img/icons/msapplication-icon-144x144.png">
<meta name="msapplication-TileColor" content="#2979ff">
// Check to make sure service workers are supported in the current browser,
// and that the current page is accessed from a secure origin. Using a
// service worker from an insecure origin will trigger JS console errors.
const isLocalhost = Boolean(window.location.hostname === 'localhost' ||
// [::1] is the IPv6 localhost address.
window.location.hostname === '[::1]' ||
// 127.0.0.1/8 is considered localhost for IPv4.
window.location.hostname.match(
/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/
)
);
<link rel="preload" href="{{ .BaseURL }}/static/js/vendor.4394f786c9783a8cfecf.js" as="script">
<link rel="preload" href="{{ .BaseURL }}/static/js/app.df7e28d3c1ef5e6b57f8.js" as="script">
<link rel="preload" href="{{ .BaseURL }}/static/js/manifest.561f12475873610695d0.js" as="script">
window.addEventListener('load', function() {
if ('serviceWorker' in navigator &&
(window.location.protocol === 'https:' || isLocalhost)) {
navigator.serviceWorker.register('{{ .BaseURL }}/sw.js')
.then(function(registration) {
// updatefound is fired if service-worker.js changes.
registration.onupdatefound = function() {
// updatefound is also fired the very first time the SW is installed,
// and there's no need to prompt for a reload at that point.
// So check here to see if the page is already controlled,
// i.e. whether there's an existing service worker.
if (navigator.serviceWorker.controller) {
// The updatefound event implies that registration.installing is set
const installingWorker = registration.installing;
<style>
#loading {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #fff;
z-index: 9999;
transition: .1s ease opacity;
-webkit-transition: .1s ease opacity;
}
installingWorker.onstatechange = function() {
switch (installingWorker.state) {
case 'installed':
// At this point, the old content will have been purged and the
// fresh content will have been added to the cache.
// It's the perfect time to display a "New content is
// available; please refresh." message in the page's interface.
break;
#loading.done {
opacity: 0;
}
case 'redundant':
throw new Error('The installing ' +
'service worker became redundant.');
.spinner {
width: 70px;
text-align: center;
position: fixed;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.spinner > div {
width: 18px;
height: 18px;
background-color: #333;
border-radius: 100%;
display: inline-block;
-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.spinner .bounce1 {
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
}
.spinner .bounce2 {
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
0%, 80%, 100% { -webkit-transform: scale(0) }
40% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bouncedelay {
0%, 80%, 100% {
-webkit-transform: scale(0);
transform: scale(0);
} 40% {
-webkit-transform: scale(1.0);
transform: scale(1.0);
}
}
</style>
</head>
<body>
<div id="app"></div>
<div id="loading">
<div class="spinner">
<div class="bounce1"></div>
<div class="bounce2"></div>
<div class="bounce3"></div>
</div>
</div>
<script>// This service worker file is effectively a 'no-op' that will reset any
// previous service worker registered for the same host:port combination.
// In the production build, this file is replaced with an actual service worker
// file that will precache your site's local assets.
// See https://github.com/facebookincubator/create-react-app/issues/2272#issuecomment-302832432
self.addEventListener('install', () => self.skipWaiting());
self.addEventListener('activate', () => {
self.clients.matchAll({ type: 'window' }).then(windowClients => {
for (let windowClient of windowClients) {
// Force open pages to refresh, so that they have a chance to load the
// fresh navigation response from the local dev server.
windowClient.navigate(windowClient.url);
}
default:
// Ignore
}
};
}
};
}).catch(function(e) {
console.error('Error during service worker registration:', e);
});
}
});
});</script>
<script type="text/javascript" src="{{ .BaseURL }}/static/js/manifest.561f12475873610695d0.js"></script><script type="text/javascript" src="{{ .BaseURL }}/static/js/vendor.4394f786c9783a8cfecf.js"></script><script type="text/javascript" src="{{ .BaseURL }}/static/js/app.df7e28d3c1ef5e6b57f8.js"></script></body>
</html>
})();</script><script type=text/javascript src="{{ .BaseURL }}/static/js/manifest.69120d687cfe04a64dee.js"></script><script type=text/javascript src="{{ .BaseURL }}/static/js/app.62616eb7240720ad996c.js"></script></body></html>