2018-01-28 23:22:43 +11:00
|
|
|
<!doctype html>
|
2018-07-30 03:35:29 +10:00
|
|
|
<html lang="en">
|
2018-01-28 23:22:43 +11:00
|
|
|
<head>
|
|
|
|
<title>Account Manager - TheDesk</title>
|
2018-02-10 02:43:15 +11:00
|
|
|
<meta content="width=device-width,initial-scale=1.0" name="viewport">
|
2018-01-28 23:22:43 +11:00
|
|
|
<link href="./css/materialize.css" type="text/css" rel="stylesheet">
|
2018-07-07 03:51:48 +10:00
|
|
|
<link href="./css/themes.css" type="text/css" rel="stylesheet">
|
2018-01-28 23:22:43 +11:00
|
|
|
<link href="./css/master.css" type="text/css" rel="stylesheet">
|
|
|
|
<link href='./css/font-awesome.css' rel='stylesheet' type='text/css'>
|
|
|
|
<link href='./css/tl.css' rel='stylesheet' type='text/css'>
|
|
|
|
<link href='./css/userdata.css' rel='stylesheet' type='text/css'>
|
|
|
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons|Open+Sans:300" rel="stylesheet">
|
|
|
|
<style>.acct{display:flex; justify-content:space-around;}
|
2018-05-20 16:17:10 +10:00
|
|
|
.card{width:400px; background-color: #9e9e9e; margin:10px; }
|
2018-03-18 02:00:53 +11:00
|
|
|
body,html{overflow-y: scroll;}
|
2018-05-20 16:17:10 +10:00
|
|
|
#acct-list{display:flex; flex-wrap:wrap; color:white; align-items: flex-start}
|
|
|
|
.lts{font-size:150%}
|
2018-06-18 00:26:45 +10:00
|
|
|
.colorsel{ display:flex; }
|
|
|
|
.card .colorsel div:not(.exc){width:20px;height:20px;}
|
|
|
|
.card .colorsel div.exc{width:40px;height:20px;}
|
2018-01-28 23:22:43 +11:00
|
|
|
</style>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
</head>
|
|
|
|
<body id="mainView">
|
|
|
|
<script type="text/javascript" src="./js/common/jquery.js"></script>
|
|
|
|
<script type="text/javascript" src="./js/platform/first.js"></script>
|
|
|
|
<script type="text/javascript" src="./js/common/materialize.js"></script>
|
2018-07-29 17:37:54 +10:00
|
|
|
<script type="text/javascript" src="./js/lang/lang.js"></script>
|
|
|
|
<script>
|
2018-07-29 17:44:03 +10:00
|
|
|
var lang="en";
|
2018-07-29 17:37:54 +10:00
|
|
|
</script>
|
2018-01-28 23:22:43 +11:00
|
|
|
<script type="text/javascript" src="./js/ui/tips.js"></script>
|
|
|
|
<script type="text/javascript" src="./js/common/time.js"></script>
|
|
|
|
<script type="text/javascript" src="./js/common/modal.js"></script>
|
2018-07-30 03:35:29 +10:00
|
|
|
<a href="index.html" class="btn waves-effect orange nex" style="width:100%; max-width:200px;">Back</a><br>
|
|
|
|
<h5>List of accounts</h5>
|
2018-05-20 16:17:10 +10:00
|
|
|
<div id="acct-list"></div>
|
2018-01-28 23:22:43 +11:00
|
|
|
<div class="divider"></div>
|
2018-07-30 03:35:29 +10:00
|
|
|
<h5>Add an account</h5><br>
|
2018-01-28 23:22:43 +11:00
|
|
|
<div id="add">
|
2018-04-01 00:55:47 +11:00
|
|
|
<div class="row">
|
|
|
|
<div class="col s6">
|
2018-05-20 16:17:10 +10:00
|
|
|
<input type="text" id="url" style="width:70%" placeholder="ex)mstdn.jp">
|
2018-04-01 00:55:47 +11:00
|
|
|
<div id="ins-suggest"></div>
|
2018-07-30 03:35:29 +10:00
|
|
|
Check if TheDesk is not working on Windows, you want to login Pleroma instance.<br>
|
2018-04-01 00:55:47 +11:00
|
|
|
<input type="checkbox" class="filled-in" id="linux" />
|
2018-07-30 03:35:29 +10:00
|
|
|
<label for="linux">Code setup</label><br>
|
2018-04-07 14:31:09 +10:00
|
|
|
<button class="btn waves-effect" onclick="instance()">Login</button><br>
|
2018-04-01 00:55:47 +11:00
|
|
|
</div>
|
|
|
|
<div class="col s6">
|
|
|
|
<span style="font-family:Open Sans;">Supports</span>
|
|
|
|
<div id="support" class="collection transparent"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-07-30 03:35:29 +10:00
|
|
|
<h5>Main an account</h5>
|
|
|
|
<div class="input-field" style="width:300px"><span data-trans="your_acct">Select an account</span>
|
2018-05-20 16:17:10 +10:00
|
|
|
<br>
|
|
|
|
<select id="main-acct-sel" class="acct-sel" style="color:black" onchange="mainacct()"></select>
|
|
|
|
<label></label>
|
|
|
|
</div>
|
2018-01-28 23:22:43 +11:00
|
|
|
</div>
|
|
|
|
<div id="auth" style="display:none">
|
2018-07-30 03:35:29 +10:00
|
|
|
Paste the code and close browser.<br>
|
|
|
|
<input type="text" id="code" placeholder="Code">
|
|
|
|
<button class="btn waves-effect" onclick="code()">Auth</button><br>
|
2018-01-28 23:22:43 +11:00
|
|
|
</div>
|
2018-07-30 03:35:29 +10:00
|
|
|
Instance data by <a href="https://instances.social" target="_blank">instances.social API</a><br>
|
2018-01-28 23:22:43 +11:00
|
|
|
<img src="./img/loading.svg" id="ins-prof" width="200"><br>
|
2018-07-30 03:35:29 +10:00
|
|
|
@<span id="ins-upd"></span><br>
|
|
|
|
Domain:<span id="ins-name"></span><br>
|
|
|
|
Federated instances:<span id="ins-connect"></span><br>
|
|
|
|
Toots:<span id="ins-toot"></span><br>
|
|
|
|
Users:<span id="ins-user"></span>Users<br>
|
|
|
|
Connection:<span id="ins-per"></span>%<br>
|
|
|
|
Mastodon version:<span id="ins-ver"></span><br>
|
2018-02-17 00:08:43 +11:00
|
|
|
<script type="text/javascript" src="./js/ui/theme.js"></script>
|
2018-03-15 06:42:48 +11:00
|
|
|
<script type="text/javascript" src="./js/platform/end.js"></script>
|
2018-02-09 03:43:11 +11:00
|
|
|
<script type="text/javascript" src="./js/login/instance.js"></script>
|
2018-06-18 00:26:45 +10:00
|
|
|
<script type="text/javascript" src="./js/login/manager.js"></script>
|
2018-03-15 06:42:48 +11:00
|
|
|
<script type="text/javascript" src="./js/tl/date.js"></script>
|