Agg.interni

This commit is contained in:
octospacc 2023-04-21 16:23:31 +02:00
parent 9a3e418db6
commit 4844234aa0
6 changed files with 68 additions and 1 deletions

View File

@ -0,0 +1,62 @@
/*(function(){
var Force = false;
var Duration = OcttTime.Duration;
var Curr = OcttTime.YearsAgeNow() % 1;
if (Force || (Curr < Duration) || ((1 - Curr) < Duration)) {
if ((Curr < Duration)) { // After day
var Dir = 'right';
} else
if ((1 - Curr) < Duration) { // Before day
var Dir = 'left';
};
var BDCover = document.createElement('div');
var BDView = document.createElement('div');
//var BDProg = document.createElement('div');
BDCover.style = `
position: fixed;
z-index: 999998;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: black;
opacity: ${0.5};
`;
BDView.style = `
position: fixed;
z-index: 999999;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
color: white;
`;
BDView.innerHTML = `
<div style="
position: fixed;
top: 35%;
height: 4em;
background-color: white;
${Dir}: 0;
width: ${50}%;
"></div>
`;
//BDProg.style = `
// position: fixed;
// z-index: 999999;
// top: 35%;
// height: 4em;
// background-color: white;
// ${'left'}: 0;
// width: ${50}%;
//`;
document.body.appendChild(BDCover);
document.body.appendChild(BDView);
//document.body.appendChild(BDProg);
//if (true) {
// setTimeout(function(){
// Wrap.innerHTML = '<h1>È</h1>';
// }, 1000);
//};
};
})();*/

View File

@ -14,7 +14,7 @@ python3 ../staticoso/App/Source/Build.py \
--MastodonURL="https://botsin.space" \
--MastodonToken="$MastodonToken;Debug=True" \
--ActivityPubHoursLimit="0" \
--GemtextOutput=True
--GemtextOutput=False
#--DiffBuild="True" \
#--GemtextOutput=True #\
#--MastodonURL="https://botsin.space" \

View File

@ -0,0 +1,2 @@
<script src="//hub.octt.eu.org/Assets/JS/CurrentAge.js"></script>
<script src="[staticoso:SiteRelativeRoot]Assets/BDPayload.js"></script>

View File

@ -80,5 +80,6 @@
</div>
<staticoso:DynamicPart:*/Foot>
<link rel="stylesheet" href="[staticoso:CustomPath:Assets]/Fonts/SpaceMono/Style.css"/>
<staticoso:StaticPart:Standard/Foot.Global.html>
</body>
</html>

View File

@ -36,5 +36,6 @@
</div><div id="ContentInfo"><staticoso:PageContentInfo></div></article>
<p id="BuildTimeLine">Pagina compilata in data: <span><staticoso:BuildTime></span></p>
<staticoso:DynamicPart:*/Foot>
<staticoso:StaticPart:Standard/Foot.Global.html>
</body>
</html>

View File

@ -128,5 +128,6 @@ if (PageBgEl) {
};
</script>
<link rel="stylesheet" href="[staticoso:CustomPath:Assets]/Fonts/SpaceMono/Style.css"/>
<staticoso:StaticPart:Standard/Foot.Global.html>
</body>
</html>