mirror of
https://gitlab.com/octtspacc/Friendiiverse
synced 2024-12-22 13:25:55 +01:00
52 lines
1.3 KiB
HTML
52 lines
1.3 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>
|
|
<main>
|
|
<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="TimelineView"></div>
|
|
<xmp id="DataView"></xmp>
|
|
</main>
|
|
<footer>
|
|
<a href="https://gitlab.com/octtspacc/Friendiiverse">Source Code</a>
|
|
</footer>
|
|
<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>
|