mirror of
https://github.com/AMNatty/Mastodon-Circles.git
synced 2024-11-24 12:07:25 -07:00
618a256002
# Conflicts: # index.html
50 lines
No EOL
2.2 KiB
HTML
50 lines
No EOL
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<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">
|
|
<body>
|
|
<script src="create-circle.js"></script>
|
|
<script src="image.js"></script>
|
|
<h1>⭕ Fedi Circle Creator</h1>
|
|
<form id="generateForm" onsubmit="(async () => await circleMain())(); return false;">
|
|
<input id="txt_mastodon_handle" type="text" placeholder="@sonnenbrandi@mieke.club">
|
|
<br><br>
|
|
<span>
|
|
<label><input type="radio" name="backend" value="detect" autocomplete="off" checked> Autodetect</label>
|
|
<label><input type="radio" name="backend" value="mastodon" autocomplete="off"> Mastodon API</label>
|
|
<label><input type="radio" name="backend" value="misskey" autocomplete="off"> Misskey API</label>
|
|
<label><input type="radio" name="backend" value="pleroma" autocomplete="off"> Pleroma API</label>
|
|
</span>
|
|
<br>
|
|
<button type="submit" id="generateButton">Generate circle</button>
|
|
</form>
|
|
<span id="outInfo"></span>
|
|
<br><br>
|
|
<!-- Canvas for the final Image -->
|
|
<canvas id="canvas" width="1000" height="1000" style="background-color: gray">
|
|
|
|
</canvas>
|
|
<br>
|
|
<!-- List of all people in Circle -->
|
|
<div id="outDiv">
|
|
<em>Click a user below to visit their profile.</em>
|
|
<h2><span id="outSelfUser"></span>'s Fedi Circle</h2>
|
|
|
|
<div id="usersDiv">
|
|
<div id="ud1" class="userSubDiv"></div>
|
|
<div id="ud2" class="userSubDiv"></div>
|
|
<div id="ud3" class="userSubDiv"></div>
|
|
</div>
|
|
</div>
|
|
<br><br><br>
|
|
<div id="credits" style="width: 100%;">
|
|
<p>Contribute on <a href="https://github.com/AMNatty/Mastodon-Circles">GitHub: AMNatty/Mastodon-Circles</a></p>
|
|
<p>Fedibird support by <a href="https://github.com/noellabo/Mastodon-Circles">noellabo</a></p>
|
|
<p>Based on <a href="https://github.com/andigandhi/Mastodon-Circles">andigandhi/Mastodon-Circles</a> </p>
|
|
</div>
|
|
<!-- Preload the background image -->
|
|
<div style="display:none;"><img id="mieke_bg" src="background.png" width="1000" height="1000" /></div>
|
|
</body>
|
|
</html> |