50 lines
1.5 KiB
HTML
50 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title>Share to Mastodon</title>
|
|
<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>
|
|
.list-group-item img {
|
|
height: 1.3em;
|
|
width: 1.3em;
|
|
margin: 0.2em 0;
|
|
margin-right: 0.5em;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<!-- UI for no servers saved -->
|
|
<div id="server-warning" class="container text-center p-5 d-none">
|
|
You don't have any servers saved! Why don't you <a href="#">add some</a>?
|
|
</div>
|
|
<!-- Server selection UI -->
|
|
<div id="server-list" class="list-group mb-2 list-group-flush border-bottom d-none">
|
|
<li class="list-group-item list-group-item-dark">
|
|
Select a server
|
|
<div class="float-end">
|
|
<a href="#" target="_blank">
|
|
Edit servers
|
|
</a>
|
|
</div>
|
|
</li>
|
|
</div>
|
|
<!-- Initial loading UI -->
|
|
<div id="server-loading" class="text-center p-5 d-none">
|
|
<div class="spinner-border mb-3" role="status">
|
|
<span class="visually-hidden">Loading...</span>
|
|
</div>
|
|
<p>You are being redirected to the selected server, please wait.</p>
|
|
</div>
|
|
|
|
<script src="js/bootstrap.js"></script>
|
|
<script src="js/share.js"></script>
|
|
|
|
</body>
|
|
|
|
</html> |