2023-04-18 16:10:26 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
2023-04-19 00:16:35 +02:00
|
|
|
<link rel="stylesheet" href="./Style.css"/>
|
2023-04-18 16:12:12 +02:00
|
|
|
<script>
|
|
|
|
// Credentials hardcoding for now
|
2023-04-19 18:06:08 +02:00
|
|
|
var MastodonUrl = 'https://mastodon.social';
|
2023-04-18 16:12:12 +02:00
|
|
|
var FriendicaUrl = 'https://poliverso.org';
|
|
|
|
var FriendicaCredentials = 'redacted:redacted';
|
|
|
|
|
|
|
|
// Development
|
|
|
|
var Debug = true;
|
|
|
|
var UseFakeApi = true;
|
|
|
|
</script>
|
2023-04-18 16:10:26 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2023-04-20 22:08:38 +02:00
|
|
|
<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>
|
|
|
|
-->
|
2023-04-18 16:12:12 +02:00
|
|
|
</div>
|
2023-04-20 22:08:38 +02:00
|
|
|
<div id="Bottom">
|
|
|
|
<a href="https://gitlab.com/octtspacc/Friendiiverse">Source Code</a>
|
2023-04-18 16:12:12 +02:00
|
|
|
</div>
|
2023-04-19 12:18:14 +02:00
|
|
|
<script>NoscriptView.remove();</script>
|
|
|
|
<script src="./Utils.js"></script>
|
|
|
|
<script src="./Strings.js"></script>
|
2023-04-19 18:06:08 +02:00
|
|
|
<script src="./ApiTransform.js"></script>
|
|
|
|
<script src="./FakeApi.js"></script>
|
2023-04-19 00:16:35 +02:00
|
|
|
<script src="./Main.js"></script>
|
|
|
|
<script>(function(){
|
2023-04-19 18:06:08 +02:00
|
|
|
if (Debug && new URLSearchParams(window.location.hash).get('#Eruda')) {
|
2023-04-19 00:16:35 +02:00
|
|
|
var El = document.createElement('script');
|
|
|
|
El.src="https://cdn.jsdelivr.net/npm/eruda";
|
|
|
|
document.body.appendChild(El);
|
|
|
|
El.onload = function(){ eruda.init(); };
|
2023-04-18 16:12:12 +02:00
|
|
|
};
|
2023-04-19 00:16:35 +02:00
|
|
|
})();</script>
|
2023-04-18 16:10:26 +02:00
|
|
|
</body>
|
|
|
|
</html>
|