diff --git a/client/scripts/custom.js.php b/client/scripts/custom.js.php index d88da26..7d5724f 100644 --- a/client/scripts/custom.js.php +++ b/client/scripts/custom.js.php @@ -1331,7 +1331,6 @@ $(document).ready(function(){ colorsArray.forEach(function (gradientBodyValue) {$('.generated-styles').append('.body-'+gradientBodyValue[0]+'{background-image: linear-gradient(to bottom, '+gradientBodyValue[1]+' 0, '+gradientBodyValue[3]+' 100%)}')}); } - // TODO: Hier den site-specific code ausführen initRegatten(); hideLoader(); diff --git a/client/scripts/pwa.js.php b/client/scripts/pwa.js.php index 2085c28..cf26e76 100644 --- a/client/scripts/pwa.js.php +++ b/client/scripts/pwa.js.php @@ -74,9 +74,9 @@ $(document).ready(function(){ deferredPrompt.userChoice .then((choiceResult) => { if (choiceResult.outcome === 'accepted') { - //console.log('User accepted the A2HS prompt'); + console.log('User accepted the A2HS prompt'); } else { - //console.log('User dismissed the A2HS prompt'); + console.log('User dismissed the A2HS prompt'); } deferredPrompt = null; }); diff --git a/client/styles/regatten.css b/client/styles/regatten.css index b98181a..44cee2f 100644 --- a/client/styles/regatten.css +++ b/client/styles/regatten.css @@ -1,3 +1,4 @@ +/*** REGATTAS LIST ***/ .regattas-list > div { padding-top: 1rem; padding-bottom: 1rem; @@ -40,4 +41,20 @@ .regattas-list > div > div:nth-child(3) > div:nth-child(2) { width: 25%; text-align: right; +} + +/*** BLINKING ICONS ***/ +@keyframes fa-blink { + 0% { opacity: 1; } + 25% { opacity: 0.25; } + 50% { opacity: 0.5; } + 75% { opacity: 0.75; } + 100% { opacity: 0; } +} +.fa-blink { + -webkit-animation: fa-blink .75s linear infinite; + -moz-animation: fa-blink .75s linear infinite; + -ms-animation: fa-blink .75s linear infinite; + -o-animation: fa-blink .75s linear infinite; + animation: fa-blink .75s linear infinite; } \ No newline at end of file diff --git a/manifest.json.php b/manifest.json.php index aaad555..ad6e50a 100644 --- a/manifest.json.php +++ b/manifest.json.php @@ -6,7 +6,7 @@ ?> { - "version": "1.0", + "version": "", "lang" : "de", "name" : "Regatten.net ", "scope" : "/", diff --git a/server/scripts/regattas.js b/server/scripts/regattas.js index 48b4e58..4f09ff7 100644 --- a/server/scripts/regattas.js +++ b/server/scripts/regattas.js @@ -32,29 +32,21 @@ var rows = []; var today; async function drawTable () { - //setLoading(true, 'loading'); - window.setTimeout(function () { var list = ''; rows.forEach(function (entry) { if (entry == null) { list += '