2019-12-19 03:00:17 +11:00
|
|
|
<!DOCTYPE html>
|
2019-05-06 20:10:03 +10:00
|
|
|
<html lang="@@lang@@">
|
2019-12-19 03:00:17 +11:00
|
|
|
<head>
|
|
|
|
<title>Account Manager - TheDesk</title>
|
|
|
|
<meta content="width=device-width,initial-scale=1.0" name="viewport" />
|
|
|
|
<link
|
2020-02-08 02:25:31 +11:00
|
|
|
href="../../@@node_base@@/materialize-css/dist/css/materialize.css"
|
2019-12-19 03:00:17 +11:00
|
|
|
type="text/css"
|
|
|
|
rel="stylesheet"
|
|
|
|
/>
|
|
|
|
<link href="../../css/master.css" type="text/css" rel="stylesheet" />
|
|
|
|
<link href="../../css/tl.css" rel="stylesheet" type="text/css" />
|
|
|
|
<link href="../../css/userdata.css" rel="stylesheet" type="text/css" />
|
|
|
|
<link
|
2020-02-08 02:25:31 +11:00
|
|
|
href="../../@@node_base@@/@fortawesome/fontawesome-free/css/all.min.css"
|
2019-12-19 03:00:17 +11:00
|
|
|
type="text/css"
|
|
|
|
rel="stylesheet"
|
|
|
|
/>
|
|
|
|
<link href="../../css/acct.css" rel="stylesheet" type="text/css" />
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
@@comment-start@@
|
|
|
|
<script type="text/javascript">
|
|
|
|
var _jipt = []
|
|
|
|
_jipt.push(['project', 'thedesk'])
|
|
|
|
</script>
|
|
|
|
<script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script>
|
|
|
|
@@comment-end@@
|
2020-02-08 02:25:31 +11:00
|
|
|
@@pwa@@
|
2019-12-19 03:00:17 +11:00
|
|
|
</head>
|
2019-05-19 17:39:30 +10:00
|
|
|
|
2020-05-06 19:02:14 +10:00
|
|
|
<body id="mainView" class="@@pwaClass@@">
|
2020-02-08 02:25:31 +11:00
|
|
|
<script type="text/javascript" src="../../@@node_base@@/jquery/dist/jquery.js"></script>
|
2019-12-19 03:00:17 +11:00
|
|
|
<script type="text/javascript" src="../../js/platform/first.js"></script>
|
|
|
|
<script
|
|
|
|
type="text/javascript"
|
2020-02-08 02:25:31 +11:00
|
|
|
src="../../@@node_base@@/materialize-css/dist/js/materialize.js"
|
2019-12-19 03:00:17 +11:00
|
|
|
></script>
|
|
|
|
<script type="text/javascript" src="main.js"></script>
|
|
|
|
<script
|
|
|
|
type="text/javascript"
|
2020-02-08 02:25:31 +11:00
|
|
|
src="../../@@node_base@@/sweetalert2/dist/sweetalert2.all.min.js"
|
2019-12-19 03:00:17 +11:00
|
|
|
></script>
|
|
|
|
<script>
|
|
|
|
var misskeytoken = false
|
|
|
|
</script>
|
|
|
|
<script type="text/javascript" src="../../js/common/time.js"></script>
|
|
|
|
<div class="hide-first">
|
|
|
|
<a href="index.html" class="btn waves-effect orange nex" style="width:100%; max-width:200px;"
|
|
|
|
>@@back@@</a
|
|
|
|
><br />
|
|
|
|
<h5>@@list@@</h5>
|
|
|
|
<div id="acct-list"></div>
|
|
|
|
<div class="divider"></div>
|
|
|
|
</div>
|
2020-06-13 02:59:05 +10:00
|
|
|
<div class="hide-second">
|
|
|
|
<a href="setting.html">@@haveExported@@</a>
|
|
|
|
</div>
|
2019-12-19 03:00:17 +11:00
|
|
|
<div>
|
|
|
|
<h5>@@add@@</h5>
|
|
|
|
<br />
|
|
|
|
<div id="add">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col s8">
|
2020-04-22 00:56:04 +10:00
|
|
|
@@addAcct@@<br />
|
2019-12-19 03:00:17 +11:00
|
|
|
<input type="text" id="url" style="width:70%" placeholder="ex)mstdn.jp" />
|
|
|
|
<div id="ins-suggest"></div>
|
2020-04-22 00:56:04 +10:00
|
|
|
<button class="btn waves-effect" onclick="instance()">Login</button><br />
|
2020-05-06 19:02:14 +10:00
|
|
|
<div class="pwa">
|
|
|
|
@@codesetupwarn@@<br />
|
|
|
|
<label>
|
|
|
|
<input type="checkbox" class="filled-in" id="linux" />
|
|
|
|
<span>@@codesetup@@</span>
|
|
|
|
</label>
|
|
|
|
<br />
|
|
|
|
</div>
|
2019-12-19 03:00:17 +11:00
|
|
|
<label>
|
|
|
|
<input type="checkbox" class="filled-in" id="misskey" />
|
|
|
|
<span>@@thisismisskey@@</span> </label
|
|
|
|
><br />
|
|
|
|
</div>
|
2020-04-29 16:08:42 +10:00
|
|
|
<div class="col s4 scr" aria-hidden="true">
|
2019-12-19 03:00:17 +11:00
|
|
|
<span style="font-family:Open Sans;">Supports</span>
|
|
|
|
<div id="support" class="collection transparent"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="auth" style="display:none">
|
|
|
|
@@codepastewarn@@<br />
|
|
|
|
<input type="text" id="code" placeholder="@@codepaste@@" required />
|
|
|
|
<button class="btn waves-effect" onclick="code()">Auth</button><br />
|
|
|
|
<br />
|
|
|
|
<a onclick="atSetup()" class="pointer">@@accessTokenSetup@@</a>
|
2020-04-29 16:08:42 +10:00
|
|
|
<div id="compt" style="display:none" class="scr">
|
2019-12-19 03:00:17 +11:00
|
|
|
<h5>ログイン前に必ずご確認ください</h5>
|
|
|
|
<span id="compt-instance"></span>はバージョンが<span id="compt-ver"></span
|
|
|
|
>のため以下の機能がご利用いただけません。
|
|
|
|
<span id="compt-warn" style="display:none"
|
|
|
|
>また、このインスタンスはMastodonではなくそのAPI上の互換実装であり、TheDeskでは利用を想定していないため非保証となります。</span
|
|
|
|
>
|
|
|
|
<ul id="compt-list"></ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="misskeylogin" style="display:none">
|
|
|
|
<h5>AppSecret</h5>
|
|
|
|
@@misskeylogin@@<br />
|
|
|
|
<input type="hidden" id="misskey-url" />
|
|
|
|
<input type="text" id="misskey-key" placeholder="@@codepaste@@" required />
|
|
|
|
<button class="btn waves-effect" onclick="misskeyLogin()">Auth</button><br />
|
|
|
|
<br />
|
|
|
|
<a onclick="atSetup('misskey')" class="pointer">@@accessTokenSetup@@</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="hide-first">
|
|
|
|
<h5>@@mainacct@@</h5>
|
|
|
|
<div class="input-field" style="width:300px">
|
|
|
|
<span data-trans="your_acct">@@selacct@@</span>
|
|
|
|
<br />
|
|
|
|
<select
|
|
|
|
id="main-acct-sel"
|
|
|
|
class="acct-sel"
|
|
|
|
style="color:black"
|
|
|
|
onchange="mainacct()"
|
|
|
|
></select>
|
|
|
|
<label></label>
|
|
|
|
</div>
|
|
|
|
<ul id="domain-list" class="collection transparent"></ul>
|
|
|
|
<div id="instance-data">
|
|
|
|
Some instance data by
|
|
|
|
<a href="https://instances.social" target="_blank">instances.social API</a><br />
|
|
|
|
<h5 id="ins-title"></h5>
|
|
|
|
Administered by:<a id="ins-admin"></a><br />
|
|
|
|
<span id="ins-desc"></span><br />
|
|
|
|
<img src="../../img/loading.svg" id="ins-prof" width="200" /><br />
|
|
|
|
<br />
|
|
|
|
@@domain@@:<span id="ins-name"></span><br />
|
|
|
|
@@connect@@:<span id="ins-connect"></span>@@ko@@<br />
|
|
|
|
@@toots@@:<span id="ins-toot"></span>@@ko@@<br />
|
|
|
|
@@users@@:<span id="ins-user"></span>@@users@@<br />
|
|
|
|
@@safety@@:<span id="ins-per"></span>%<br />
|
|
|
|
@@ver@@:<span id="ins-ver"></span>@<span id="ins-upd"></span><br />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script type="text/javascript" src="../../js/ui/theme.js"></script>
|
2020-02-08 02:35:13 +11:00
|
|
|
<script type="text/javascript" src="../../js/ui/tips.js"></script>
|
2019-12-19 03:00:17 +11:00
|
|
|
<script type="text/javascript" src="../../js/platform/end.js"></script>
|
|
|
|
<script type="text/javascript" src="../../js/common/sha256.js"></script>
|
2020-02-08 02:25:31 +11:00
|
|
|
<script type="text/javascript" src="../../@@node_base@@/lodash/lodash.min.js"></script>
|
2019-12-19 03:00:17 +11:00
|
|
|
<script type="text/javascript" src="../../js/login/instance.js"></script>
|
|
|
|
<script type="text/javascript" src="../../js/login/manager.js"></script>
|
|
|
|
<script type="text/javascript" src="../../js/tl/date.js"></script>
|
2020-05-06 19:02:14 +10:00
|
|
|
<script>$('body').addClass(localStorage.getItem('platform'))</script>
|
2019-12-19 03:00:17 +11:00
|
|
|
</body>
|
|
|
|
</html>
|