share-to-mastodon/settings.html

76 lines
3.6 KiB
HTML
Raw Permalink Normal View History

2022-12-18 19:47:46 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/dark.css" rel="stylesheet" media="(prefers-color-scheme: dark)">
<style>
body {
max-width: 450px;
}
2023-02-13 18:28:09 +01:00
select {
overflow: auto;
}
2022-12-18 19:47:46 +01:00
</style>
</head>
2023-02-18 00:26:01 +01:00
<body class="user-select-none">
2022-12-18 19:47:46 +01:00
<div class="container-fluid">
2023-02-13 18:28:09 +01:00
<!-- Add a server -->
<label for="mastodon-server-text" class="form-label">Add a server</label>
<div class="input-group input-group-sm">
2023-02-10 07:30:26 +01:00
<input type="text" class="form-control" id="mastodon-server-text" placeholder="yourserver.social" aria-label="Server domain" aria-describedby="server-add-btn">
<button class="btn btn-outline-secondary" type="button" id="server-add-btn">Add</button>
2022-12-18 19:47:46 +01:00
</div>
2023-02-18 00:26:01 +01:00
<small class="text-muted">Mastodon forks or alternative servers, like Wildebeest or PixelFed, may not be compatible.</small>
2023-02-13 18:28:09 +01:00
<!-- Server select -->
<div class="mt-3 mb-1">
<label for="mastodon-server-list" class="form-label">Saved servers</label>
<select id="mastodon-server-list" class="form-select" size="5" aria-label="Saved servers list"></select>
</div>
2023-02-10 07:30:26 +01:00
<button class="btn btn-sm btn-outline-secondary w-100 mb-3" type="button" id="server-remove-btn">Remove selected</button>
2023-02-13 18:28:09 +01:00
<!-- Other options -->
2022-12-18 23:22:16 +01:00
<div class="mb-3">
2023-02-13 18:28:09 +01:00
<label class="form-label">Other settings</label>
2022-12-18 23:22:16 +01:00
<button type="button" class="btn btn-sm btn-primary w-100" id="mastodon-keyboard-shortcut">Change keyboard shortcut</button>
<div class="collapse mt-1" id="firefoxShortcutCollapse">
<div class="card card-body">
Open about:addons in a new tab, click the settings gear button, then select "Manage extension shortcuts."
</div>
</div>
2022-12-18 23:22:16 +01:00
</div>
2022-12-18 19:47:46 +01:00
<hr>
<p>If you find Share to Mastodon useful, please donate to support continued development. It would mean a lot!</p>
<div class="row mb-3">
<div class="col-6">
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=4SZVSMJKDS35J&lc=US&item_name=Share%20to%20Mastodon%20Donation&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted" target="_blank">
<button type="button" class="btn btn-sm btn-success w-100">Donate via PayPal</button>
</a>
</div>
<div class="col-6">
<a href="https://cash.app/$corbdav" target="_blank">
<button type="button" class="btn btn-sm btn-success w-100">Donate via Cash App</button>
</a>
</div>
</div>
<hr>
2022-12-20 20:28:17 +01:00
<a href="https://github.com/corbindavenport/share-to-mastodon" target="_blank" class="d-block mb-3">
2022-12-18 19:47:46 +01:00
<button type="button" class="btn btn-sm btn-primary w-100">Open GitHub repository</button>
</a>
<a href="https://discord.com/invite/59wfy5cNHw" target="_blank" class="d-block mb-3">
<button type="button" class="btn btn-sm btn-primary w-100">Join Discord server</button>
</a>
<a href="https://toot.community/@corbin" target="_blank" class="d-block mb-3">
<button type="button" class="btn btn-sm btn-primary w-100">Follow on Mastodon</button>
</a>
</div>
2023-02-10 07:30:26 +01:00
<script src="js/bootstrap.js"></script>
2022-12-18 19:47:46 +01:00
<script src="js/settings.js"></script>
</body>
2023-02-10 07:30:26 +01:00
</html>