Friendiiverse/Source/Friendiiverse.html
2023-04-22 17:09:59 +02:00

56 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="./Style.css"/>
<script>
// Credentials hardcoding for now
var MastodonUrl = 'https://mastodon.social';
var FriendicaUrl = 'https://poliverso.org';
var FriendicaCredentials = 'redacted:redacted';
// Development
var Debug = true;
var UseFakeApi = true;
</script>
</head>
<body>
<div id="Root">
<div id="CoverView">
LOGO
Loading...
</div>
<div id="NoscriptView">
No Script!
</div>
<!--
<div id="PlazasView"></div>
<textarea id="Input"></textarea>
<button id="Post">Post</button>
<div id="ChannelView"></div>
<div id="TimelineView"></div>
<xmp id="DataView"></xmp>
-->
</div>
<div id="Bottom">
<a href="javascript:void(0);" onclick="Root.lastChild.remove();">↩️ Back</a>
<a href="https://gitlab.com/octtspacc/Friendiiverse">📜️ Source Code</a>
</div>
<script>NoscriptView.remove();</script>
<script src="./Utils.js"></script>
<script src="./Strings.js"></script>
<script src="./ApiTransform.js"></script>
<script src="./FakeApi.js"></script>
<script src="./Main.js"></script>
<script>(function(){
if (Debug && new URLSearchParams(window.location.hash).get('#Eruda')) {
var El = document.createElement('script');
El.src="https://cdn.jsdelivr.net/npm/eruda";
document.body.appendChild(El);
El.onload = function(){ eruda.init(); };
};
})();</script>
</body>
</html>