Friendiiverse/Source/Friendiiverse.html
2023-04-23 00:48:14 +02:00

54 lines
1.4 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;
var UserData = {};
</script>
</head>
<body>
<div id="Root">
<div id="CoverView">
LOGO
Loading...
</div>
<div id="NoscriptView">
No Script!
</div>
<!--
<div id="PlazasView"></div>
<xmp id="DataView"></xmp>
-->
</div>
<div id="Bottom">
<button onclick="Root.lastChild.remove();">↩️ Back</button>
<button onclick="ComposeNote();">Note</button>
<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>