Mastodon-Circles/index.html

45 lines
2.1 KiB
HTML
Raw Normal View History

2022-11-19 08:56:09 -07:00
<!DOCTYPE html>
<html lang="de">
<meta charset="UTF-8">
2023-07-19 17:16:22 -06:00
<title>Fedi Circle Creator</title>
2022-11-19 08:56:09 -07:00
<meta name="viewport" content="width=device-width,initial-scale=1">
2022-11-19 09:53:53 -07:00
<link rel="stylesheet" href="style.css">
2022-11-19 08:56:09 -07:00
<style>
</style>
<script src=""></script>
<body>
<script src="create-circle.js"></script>
2022-11-19 12:01:33 -07:00
<script src="image.js"></script>
2022-11-20 05:03:18 -07:00
<h1>Trötpty</h1>
2023-07-19 17:20:51 -06:00
<h3><span style="text-decoration: line-through" aria-hidden="true">Mastodon</span> Fedi Circle Creator</h3>
2022-11-20 05:03:18 -07:00
<!-- TODO Logo? -->
2022-11-19 14:14:44 -07:00
<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">
2022-11-20 05:03:18 -07:00
<br><br>
<!-- Buttons -->
2023-07-19 17:16:22 -06:00
<button id="btn_create" onclick="(async () => await circleMain())()">Generate circle</button>
<span id="outInfo"></span>
2022-11-28 12:43:16 -07:00
<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> -->
2022-11-20 05:03:18 -07:00
<br><br>
<!-- Canvas for the final Image -->
<canvas id="canvas" width="1000" height="1000"></canvas>
2022-11-20 06:51:58 -07:00
<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>
2022-11-20 07:17:18 -07:00
<div id="credits" style="width: 100%;">
2023-07-19 17:16:22 -06:00
<p>Contribute on <a href="https://github.com/AMNatty/Mastodon-Circles">Github</a> </p>
2022-11-20 06:51:58 -07:00
<p>Thanks to <a href="https://twitter.com/duiker101">Duiker101</a> for creating chirpty for Twitter</p>
2023-07-19 17:16:22 -06:00
<p>Original on <a href="https://github.com/andigandhi/Mastodon-Circles">Github</a> </p>
2022-11-20 06:51:58 -07:00
</div>
2022-11-20 05:03:18 -07:00
<!-- 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>
2022-11-19 08:56:09 -07:00
</body>
</html>