Friendiiverse/App/Friendiiverse.html

65 lines
1.8 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 = false;
</script>
<script data-build-json="true">
var Assets = {
ImgSample: "./Sample.jpg",
};
</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>
<button onclick="ManageSettings();">⚙️ Settings</button>
<button>Profile</button>
<a href="https://gitlab.com/octtspacc/Friendiiverse">📜️ Source Code</a>
<span>(Pre-Alpha Development Version)</span>
</div>
<script>NoscriptView.remove();</script>
<script src="./Polyfill.js"></script>
<script src="./Lib/cleanHTML.js"></script>
<script src="./Utils.js"></script>
<script src="./Strings.js"></script>
<script src="./ApiTransform.js"></script>
<script src="./ApiFake.js"></script>
<script src="./Net.js"></script>
<script src="./Elems.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>