Mastodon-Circles/index.html

43 lines
1.9 KiB
HTML
Raw Normal View History

2022-11-19 08:56:09 -07:00
<!DOCTYPE html>
<html lang="de">
<meta charset="UTF-8">
2022-11-20 05:03:18 -07:00
<title>Trötpty - Mastodon 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>
<h3>Mastodon Circle Creator</h3>
<!-- 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 -->
2022-11-19 09:53:53 -07:00
<button id="btn_create" onClick="circle_main()">Circle Erstellen</button>
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%;">
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>
<p>Contribute on <a href="https://github.com/andigandhi/Mastodon-Circles">Github</a> </p>
</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>