filebrowser/assets/dist/index.html
Henrique Dias 963a7ffdf3 More updates
Former-commit-id: ec1b6164ad91ca53e9032dac1b4f07bc46bbf092 [formerly 51a9aba6c47da2bec069944c85e9e8ce01a13e72] [formerly b305bc377e8fb452548c73778aba277588995009 [formerly cd1dce5bc80047ddb7905f4208aa1c9c2ab4d6ca]]
Former-commit-id: 98f7c2689cc193c0a5fc035943716a4d999180bd [formerly e49d2368e7427b2089916ee965345850f461c0cd]
Former-commit-id: 84df75990151d151ba00c9b5e84fe8eeb3573e64
2017-07-06 08:25:09 +01:00

55 lines
5.0 KiB
HTML

<!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';
// 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}$/
)
);
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;
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;
case 'redundant':
throw new Error('The installing ' +
'service worker became redundant.');
default:
// Ignore
}
};
}
};
}).catch(function(e) {
console.error('Error during service worker registration:', e);
});
}
});
})();</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>