New admin portal build

This commit is contained in:
hillelcoren 2020-07-15 16:46:59 +00:00
parent 0ff8b68fbe
commit 6dd3ed61fd
5 changed files with 99701 additions and 100129 deletions

View File

@ -954,7 +954,6 @@ POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
angle
boringssl
engine
etc1
khronos
txt

View File

@ -3,21 +3,21 @@ const MANIFEST = 'flutter-app-manifest';
const TEMP = 'flutter-temp-cache';
const CACHE_NAME = 'flutter-app-cache';
const RESOURCES = {
"main.dart.js": "5843a9b2c1956d6758b489e4753c8488",
"main.dart.js": "debf8af87ed61c1a5eded2f80018f292",
"favicon.ico": "51636d3a390451561744c42188ccd628",
"manifest.json": "77215c1737c7639764e64a192be2f7b8",
"assets/fonts/Roboto-Regular.ttf": "3e1af3ef546b9e6ecef9f3ba197bf7d2",
"assets/fonts/MaterialIcons-Regular.ttf": "56d3ffdef7a25659eab6a68a3fbfaf16",
"assets/web/assets/fonts/Roboto-Regular.ttf": "3e1af3ef546b9e6ecef9f3ba197bf7d2",
"assets/FontManifest.json": "280b2f61f6810d59bd1bcd4cf01d3bf4",
"assets/NOTICES": "448360fd0ad438f1cf87435ab6f63cb1",
"assets/NOTICES": "b1b7097635aecbec26b34481a2dc05e0",
"assets/packages/font_awesome_flutter/lib/fonts/fa-regular-400.ttf": "2bca5ec802e40d3f4b60343e346cedde",
"assets/packages/font_awesome_flutter/lib/fonts/fa-solid-900.ttf": "2aa350bd2aeab88b601a593f793734c0",
"assets/packages/font_awesome_flutter/lib/fonts/fa-brands-400.ttf": "5a37ae808cf9f652198acde612b5328d",
"assets/assets/images/google-icon.png": "0f118259ce403274f407f5e982e681c3",
"assets/assets/images/logo.png": "090f69e23311a4b6d851b3880ae52541",
"assets/AssetManifest.json": "43bc57fb55ca8ea2fc1975108be086c9",
"/": "57fdc91b6cf6f7a7eddf1419c5763c19"
"/": "e65799be52f7bbcaf39d78046726b95a"
};
// The application shell files that are downloaded before a service worker can
@ -106,7 +106,7 @@ self.addEventListener("fetch", (event) => {
if (event.request.url == origin || event.request.url.startsWith(origin + '/#')) {
key = '/';
}
// If the URL is not the the RESOURCE list, skip the cache.
// If the URL is not the RESOURCE list, skip the cache.
if (!RESOURCES[key]) {
return event.respondWith(fetch(event.request));
}
@ -129,11 +129,11 @@ self.addEventListener("fetch", (event) => {
self.addEventListener('message', (event) => {
// SkipWaiting can be used to immediately activate a waiting service worker.
// This will also require a page refresh triggered by the main worker.
if (event.data == 'skipWaiting') {
if (event.data === 'skipWaiting') {
return self.skipWaiting();
}
if (event.message = 'downloadOffline') {
if (event.message === 'downloadOffline') {
downloadOffline();
}
});

View File

@ -7,18 +7,85 @@
</head>
<body style="background-color:#888888;">
<style>
/* https://projects.lukehaas.me/css-loaders/ */
.loader,
.loader:before,
.loader:after {
border-radius: 50%;
width: 2.5em;
height: 2.5em;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation: load7 1.8s infinite ease-in-out;
animation: load7 1.8s infinite ease-in-out;
}
.loader {
color: #ffffff;
font-size: 10px;
margin: 80px auto;
position: relative;
text-indent: -9999em;
-webkit-transform: translateZ(0);
-ms-transform: translateZ(0);
transform: translateZ(0);
-webkit-animation-delay: -0.40s;
animation-delay: -0.40s;
}
.loader:before,
.loader:after {
content: '';
position: absolute;
top: 0;
}
.loader:before {
left: -3.5em;
-webkit-animation-delay: -0.80s;
animation-delay: -0.80s;
}
.loader:after {
left: 3.5em;
}
@-webkit-keyframes load7 {
0%,
80%,
100% {
box-shadow: 0 2.5em 0 -1.3em;
}
40% {
box-shadow: 0 2.5em 0 0;
}
}
@keyframes load7 {
0%,
80%,
100% {
box-shadow: 0 2.5em 0 -1.3em;
}
40% {
box-shadow: 0 2.5em 0 0;
}
}
</style>
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', function () {
navigator.serviceWorker.register('/flutter_service_worker.js');
});
}
document.addEventListener('DOMContentLoaded', function(event) {
document.getElementById('loader').style.display = 'none';
});
</script>
<script src="main.dart.js" type="application/javascript"></script>
<script defer src="main.dart.js" type="application/javascript"></script>
<center style="font-family:Tahoma,Geneva,sans-serif;font-size:28px;color:white;padding-top:100px">
Loading...
<center style="padding-top: 150px" id="loader">
<div class="loader"></div>
</center>
</body>

199732
public/main.dart.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long