mirror of
https://github.com/AMNatty/Mastodon-Circles.git
synced 2024-11-21 18:47:26 -07:00
45 lines
No EOL
2.1 KiB
HTML
45 lines
No EOL
2.1 KiB
HTML
|
|
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<meta charset="UTF-8">
|
|
<title>Fedi Circle Creator</title>
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<link rel="stylesheet" href="style.css">
|
|
<style>
|
|
</style>
|
|
<script src=""></script>
|
|
<body>
|
|
<script src="create-circle.js"></script>
|
|
<script src="image.js"></script>
|
|
<h1>Trötpty</h1>
|
|
<h3><span style="text-decoration: line-through" aria-hidden="true">Mastodon</span> Fedi Circle Creator</h3>
|
|
<!-- TODO Logo? -->
|
|
<input id="txt_mastodon_handle" type="text" onchange="document.getElementById('btn_create').style = 'display: inline;'; document.getElementById('btn_download').style = 'display: none;'" placeholder="@sonnenbrandi@mieke.club">
|
|
<br><br>
|
|
<!-- Buttons -->
|
|
<button id="btn_create" onclick="(async () => await circleMain())()">Generate circle</button>
|
|
<span id="outInfo"></span>
|
|
<a href="" id="btn_download" class="button" download="mastodon-circle.png" style="display: none;">DOWNLOAD (klappt wsl nicht)</a>
|
|
<!-- <button id="btn_download" onClick="downloadImage()" style="display: none;">DOWNLOAD</button> -->
|
|
<br><br>
|
|
<!-- Canvas for the final Image -->
|
|
<canvas id="canvas" width="1000" height="1000"></canvas>
|
|
<br>
|
|
<!-- List of all people in Circle -->
|
|
<div id="usersDiv">
|
|
<div id="ud1" class="userSubDiv"></div>
|
|
<div id="ud2" class="userSubDiv"></div>
|
|
<div id="ud3" class="userSubDiv"></div>
|
|
</div>
|
|
<br><br><br>
|
|
<div id="credits" style="width: 100%;">
|
|
<p>Contribute on <a href="https://github.com/AMNatty/Mastodon-Circles">Github</a> </p>
|
|
<p>Thanks to <a href="https://twitter.com/duiker101">Duiker101</a> for creating chirpty for Twitter</p>
|
|
<p>Original on <a href="https://github.com/andigandhi/Mastodon-Circles">Github</a> </p>
|
|
</div>
|
|
<!-- output for further projects ;) -->
|
|
<div id="outDiv" style="display: none;"></div>
|
|
<!-- Preload the background image -->
|
|
<div style="display:none;"><img id="mieke_bg" src="mieke_bg.jpg" width="1000" height="1000" /></div>
|
|
</body>
|
|
</html> |