mirror of
https://gitlab.com/octtspacc/Friendiiverse
synced 2024-12-22 21:27:55 +01:00
55 lines
1.4 KiB
HTML
55 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;
|
|
</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="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>
|