Deploying to dev-demo from @ Lissy93/dashy@cc5651ec5e 🚀

This commit is contained in:
Lissy93 2021-08-28 13:05:34 +00:00
parent ebb8239dc5
commit d731197220
15 changed files with 195 additions and 58 deletions

File diff suppressed because one or more lines are too long

1
css/dashy.ce2effce.css Normal file

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,7 @@
<!doctype html>
<!-- Dashy: Licensed under MIT, (C) 2021 Alicia Sykes <https://aliciasykes.com> -->
<!-- This is the default page, displayed while the app is still building -->
<html>
<head>
<title>Dashy</title>
<meta name="description" content="Welcome to Dashy">
@ -12,6 +13,7 @@
</head>
<body>
<!-- Dashy Title Wavey Text -->
<svg viewbox="0 0 100 20">
<defs>
<linearGradient id="gradient" x1="0" x2="0" y1="0" y2="1">
@ -29,9 +31,16 @@
<text text-anchor="middle" x="50" y="15" font-size="17" fill="url(#wave)" fill-opacity="0.8">Dashy</text>
<text text-anchor="middle" x="50" y="15" font-size="17" fill="url(#gradient)" fill-opacity="0.5">Dashy</text>
</svg>
<!-- Progress Bar -->
<div class="progress-outer" id="bar-outer">
<div class="progress-inner" id="bar"></div>
</div>
<!-- Status label, with animated dots -->
<div>
<h2>Initializing</h2>
<span class="dots-cont">
<h2 id="status-text">Initializing</h2>
<span id="dots" class="dots-cont">
<span class="dot dot-1"></span>
<span class="dot dot-2"></span>
<span class="dot dot-3"></span>
@ -39,7 +48,10 @@
</span>
</div>
<p class="time-note" id="note">This may take a minute or two</p>
<style lang="css">
/* Page Layout Styles */
body,
html {
margin: 0;
@ -68,6 +80,7 @@
display: inline;
}
/* Animated Dots */
.dots-cont {
display: inline;
}
@ -84,44 +97,168 @@
position: relative;
animation: jump 1s infinite;
}
.dots-cont .dot-1 {
-webkit-animation-delay: 100ms;
animation-delay: 100ms;
}
.dots-cont .dot-2 {
-webkit-animation-delay: 200ms;
animation-delay: 200ms;
}
.dots-cont .dot-3 {
-webkit-animation-delay: 300ms;
animation-delay: 300ms;
}
.dots-cont .dot-4 {
-webkit-animation-delay: 400ms;
animation-delay: 400ms;
}
.dots-cont .dot-1 { -webkit-animation-delay: 100ms; animation-delay: 100ms; }
.dots-cont .dot-2 { -webkit-animation-delay: 200ms; animation-delay: 200ms; }
.dots-cont .dot-3 { -webkit-animation-delay: 300ms; animation-delay: 300ms; }
.dots-cont .dot-4 { -webkit-animation-delay: 400ms; animation-delay: 400ms; }
@keyframes jump {
0% {
bottom: 0px;
}
20% {
bottom: 5px;
}
40% {
bottom: 0px;
}
0% { bottom: 0px; }
20% { bottom: 5px; }
40% { bottom: 0px; }
}
/* Little note */
p.time-note, p.time-note a {
font-size: 1rem;
color: #808080a6;
font-family: Tahoma, 'Trebuchet MS', sans-serif;
}
/* Progress Bar */
.progress-outer {
position: relative;
margin: 1rem;
height: 0.5rem;
width: 20rem;
border: 1px solid #fff;
border-radius: 6px;
}
.progress-outer .progress-inner {
position: absolute;
background-color: #fff;
width: 0px;
height: 0.5rem;
border-radius: 15px;
}
#bar.stage-0 { animation: progress-0 8s infinite linear; }
#bar.stage-1 { animation: progress-1 8s infinite linear; }
#bar.stage-2 { animation: progress-2 8s infinite linear; }
#bar.stage-3 { animation: progress-3 8s infinite linear; }
#bar.stage-4 { animation: progress-4 8s infinite linear; }
#bar.stage-5 { animation: progress-5 8s infinite linear; }
#bar.stage-6 { animation: progress-6 8s infinite linear; }
#bar.stage-7 { animation: progress-7 8s infinite linear; }
#bar.stage-8 { animation: progress-8 8s infinite linear; }
@keyframes progress {
0% { width: 0%; }
25% { width: 50%; }
50% { width: 75%; }
75% { width: 85%; }
100% { width: 100%; }
}
@keyframes progress-0 {
0% { width: 0%; }
50% { width: 20%; }
100% { width: 30%; }
}
@keyframes progress-1 {
0% { width: 30%; }
50% { width: 42%; }
100% { width: 50%; }
}
@keyframes progress-2 {
0% { width: 50%; }
50% { width: 60%; }
100% { width: 65%; }
}
@keyframes progress-3 {
0% { width: 65%; }
100% { width: 75%; }
}
@keyframes progress-4 {
0% { width: 75%; }
100% { width: 85%; }
}
@keyframes progress-5 {
0% { width: 85%; }
100% { width: 90%; }
}
@keyframes progress-6 {
0% { width: 90%; }
100% { width: 94%; }
}
@keyframes progress-7 {
0% { width: 94%; }
50% { width: 96%; }
75% { width: 90%; }
100% { width: 96%; }
}
@keyframes progress-8 {
0% { width: 95%; }
50% { width: 97%; }
75% { width: 94%; }
100% { width: 98%; }
}
.hide { display: none; }
</style>
<script>
setTimeout(() => { location.reload(); }, 10000);
const refreshRate = 8000;
// Refresh at interval
setTimeout(() => { location.reload(); }, refreshRate);
// Get current stage
let initStage = parseInt(sessionStorage.getItem('initStage') || 0);
// Check if stage in session storage is old, and if so, reset it
const now = Math.round(Date.now()/1000);
const buildStarted = sessionStorage.getItem('buildStarted');
if (!buildStarted) { // First time build
sessionStorage.setItem('buildStarted', now);
} else if ((now - parseInt(buildStarted)) > 600) {
initStage = 0;
sessionStorage.setItem('buildStarted', now);
}
// Grab elements from page
const statusTextElem = document.getElementById('status-text');
const progressBarElem = document.getElementById('bar');
const progressOuterElem = document.getElementById('bar-outer');
const loadingDotsElem = document.getElementById('dots');
const noteElem = document.getElementById('note');
// Based on stage, modify element content/ styles
if (initStage === 0) {
statusTextElem.innerHTML = 'Initializing'
progressBarElem.classList.add('stage-0');
} else if (initStage === 1) {
statusTextElem.innerHTML = 'Running Checks'
progressBarElem.classList.add('stage-1');
} else if (initStage === 2) {
statusTextElem.innerHTML = 'Building'
progressBarElem.classList.add('stage-2');
} else if (initStage === 3) {
statusTextElem.innerHTML = 'Building'
progressBarElem.classList.add('stage-3');
} else if (initStage === 4) {
statusTextElem.innerHTML = 'Finishing Off'
progressBarElem.classList.add('stage-4');
} else if (initStage === 5) {
statusTextElem.innerHTML = 'Almost Done'
progressBarElem.classList.add('stage-5');
} else if (initStage === 6) {
statusTextElem.innerHTML = 'Not Long Left'
progressBarElem.classList.add('stage-6');
} else if (initStage === 7) {
statusTextElem.innerHTML = 'Taking Longer than Expected'
progressBarElem.classList.add('stage-7');
noteElem.innerHTML = 'See the console for more info';
} else if (initStage >= 8) {
const docsLink = '<a href="https://github.com/Lissy93/dashy/tree/master/docs#readme">Documentation</a>';
statusTextElem.innerHTML = 'Possible Error, Check Logs'
noteElem.innerHTML = 'For troubleshooting, please see the ' + docsLink;
progressOuterElem.classList.add('hide');
loadingDotsElem.classList.add('hide');
} else {
statusTextElem.innerHTML = 'Building App'
progressOuterElem.classList.add('hide')
}
// Iterate the stage number
sessionStorage.setItem('initStage', initStage + 1)
</script>
</body>

View File

@ -1 +1 @@
<!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"><!--[if IE]><link rel="icon" type="image/png" sizes="64x64" href="//web-icons/favicon-64x64.png"><![endif]--><link rel="icon" type="image/png" sizes="32x32" href="web-icons/favicon-32x32.png"><link rel="icon" href="/favicon.ico"><link rel="icon" type="image/png" href="/favicon.ico"><title>Dashy</title><link href="/css/about.a64c098d.css" rel="prefetch"><link href="/js/about.a753ab10.js" rel="prefetch"><link href="/css/chunk-vendors.d8067ad8.css" rel="stylesheet" integrity="sha384-Q+5GU0sC0yrpGhMJugDXfbsfle+n7mjsN4ZWer1nfk5UczfRbb7etIwb7rm0ay1h"><link href="/css/dashy.a21a6a78.css" rel="stylesheet" integrity="sha384-J+ix0KSitWhxdGCy/hNEiq/UrdnMr2mXBgkDI9MTAnuQIJjxQGyPvr1d/tQhcV4V"><link rel="icon" type="image/png" sizes="32x32" href="/./web-icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/./manifest.json"><meta name="theme-color" content="#00af87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="Dashy"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/./web-icons/dashy-logo.png" color="#00af87"><meta name="msapplication-TileImage" content="/./web-icons/dashy-logo.png"><meta name="msapplication-TileColor" content="#0b1021"></head><body><noscript><strong>Sorry, JavaScript is required to run this app 😥</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.c2dd9c27.js" integrity="sha384-auP9lEm7dBccqL0zDIS04JnX5LZJ+c8Mm0HNMVxR5UmAbsK0iEZ5mqWXARv8cHSc"></script><script src="/js/dashy.aaf1ce3e.js" integrity="sha384-NcW66vlzFr0WLGW0O0bFT35LWSABFyr0bkPdYg4SAwO4A4Y8XUh189Rc4ve2rCNj"></script></body></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"><!--[if IE]><link rel="icon" type="image/png" sizes="64x64" href="//web-icons/favicon-64x64.png"><![endif]--><link rel="icon" type="image/png" sizes="32x32" href="web-icons/favicon-32x32.png"><link rel="icon" href="/favicon.ico"><link rel="icon" type="image/png" href="/favicon.ico"><title>Dashy</title><link href="/css/about.a64c098d.css" rel="prefetch"><link href="/js/about.27d0b495.js" rel="prefetch"><link href="/css/chunk-vendors.d8067ad8.css" rel="stylesheet" integrity="sha384-Q+5GU0sC0yrpGhMJugDXfbsfle+n7mjsN4ZWer1nfk5UczfRbb7etIwb7rm0ay1h"><link href="/css/dashy.ce2effce.css" rel="stylesheet" integrity="sha384-CM/EmLKonBPqqB53t1tS1QLW2NBkLquDN0s1Mqx7tCy+SRl40QMhmJDnBtjSlmxN"><link rel="icon" type="image/png" sizes="32x32" href="/./web-icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/./manifest.json"><meta name="theme-color" content="#00af87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="Dashy"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/./web-icons/dashy-logo.png" color="#00af87"><meta name="msapplication-TileImage" content="/./web-icons/dashy-logo.png"><meta name="msapplication-TileColor" content="#0b1021"></head><body><noscript><strong>Sorry, JavaScript is required to run this app 😥</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.4470d7d3.js" integrity="sha384-GNXDvKba07eovFx6SHNF2BG53i9u8fpGcNEyjtUBdvTp1iyKH0tqxYkoN1OxYB2b"></script><script src="/js/dashy.e97e2128.js" integrity="sha384-7K3XS4B6c2ZZ3+0HrgVRNDxzm4PTRWM3CzEFyfeFGamzCuvGyTofZ0078TGoXVCr"></script></body></html>

View File

@ -1,2 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["about"],{1792:function(t,e,i){"use strict";i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return o}));var s=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},o=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("article",{staticClass:"about"},[i("h1",[t._v("About Dashy")]),i("section",[i("h2",[t._v("Project Overview")]),i("p",[t._v(" Dashy is a self-hosted startpage for keeping your running applications and services organised. The aim of Dashy is to provide an easy-to-deploy, highly customizable and functianl dashboard, in order to improvde productivity and enable easy organisation of running services or web links. ")])]),i("section",[i("h2",[t._v("Source")]),i("p",[t._v(" Dashy's source is available through "),i("a",{attrs:{href:"https://github.com/lissy93/dashy"}},[t._v("GitHub")]),t._v(", and the Docker image is on "),i("a",{attrs:{href:"https://hub.docker.com/r/lissy93/dashy"}},[t._v("DockerHub")]),t._v(". ")])]),i("section",[i("h2",[t._v("Reporting a Bug")]),i("p",[t._v(" If you've come across an bug in Dashy, please "),i("a",{attrs:{href:"https://git.io/JnqPR"}},[t._v("open an issue")]),t._v(", so that it can be fixed. ")])]),i("section",[i("h2",[t._v("Getting Support")]),i("p",[t._v(" If you need any help deploying, using, or developing Dashy, feel free to "),i("a",{attrs:{href:"https://git.io/JnqiA"}},[t._v("open a support ticket")]),t._v(" or start a "),i("a",{attrs:{href:"https://github.com/Lissy93/dashy/discussions"}},[t._v("discussion")]),t._v(" on GitHub. ")])]),i("section",[i("h2",[t._v("About the Author")]),i("a",{attrs:{href:"https://aliciasykes.com"}},[i("img",{staticClass:"aht-pic",attrs:{src:"https://i.ibb.co/FnxqTfx/aht-bot-round.png",alt:"Alicia Sykes"}})]),t._v(" Dashy is developed an maintained by "),i("a",{attrs:{href:"https://aliciasykes.com"}},[t._v("Alicia Sykes")]),t._v(" ("),i("a",{attrs:{href:"https://github.com/lissy93"}},[t._v("@Lissy93")]),t._v("), with support from the community. "),i("ul",[i("li",[i("b",[t._v("PGP Key")]),t._v(" - "),i("a",{attrs:{href:"https://keybase.io/aliciasykes/pgp_keys.asc?fingerprint=0688f8d34587d954e9e51fb8fedb68f55c0283a7"}},[i("code",[t._v("0688 F8D3 4587 D954 E9E5 1FB8 FEDB 68F5 5C02 83A7")])])]),i("li",[i("b",[t._v("BTC Address")]),t._v(" - "),i("code",[t._v("3853bSxupMjvxEYfwGDGAaLZhTKxB2vEVC")])]),i("li",[i("b",[t._v("Mail")]),t._v(" - "),i("code",[t._v("alicia at omg dot lol")])]),i("li",[i("b",[t._v("Blog")]),t._v(" - "),i("a",{attrs:{href:"https://notes.aliciasykes.com"}},[t._v("notes.aliciasykes.com")])])])]),i("section",{staticClass:"license"},[i("h2",[t._v("License")]),i("code",[t._v(" Copyright © 2021 Alicia Sykes (https://aliciasykes.com) ")]),i("br"),i("br"),i("code",[t._v(" 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: ")]),i("br"),i("br"),i("code",[t._v(" The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. ")]),i("br"),i("br"),i("code",[t._v(" 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 SOFTWAREOR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ")])])])}]},"35a2":function(t,e,i){},4869:function(t,e,i){"use strict";i("35a2")},5679:function(t,e){document.getElementsByTagName("html")[0].setAttribute("data-theme","callisto")},6109:function(t,e,i){"use strict";i.r(e);var s=i("5679"),o=i.n(s);for(var a in s)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(a);e["default"]=o.a},f820:function(t,e,i){"use strict";i.r(e);var s=i("1792"),o=i("6109");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("4869");var n=i("2877"),r=Object(n["a"])(o["default"],s["a"],s["b"],!1,null,"502c8927",null);e["default"]=r.exports}}]);
//# sourceMappingURL=about.a753ab10.js.map
//# sourceMappingURL=about.27d0b495.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
js/dashy.e97e2128.js Normal file

File diff suppressed because one or more lines are too long

1
js/dashy.e97e2128.js.map Normal file

File diff suppressed because one or more lines are too long

View File

@ -12,19 +12,19 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/conf.yml"
},
{
"revision": "3e564bd3e00c30114482",
"revision": "50ecc1b7a900403b0d08",
"url": "/css/about.a64c098d.css"
},
{
"revision": "6abb4fc4734f8c3c5306",
"revision": "704627bf804d558daed9",
"url": "/css/chunk-vendors.d8067ad8.css"
},
{
"revision": "a922b5274242ec98a0df",
"url": "/css/dashy.a21a6a78.css"
"revision": "80436a44b4a0d0a14b17",
"url": "/css/dashy.ce2effce.css"
},
{
"revision": "e24265f6c4bd4450fdafdf37cd825bfc",
"revision": "ecee57dfff425a634aacc7ae1b96ff0e",
"url": "/default.html"
},
{
@ -72,7 +72,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/fonts/VT323-Regular.ttf"
},
{
"revision": "ed1ec6859ea4e040165ac2e5fb78769a",
"revision": "94ee3099d246ec4c559915e680cb614c",
"url": "/index.html"
},
{
@ -80,16 +80,16 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/item-icons/.gitignore"
},
{
"revision": "3e564bd3e00c30114482",
"url": "/js/about.a753ab10.js"
"revision": "50ecc1b7a900403b0d08",
"url": "/js/about.27d0b495.js"
},
{
"revision": "6abb4fc4734f8c3c5306",
"url": "/js/chunk-vendors.c2dd9c27.js"
"revision": "704627bf804d558daed9",
"url": "/js/chunk-vendors.4470d7d3.js"
},
{
"revision": "a922b5274242ec98a0df",
"url": "/js/dashy.aaf1ce3e.js"
"revision": "80436a44b4a0d0a14b17",
"url": "/js/dashy.e97e2128.js"
},
{
"revision": "e3bf86400a2b80531902e65f51d52be0",

View File

@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/precache-manifest.d4e987a1ab64198540ec8912f805abfb.js"
"/precache-manifest.a4543372dffeaa6236159b645260809f.js"
);
workbox.core.setCacheNameDetails({prefix: "Dashy"});