thedesk/app/view/make/index.sample.html

1246 lines
59 KiB
HTML
Raw Normal View History

2018-07-28 07:25:12 +10:00
<!doctype html>
2019-05-06 20:10:03 +10:00
<html lang="@@lang@@">
2018-07-28 07:25:12 +10:00
<head>
2019-08-11 03:52:32 +10:00
<link href="../../css/themes.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="../../js/ui/theme.js"></script>
2018-07-28 07:25:12 +10:00
<meta content="width=device-width,initial-scale=1.0" name="viewport">
2019-06-22 01:22:45 +10:00
<link href="../../node_modules/materialize-css/dist/css/materialize.css" type="text/css" rel="stylesheet">
2019-08-30 02:46:04 +10:00
<link href="../../node_modules/jquery-ui-dist/jquery-ui.min.css" type="text/css" rel="stylesheet">
2019-04-13 13:41:58 +10:00
<link href="../../css/tl.css" rel="stylesheet" type="text/css">
<link href="../../css/userdata.css" rel="stylesheet" type="text/css">
<link href="../../css/post.css" rel="stylesheet" type="text/css">
2018-09-12 02:49:41 +10:00
<link href="../../css/master.css" type="text/css" rel="stylesheet">
2019-04-13 13:41:58 +10:00
<link href="../../css/sort.css" rel="stylesheet" type="text/css">
2019-08-11 03:52:32 +10:00
<link href="../../node_modules/@fortawesome/fontawesome-free/css/all.min.css" type="text/css" rel="stylesheet">
2018-07-28 07:25:12 +10:00
<meta charset="utf-8">
2019-05-06 20:10:03 +10:00
@@comment-start@@
2019-02-05 13:33:32 +11:00
<script type="text/javascript">
var _jipt = [];
_jipt.push(['project', 'thedesk']);
</script>
<script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script>
2019-05-06 20:10:03 +10:00
@@comment-end@@
2018-07-28 07:25:12 +10:00
</head>
2019-05-06 20:10:03 +10:00
2018-07-28 07:25:12 +10:00
<body>
2019-05-06 20:10:03 +10:00
<script>
var ver = "@@versionLetter@@";
2019-08-26 01:09:01 +10:00
var gitHash = "@@gitHash@@"
2019-05-06 20:10:03 +10:00
//betaを入れるとバージョンチェックしない
//var ver="beta";
var acct_id = 0;
var tlid = 0;
</script>
<textarea id="copy" style="top:-100px; position:fixed;"></textarea>
2019-05-07 01:42:06 +10:00
<canvas id="canvas" style="top:-100px; position:fixed;width:32px;height:32px" width="32" height="32"></canvas>
2019-05-06 20:10:03 +10:00
<div id="tl">
<!--TL-->
2019-09-13 00:25:27 +10:00
<!--スターター-->
<div id="start">
2019-10-05 03:23:47 +10:00
<div id="start-content">
<h3 class="center">@@demoBottomBtns@@</h3>
2019-09-13 00:25:27 +10:00
@@lookAtBottom@@
<div id="demobottom">
2019-10-05 03:23:47 +10:00
<button class="btn waves-effect"
2019-09-13 00:25:27 +10:00
style="width: 300px;height: 2.5rem;line-height: 0;margin: 0; background-color: var(--accentbtn);">
<i class="material-icons"
style="position: relative; top: 5px; font-size: 1.5rem; text-align: center; margin-right: 10px;">edit</i>@@toot@@
</button>
2019-10-05 03:23:47 +10:00
<div class="leftside reverse" id="demogroup">
<div class="btnsgroup" style="margin-left: 5px;">
<a href="#" class="nex waves-effect">
<i class="material-icons nex big-icon"
title="@@acctMan@@(Ctrl+Shift+M)">account_circle</i>
</a>
<a href="#" class="nex waves-effect">
<i class="material-icons nex" title="@@setting@@(Ctrl+Shift+S)">settings</i>
</a>
<a class="nex waves-effect">
<i class="material-icons" title="@@nanoDes@@TheDesk Nano">remove_from_queue</i>
</a>
<aside class="nex waves-effect" id="list-tgl">
<i class="material-icons" title="@@menu@@">apps</i>
</a>
</div>
2019-09-13 00:25:27 +10:00
</div>
</div><br>
2019-10-05 03:23:47 +10:00
<i class="material-icons nex big-icon">account_circle</i>: @@acctMan@@<br>  @@acctManDesc@@
<hr>
<i class="material-icons nex">settings</i>: @@setting@@<br>  @@settingDesc@@
<hr>
<i class="material-icons nex">remove_from_queue</i>: TheDesk Nano @@nanoDes@@<br>  @@nanoDescPlus@@
<hr>
2019-09-13 00:25:27 +10:00
<i class="material-icons nex">apps</i>: @@menu@@<br>  @@menuDesc@@<br>
<br>
<button class="btn waves-effect" onclick="closeStart()" style="width: 300px;">@@close@@</button>
</div>
</div>
2019-05-06 20:10:03 +10:00
<!--ドラッグハンドラ-->
<div id="drag">
2019-09-13 00:25:27 +10:00
<div id="drag-content">@@draghere@@
2019-05-06 20:10:03 +10:00
<br>
2019-09-13 00:25:27 +10:00
<button class="btn waves-effect" onclick="closedrop()">@@close@@</button>
2019-05-06 20:10:03 +10:00
</div>
</div>
</div>
<div id="post-box" class="z-depth-5">
<div id="post-bar" class="drag-bar"><span id="unreact">@@post-new@@</span><span id="addreact"
class="hide">Reaction</span></div>
<!--トゥートボックス-->
<div id="left-side">
<div class="row" style="margin-bottom:0;">
</span>
<div class="" style="float:left;">
2019-09-01 00:35:18 +10:00
<a onclick="profShow()" style="vertical-align:-1.7rem;" class="pointer mize">
2019-05-06 20:10:03 +10:00
<img src="../../img/missing.svg" id="acct-sel-prof" title="@@showSelectProf@@(Ctrl+Shift+P)"
data-trans-title="post_box_prof" width="24px">
</a>
</div>
2019-09-01 00:35:18 +10:00
<div class="input-field mize" style="float:left; width:calc(100% - 24px); margin-top:0;">
2019-05-06 20:10:03 +10:00
<select id="post-acct-sel" class="acct-sel" onchange="mdCheck()"></select>
</div>
<span class="cancel">
<i class="material-icons waves-effect" onclick="hide()" title="@@closeThisBox@@(X)"
data-trans-title="post_box_close">cancel</i>
</span>
<!--Markdown-->
<div class="row" style="margin-bottom:0">
<div class="markdown mize hide">
<div class="col s12">
<i class="material-icons pointer setting waves-effect" onclick="tagsel('b')"
title="太字(Ctrl+B)テキストボックス内を選択してから押すと囲みます。">format_bold</i>
<i class="material-icons pointer setting waves-effect" onclick="tagsel('i')"
title="斜字(Ctrl+I)テキストボックス内を選択してから押すと囲みます。">format_italic</i>
<i class="material-icons pointer setting waves-effect" onclick="tagsel('u')"
title="下線(Ctrl+U)テキストボックス内を選択してから押すと囲みます。">format_underlined</i>
<i class="material-icons pointer setting waves-effect" onclick="tagsel('s')"
title="取り消し(Ctrl+S)テキストボックス内を選択してから押すと囲みます。">strikethrough_s</i>
<i class="material-icons pointer setting waves-effect" onclick="markdown('>','no','yes')"
title="引用">format_quote</i>
<i class="material-icons pointer setting waves-effect" onclick="markdown('#','no','yes')"
title="見出し">short_text</i>
<i class="material-icons pointer setting waves-effect" onclick="markdown('`','yes','no')"
title="コード挿入 テキストボックス内を選択してから押すと囲みます。">code</i>
<i class="material-icons pointer setting waves-effect" onclick="markdown('- ','yes','yes')"
title="箇条書きリスト">format_list_bulleted</i>
<i class="material-icons pointer setting waves-effect" onclick="markdown('1. ','yes','yes')"
title="番号付きリスト">format_list_numbered</i>
2019-05-19 17:39:30 +10:00
<i class="pointer setting fa fa-subscript waves-effect"
onclick="markdown('__','yes','no','before')" title="下付き文字 テキストボックス内を選択してから押すと囲みます。"
style="font-size:1.5rem"></i>
<i class="pointer setting fa fa-superscript waves-effect"
onclick="markdown('_','yes','no','before')" title="上付き文字 テキストボックス内を選択してから押すと囲みます。"
style="font-size:1.5rem"></i>
2019-05-06 20:10:03 +10:00
<i class="material-icons pointer setting waves-effect" onclick="tagsel('spin')"
title="回転 テキストボックス内を選択してから押すと囲みます。">autorenew</i>
<i class="material-icons pointer setting waves-effect" onclick="tagsel('pulse')"
title="点滅 テキストボックス内を選択してから押すと囲みます。">flare</i>
<i class="material-icons pointer setting waves-effect" onclick="tagsel('flip=vertical')"
title="上下反転 テキストボックス内を選択してから押すと囲みます。">swap_vert</i>
<i class="material-icons pointer setting waves-effect" onclick="tagsel('flip=horizontal')"
title="左右反転 テキストボックス内を選択してから押すと囲みます。">swap_horiz</i>
<span class="sml gray pointer waves-effect">
<a onclick="mdToggle()">Markdownエディタを隠す</a>
</span>
<br>
<i class="material-icons pointer setting waves-effect" onclick="tagsel('size')"
title="文字サイズ変更 テキストボックス内を選択してから押すと囲みます。">format_size</i>
<input id="size" style="width: calc(50% - 20px); margin: 0; height: 24px;" value="12">px
<i class="material-icons pointer setting waves-effect" onclick="tagsel('colorhex')"
title="文字色変更 テキストボックス内を選択してから押すと囲みます。">color_lens</i>
<input id="colorhex" style="width: calc(50% - 50px); margin: 0; height: 24px;" type="color">
<br>
2019-05-19 17:39:30 +10:00
<i class="material-icons pointer setting waves-effect" onclick="markdownLink()"
title="リンク挿入">link</i>
<input id="linkt" style="width: calc(50% - 20px); margin: 0; height: 24px;"
placeholder="リンクテキスト">&nbsp;
<input id="link2" style="width: calc(50% - 20px); margin: 0; height: 24px;"
placeholder="リンクアドレス">
2019-05-06 20:10:03 +10:00
<br>
<i class="material-icons pointer setting waves-effect" onclick="markdownImage()"
title="インライン画像挿入">image</i>
2019-05-19 17:39:30 +10:00
<input id="image" style="width: calc(50% - 20px); margin: 0; height: 24px;"
placeholder="代替テキスト">&nbsp;
<input id="image2" style="width: calc(50% - 20px); margin: 0; height: 24px;"
placeholder="画像アドレス">
2019-05-06 20:10:03 +10:00
</div>
</div>
<div class="input-field col s12" id="preview-field" style="margin-top: 0;">
<div id="md-preview">
</div>
<span class="sml gray pointer">
<a onclick="previewEdit()">Edit</a>
</span>
</div>
2019-09-01 00:35:18 +10:00
<div class="input-field col s12" id="toot-field" style="margin-top: 0;margin-bottom: 0;">
2018-07-28 07:25:12 +10:00
2019-05-06 20:10:03 +10:00
<textarea id="textarea" class="materialize-textarea unmize" style="margin-bottom:0;"
data-length="500"></textarea>
<label for="textarea" data-trans="toot">@@toot@@</label>
<br>
<span class="sml gray pointer markdown mize" id="preview-btn">
<a onclick="preview()">Preview</a>
</span>
<span class="sml gray pointer anti-markdown mize">
<a onclick="mdToggle()">Markdownエディタを表示</a>
</span>
</div>
<div class="col s12 mize" style="margin-top: 0; display:flex; justify-content: space-between">
<i class="waves-effect gray material-icons" id="nsfw" title="@@nsfwDes@@"
onclick="nsfw()">visibility_off</i>
2019-06-22 01:22:45 +10:00
<i class="waves-effect gray material-icons purple-text dropdown-trigger" data-target="dropdown1"
id="vis-icon">public</i>
2019-05-06 20:10:03 +10:00
<a class="waves-effect gray" id="cw" onclick="cw()" title="@@cwDes@@">CW</a>
<span><span id="imgup"></span><span id="imgsel"><i class="waves-effect material-icons gray"
onclick="fileselect()" title="@@selfile@@">photo_library</i></span></span>
<i class="waves-effect gray material-icons" onclick="emojiToggle()" id="emojibtn"
title="@@insertEmoji@@">tag_faces</i>
2019-06-07 02:11:04 +10:00
<i class="waves-effect gray material-icons dropdown-trigger"
data-target="dropdown2">more_vert</i>
2019-05-06 20:10:03 +10:00
<i class="material-icons nex gray waves-effect" title="@@clearToot@@(Ctrl+Shit+C)"
data-trans-title="post_box_clear" id="clear">clear</i>
</div>
<div class="col s12 mize" style="margin-bottom:5px; padding:0;">
<div id="taglist"></div>
<div id="preview" class="mize"></div>
<span class=" sml mize"><span data-trans="reply">@@replyMode@@</span>:
<span id="rec">@@no@@</span>/<span data-trans="file">@@temp@@</span>:
2019-09-01 02:46:42 +10:00
<span id="mec">@@nothing@@</span>/@@poll@@:<span id="pollsta">@@no@@</span>
<span id="vis" class="hide">public</span>
2019-05-06 20:10:03 +10:00
</span>
<br>
<input type="text" id="cw-text" placeholder="@@cwtext@@" class="mize" style="margin:0">
<div id="sch-box">@@postat@@<br><span class="sml">@@scheduleWarn@@</span><br>
2019-05-19 17:39:30 +10:00
<input type="datetime-local" id="sch-date" placeholder="@@schedule@@" class="datepicker"
style="margin:0">
2019-05-06 20:10:03 +10:00
</div>
</div>
</div>
<!-- 公開範囲 Dropdown Structure -->
2019-06-07 02:11:04 +10:00
<ul id="dropdown1" class="dropdown-content">
2019-05-19 17:39:30 +10:00
<li style="font-size: 16px; display: block; line-height: 22px; padding: 14px 16px;">@@selectVis@@
</li>
2019-05-06 20:10:03 +10:00
<li>
<a onclick="vis('public')">@@publicJP@@(Public)</a>
</li>
<li>
<a onclick="vis('unlisted')">@@unlistedJP@@(Unlisted)</a>
</li>
<li>
<a onclick="vis('private')" id="private-button">@@privateJP@@(Private)</a>
</li>
<li id="limited-button" class="hide">
<a onclick="vis('limited')">限定公開(Limited)</a>
</li>
<li id="local-button" class="hide">
<a onclick="vis('local')">@@localJP@@(Local)</a>
</li>
<li>
<a onclick="vis('direct')" class="disabled direct">@@directJP@@(Direct)</a>
</li>
</ul>
<!-- その他 Dropdown Structure -->
2019-06-07 02:11:04 +10:00
<ul id="dropdown2" class="dropdown-content">
2019-05-06 20:10:03 +10:00
<li>
<a onclick="nowplaying('spotify');">@@NPSpotify@@</a>
</li>
<li>
<a onclick="nowplaying('itunes');">@@NPiTunes@@</a>
</li>
<li>
<a onclick="schedule();">@@schedule@@</a>
</li>
<li>
<a onclick="pollToggle();">@@poll@@</a>
</li>
</ul>
<!--hidden area-->
<input type="hidden" id="reply">
2019-09-08 02:33:01 +10:00
<input type="hidden" id="quote">
2019-05-06 20:10:03 +10:00
<input type="hidden" id="media">
<!--END hidden area-->
</div>
<div id="toot-btn-field">
2019-07-02 01:37:58 +10:00
<button class="btn waves-effect unmize toot-btn-group" onclick="post()"
2019-05-06 20:10:03 +10:00
id="toot-post-btn">@@toot@@</button>
2019-07-02 01:37:58 +10:00
<button class="btn waves-effect darken-3 unmize hide toot-btn-group" onclick="sec()"
2019-05-19 17:39:30 +10:00
id="toot-sec-btn"><i class="material-icons" id="toot-sec-icon"
title="@@sectoot@@">lock_open</i></button>
2019-05-06 20:10:03 +10:00
</div>
</div>
<div id="right-side">
2019-09-01 22:27:18 +10:00
<div id="suggest" class="right-side-content"></div>
2019-05-06 20:10:03 +10:00
<!--絵文字ピッカー-->
2019-09-01 22:27:18 +10:00
<div id="emoji" class="hide right-side-content">
2019-05-06 20:10:03 +10:00
<span class="gray sml">@@emojiWarn@@
<a onclick="emojiGet('true')" class="pointer">@@refreshEmoji@@</a>
<br>
</span>
<div id="emoji-list" class="" style="">
</div>
<div class="emoji-control center">
<button class="btn waves-effect blue" style="width:30%; padding:0;" onclick="emojiList('before')"
id="emoji-before">
<i class="material-icons">navigate_before</i>
</button>
<span id="emoji-count"></span>/
<span id="emoji-sum"></span>
<button class="btn waves-effect blue" style="width:30%; padding:0;" onclick="emojiList('next')"
id="emoji-next">
<i class="material-icons">navigate_next</i>
</button>
</div>
<div id="default-emoji">
<span id="now-emoji"></span>@@showThisEmoji@@<br><span class="gray sml">@@emojiInsertWarn@@</span>
<br>
<a onclick="customEmoji()" class="pointer waves-effect" title="@@customEmoji@@">
<i class="material-icons">add</i>
</a>
<a onclick="defaultEmoji('people')" class="pointer waves-effect" title="@@peopleEmoji@@">
<i class="material-icons">people</i>
</a>
<a onclick="defaultEmoji('nature')" class="pointer waves-effect" title="@@natureEmoji@@">
<i class="material-icons">local_florist</i>
</a>
<a onclick="defaultEmoji('food')" class="pointer waves-effect" title="@@foodEmoji@@">
<i class="material-icons">restaurant</i>
</a>
<a onclick="defaultEmoji('activity')" class="pointer waves-effect" title="@@activityEmoji@@">
<i class="material-icons">directions_run</i>
</a>
<a onclick="defaultEmoji('place')" class="pointer waves-effect" title="@@placeEmoji@@">
<i class="material-icons">directions_car</i>
</a>
<a onclick="defaultEmoji('object')" class="pointer waves-effect" title="@@thingsEmoji@@">
<i class="material-icons">attach_file</i>
</a>
<a onclick="defaultEmoji('symbol')" class="pointer waves-effect" title="@@symbolEmoji@@">
<i class="material-icons">gesture</i>
</a>
<a onclick="defaultEmoji('flag')" class="pointer waves-effect" title="@@flagsEmoji@@">
<i class="material-icons">flag</i>
</a>
<a onclick="faicon()" class="pointer waves-effect" title="faicon" id="faicon-btn">
<i class="fab fa-fort-awesome"></i>
</a>
</div>
</div>
<!--Poll UI-->
2019-09-01 22:27:18 +10:00
<div id="poll" class="hide right-side-content">
2019-09-01 02:46:42 +10:00
<div id="mastodon-poll" class="poll-provider">
2019-05-06 20:10:03 +10:00
<input type="text" class="mastodon-choice" placeholder="@@choice@@1">
<input type="text" class="mastodon-choice" placeholder="@@choice@@2">
<input type="text" class="mastodon-choice" placeholder="@@choice@@3">
<input type="text" class="mastodon-choice" placeholder="@@choice@@4">
2019-06-07 02:11:04 +10:00
<label>
<input type="checkbox" class="filled-in" id="poll-multiple" value="1" />
<span>@@pollmulti@@</span>
</label>
<label>
<input type="checkbox" class="filled-in" id="poll-until" value="1" />
<span>@@polluntil@@</span>
</label>
2019-05-06 20:10:03 +10:00
<input type="number" style="width:50px" id="days_poll" placeholder="d" value="0">@@days@@
<input type="number" style="width:50px" id="hours_poll" placeholder="h" value="0">@@hours@@
<input type="number" style="width:50px" id="mins_poll" placeholder="m" value="6">@@mins@@
</div>
2019-03-06 19:08:48 +11:00
</div>
2018-07-28 07:25:12 +10:00
</div>
</div>
2019-05-06 20:10:03 +10:00
<!-- Modal Structure Tootdata-->
<div id="tootmodal" class="modal modal-fixed-footer">
<div class="modal-content">
2019-06-22 01:22:45 +10:00
<ul class="collapsible" id="det-col">
2019-05-06 20:10:03 +10:00
<li class="dm-hide">
<div class="collapsible-header">
<i class="material-icons">people_outline</i>@@afterLTL@@
</div>
<div class="collapsible-body toot-reset" id="ltl-after">
</div>
2018-09-05 01:04:56 +10:00
</li>
2019-05-06 20:10:03 +10:00
<li class="dm-hide">
<div class="collapsible-header">
<i class="material-icons">person_outline</i>@@afterUTL@@
</div>
<div class="collapsible-body toot-reset" id="user-after">
</div>
2018-09-05 01:04:56 +10:00
</li>
2019-05-06 20:10:03 +10:00
<li class="dm-hide">
<div class="collapsible-header">
<i class="material-icons">language</i>@@afterFTL@@
</div>
<div class="collapsible-body toot-reset" id="ftl-after">
</div>
2018-09-05 01:04:56 +10:00
</li>
2019-05-06 20:10:03 +10:00
<li>
<div class="collapsible-header">
<i class="material-icons">arrow_upward</i>@@contextBefore@@
</div>
<div class="collapsible-body toot-reset" id="toot-reply">
</div>
2018-09-05 01:04:56 +10:00
</li>
2019-05-06 20:10:03 +10:00
<li>
<div class="collapsible-header" id="activator">
<i class="material-icons">more_horiz</i>@@thisToot@@
</div>
<div class="collapsible-body">
<div class="toot-reset" id="toot-this"></div>
</div>
2018-09-05 01:04:56 +10:00
</li>
2019-05-06 20:10:03 +10:00
<li>
<div class="collapsible-header">
<i class="material-icons">arrow_downward</i>@@contextAfter@@
</div>
<div class="collapsible-body toot-reset" id="toot-after">
</div>
2018-09-05 01:04:56 +10:00
</li>
2019-05-06 20:10:03 +10:00
<li class="dm-hide">
<div class="collapsible-header">
<i class="material-icons">people_outline</i>@@beforeLTL@@
</div>
<div class="collapsible-body toot-reset" id="toot-before">
</div>
2018-09-05 01:04:56 +10:00
</li>
2019-05-06 20:10:03 +10:00
<li class="dm-hide">
<div class="collapsible-header">
<i class="material-icons">person_outline</i>@@beforeUTL@@
</div>
<div class="collapsible-body toot-reset" id="user-before">
</div>
2018-09-05 01:04:56 +10:00
</li>
2019-05-06 20:10:03 +10:00
<li>
<div class="collapsible-header">
<i class="material-icons">star</i>@@favedPeople@@
</div>
<div class="collapsible-body toot-reset" id="toot-fav">
</div>
2018-09-05 01:04:56 +10:00
</li>
2019-05-06 20:10:03 +10:00
<li class="dm-hide">
<div class="collapsible-header">
<i class="text-darken-3 false fas fa-retweet"></i>@@btedPeople@@
</div>
<div class="collapsible-body toot-reset" id="toot-rt">
</div>
2018-09-05 01:04:56 +10:00
</li>
</ul>
2019-05-06 20:10:03 +10:00
<div class="dm-hide">
@@useOtherAcct1@@(<i class="fas fa-retweet"></i>/<i class="fas fa-star"></i>@@useOtherAcct2@@)<br>
<div class="row">
<div class="col s6">
<select id="status-acct-sel" class="acct-sel"></select>
</div>
<div class="col s2">
<button class="dropdown-button btn waves-effect" style="width:100%;" onclick="staEx('reply')"><i
class="fas fa-share"></i></button>
</div>
<div class="col s2">
2019-05-19 17:39:30 +10:00
<button class="dropdown-button btn waves-effect indigo" style="width:100%;"
onclick="staEx('rt')"><i class="fas fa-retweet"></i></button>
2019-05-06 20:10:03 +10:00
</div>
<div class="col s2">
2019-05-19 17:39:30 +10:00
<button class="dropdown-button btn waves-effect orange" style="width:100%;"
onclick="staEx('fav')"><i class="fas fa-star"></i></button>
2019-05-06 20:10:03 +10:00
</div>
</div>
2019-10-05 03:23:47 +10:00
@@btWithVis@@<br>
<button class="btn waves-effect darken-3 toot-btn-group purple" onclick="boostWith('public')"><i class="material-icons">public</i></button>
<button class="btn waves-effect darken-3 toot-btn-group blue" onclick="boostWith('unlisted')"><i class="material-icons">lock_open</i></button>
<button class="btn waves-effect darken-3 toot-btn-group orange" onclick="boostWith('private')"><i class="material-icons">lock</i></button>
2019-05-06 20:10:03 +10:00
<div id="toot-tools">
</div>
<div id="toot-after">
</div>
2018-09-05 01:04:56 +10:00
</div>
2019-05-06 20:10:03 +10:00
</div>
<div class="modal-footer">
<a href="#!" class="waves-effect waves-green btn-flat dm-hide" onclick="brws()">@@openBrowser@@</a>
<a href="#!" class="waves-effect waves-green btn-flat dm-hide" onclick="cbCopy()">@@copyURL@@</a>
<a href="#!" class="waves-effect waves-green btn-flat dm-hide" onclick="cbCopy('emb')">@@embed@@</a>
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat">@@close@@</a>
</div>
</div>
<!-- Modal Structure Userdata -->
<div id="his-data" class="modal bottom-sheet modal-fixed-footer" style="max-height:750px; height:90%;">
<div id="his-data-content" class="modal-content" style="padding-bottom: 0;overflow-y:hidden;">
<div id="his-data-show">
2019-08-24 02:09:56 +10:00
<div id="his-data-wrap">
<div class="his-float" id="his-float-data">
<div id="his-leftside">
<div id="his-basic-prof">
<img src="../../img/loading.svg" id="his-prof" draggable="false">
<span id="his-name">Loading...</span><span class="gray" id="his-bot"></span>
<br>@
<span id="his-acct"></span><br>
<span class="gray" id="his-relation"></span>
<br>
<span class="cbadge">
<span id="his-sta"></span>@@toots@@
</span>
<span class="cbadge">@@follow@@:
<span id="his-follow"></span>
</span>
<span class="cbadge">@@follower@@:
<span id="his-follower"></span>
</span><br>
<span class="cbadge" style="max-width:150px; width:150px; ">Since:
<span id="his-since"></span>
</span>
<div id="his-proof-prof"></div>
</div>
<div id="his-des" data-acct=""></div><br>
2019-10-20 15:11:03 +11:00
<div id="his-table"></div><br>
<div id="his-sign-action">
<a href="#!" class="waves-effect waves-green btn"
onclick="follow()" style="flex-basis: 100%" id="his-follow-btn"><i class="material-icons">people</i><span id="his-follow-btn-text">@@follow@@</span></a>
<a href="#!" class="waves-effect waves-green btn blue"
onclick="muteDo()" id="his-mute-btn"><i class="material-icons">voice_over_off</i><span id="his-mute-btn-text">@@mute@@</span></a>
<a href="#!" class="waves-effect waves-g
reen btn red"
onclick="block()" id="his-block-btn"><i class="material-icons ">block</i><span id="his-block-btn-text">@@block@@</span></a>
<a class="dropdown-trigger btn waves-effect grey" href="#" data-target="actiondropdown">
<i class="material-icons">more_vert</i>@@more@@</a>
</div>
<!-- Dropdown Structure -->
<ul id="actiondropdown" class="dropdown-content">
<li onclick="empUser()">
<a title="@@empUser@@"><i class="material-icons">highlight</i>@@empUser@@</a>
</li>
<li onclick="pinUser()" class="only-his-data">
<a title="@@endorse@@"><i
class="material-icons">thumb_up</i>@@endorse@@</a>
</li>
<li onclick="profbrws()" id="his-openin">
<a title="@@openinbrowser@@"><i
class="material-icons">open_in_browser</i>@@openinbrowser@@</a>
</li>
<li onclick="setMain()" class="only-my-data" id="his-main-acct">
<a title="@@mainacct@@"><i
class="material-icons">grade</i>@@mainacct@@</a>
</li>
</ul>
2019-05-06 20:10:03 +10:00
</div>
</div>
2019-08-24 02:09:56 +10:00
<div class="his-float" id="his-float-timeline">
<div id="my-data-nav">
2019-08-30 02:46:04 +10:00
<a go="#his-tl" title="@@timeline@@"
class="btn active-back column-first anc-link waves-effect"><i
2019-08-24 02:09:56 +10:00
class="material-icons">timeline</i>@@timeline@@</a>
2019-08-25 23:40:33 +10:00
<a go="#his-follow-list" title="@@follow@@" class="btn anc-link waves-effect"><i
2019-08-24 02:09:56 +10:00
class="material-icons">people</i>→@@follow@@</a>
2019-08-25 23:40:33 +10:00
<a go="#his-follower-list" title="@@follower@@" class="btn anc-link waves-effect"><i
2019-08-24 02:09:56 +10:00
class="material-icons">people</i>←@@follower@@</a>
2019-08-25 23:40:33 +10:00
<a go="#his-list" title="@@list@@" class="btn only-his-data anc-link waves-effect"><i
2019-08-24 02:09:56 +10:00
class="material-icons">list</i>@@list@@</a>
2019-08-30 02:46:04 +10:00
<a go="#his-fav-list" title="@@favRegist@@"
class="btn only-my-data anc-link waves-effect"><i
2019-08-24 02:09:56 +10:00
class="material-icons">star</i>@@favRegist@@</a>
2019-08-25 23:40:33 +10:00
<a class="dropdown-trigger btn waves-effect" href="#" data-target="hisdropdown"><i
2019-08-24 02:09:56 +10:00
class="material-icons">more_vert</i>@@more@@</a>
<!-- Dropdown Structure -->
<ul id="hisdropdown" class="dropdown-content">
<li class="anc-link only-my-data" go="#his-blocking-list">
<a href="#" title="@@blocks@@"><i class="material-icons">block</i>@@blocks@@</a>
</li>
<li class="anc-link only-my-data" go="#his-muting-list">
<a href="#" title="@@mute@@"><i
class="material-icons">voice_over_off</i>@@mute@@</a>
</li>
<li class="anc-link only-my-data" go="#his-domain-list">
<a href="#" title="@@domainBlock@@"><i
class="material-icons">cancel_schedule_send</i>@@domainBlock@@</a>
2019-08-24 02:09:56 +10:00
</li>
<li class="anc-link only-my-data" go="#his-prof-list">
<a href="#" title="@@editProf@@"><i
class="material-icons">create</i>@@editProf@@</a>
</li>
<li class="anc-link only-my-data" go="#his-request-list">
<a href="#" title="@@followReq@@"><i
class="material-icons">how_to_reg</i>@@followReq@@</a>
</li>
<li class="anc-link only-my-data" go="#his-follow-recom-list">
<a href="#" title="@@frc@@"><i class="material-icons">recent_actors</i>@@frc@@</a>
</li>
<li class="anc-link only-his-data" go="#his-action">
<a href="#" title="@@operateOtherAcct@@"><i
class="material-icons">account_box</i>@@operateOtherAcct@@</a>
</li>
<li class="anc-link" go="#his-matching-list">
2019-08-30 02:46:04 +10:00
<a href="#" title="@@likeUserDes@@"><i class="material-icons">group_work</i>User
Matching</a>
2019-08-24 02:09:56 +10:00
</li>
</ul>
2019-05-06 20:10:03 +10:00
</div>
2019-08-24 02:09:56 +10:00
<div id="his-tl" class="his-var-content">
<div id="his-tl-contents" class="cont-series">
</div>
<button class="btn waves-effect " style="width:100%; padding:0;"
onclick="utl('--now','more')">@@more@@</button>
</div>
<div id="his-follow-list" class="his-var-content">
<div id="his-follow-list-contents" class="cont-series">
</div>
<button class="btn waves-effect " style="width:100%; padding:0;"
onclick="flw('--now','more')">@@more@@</button>
2019-05-06 20:10:03 +10:00
</div>
2019-08-24 02:09:56 +10:00
<div id="his-follower-list" class="his-var-content">
<div id="his-follower-list-contents" class="cont-series">
</div>
<button class="btn waves-effect " style="width:100%; padding:0;"
onclick="fer('--now','more')">@@more@@</button>
</div>
<div id="his-action" class="his-var-content">
@@useOtherAcct1@@@@revoverJP@@@@follow@@(@@warnUseOtherAcct@@)<br>
<div style="max-width:500px;"><select id="user-acct-sel" class="acct-sel"></select></div>
@@revoverJPde@@
2019-11-04 03:09:02 +11:00
<a href="#!" class="waves-effect btn" onclick="follow('selector','selector')">@@follow@@</a><br>
2019-08-24 02:09:56 +10:00
@@or@@<br>
<a href="#!" class="waves-effect btn"
onclick="udgEx('selector', 'selector')">@@openProf@@</a><br>
</div>
<div id="his-list" class="his-var-content">
<div id="his-lists-a">@@warnListRegist@@</div>
2019-05-06 20:10:03 +10:00
2019-08-24 02:09:56 +10:00
<div id="his-lists-b"></div>
2019-05-06 20:10:03 +10:00
</div>
2019-08-24 02:09:56 +10:00
<div id="his-fav-list" class="his-var-content">
<div id="his-fav-list-contents" class="cont-series">
</div>
<button class="btn waves-effect" style="width:100%; padding:0;"
onclick="showFav('more')">@@more@@</button>
2019-05-06 20:10:03 +10:00
</div>
2019-08-24 02:09:56 +10:00
<div id="his-blocking-list" class="his-var-content">
<div id="his-blocking-list-contents" class="cont-series">
</div>
<button class="btn waves-effect " style="width:100%; padding:0;"
onclick="showBlo('more')">@@more@@</button>
2019-05-06 20:10:03 +10:00
</div>
2019-08-24 02:09:56 +10:00
<div id="his-muting-list" class="his-var-content">
<div id="his-muting-list-contents" class="cont-series">
</div>
<button class="btn waves-effect " style="width:100%; padding:0;"
onclick="showMut('more')">@@more@@</button>
2019-05-06 20:10:03 +10:00
</div>
2019-08-24 02:09:56 +10:00
<div id="his-domain-list" class="his-var-content">
<div id="his-domain-list-contents" class="cont-series">
</div>
<button class="btn waves-effect " style="width:100%; padding:0;"
onclick="showDom('more')">@@more@@</button>@@blockDomain@@
<br>
<input type="text" placeholder="example.com" id="domainblock">
<button class="btn waves-effect" onclick="addDomainblock()">@@add@@</button>
<br>
2019-05-06 20:10:03 +10:00
</div>
2019-08-24 02:09:56 +10:00
<div id="his-prof-list" class="his-var-content">@@name@@
<br>
<input type="text" placeholder="@@name@@" id="his-name-val" style="max-width:250px;">
<br>@@note@@
<br>
<div class="input-field col s12">
<textarea placeholder="@@note@@" id="his-des-val"
class="materialize-textarea"></textarea>
<label for="his-des-val">@@note@@</label>
</div>
<button class="btn waves-effect" style="width:100%; padding:0;"
onclick="profedit()">@@change@@</button>
<br>@@editProfImg@@:
<span id="prof-change">
<input type="file" onchange="imgChange(this,'avatar')">
</span>
<br>@@editHeader@@:
<span id="header-change">
<input type="file" onchange="imgChange(this,'header')">
</span>
2019-05-06 20:10:03 +10:00
</div>
2019-08-24 02:09:56 +10:00
<div id="his-request-list" class="his-var-content">
<div id="his-request-list-contents" class="cont-series">
</div>
<button class="btn waves-effect " style="width:100%; padding:0;"
onclick="showReq('more')">@@more@@</button>
</div>
<div id="his-follow-recom-list" class="his-var-content">
<div id="his-follow-recom-contents" class="cont-series">
</div>
2019-05-06 20:10:03 +10:00
</div>
<div id="his-matching-list" class="his-var-content">
@@likeUserDes@@<br>
Powered by <a href="https://distsn.org/" target="_blank">Mastodon User
Matching</a><br>
<div id="his-matching-list-contents" class="cont-series"></div>
2019-08-30 02:46:04 +10:00
<button class="btn waves-effect " onclick="showMat()"
style="width:100%; padding:0;">@@get@@</button>
</div>
<div id="his-float-blocked">
<div>@@blocked@@</div>
</div>
2019-08-24 02:09:56 +10:00
</div>
2019-05-06 20:10:03 +10:00
</div>
2018-09-05 01:04:56 +10:00
</div>
2019-05-06 20:10:03 +10:00
</div>
<div class="modal-footer">
<button class="modal-action waves-effect waves-green btn-flat" id="his-history-btn"
onclick="historyShow()">@@historyBack@@</button>
<a href="#!" class="modal-action waves-effect waves-green btn-flat" onclick="hisclose()">@@close@@</a>
</div>
</div>
2018-07-28 07:25:12 +10:00
<!-- Modal Structure Image-->
<div id="imagemodal" class="modal modal-fixed-footer" style="min-width:550px">
2019-05-06 20:10:03 +10:00
<div class="modal-content">
<div id="imagewrap">
<img src="" id="imgmodal">
</div>
<br>
</div>
<div class="modal-footer">
DL:<span id="imgprog"></span>%
2019-11-09 01:46:12 +11:00
(<span id="imgsec"></span>ms)
2019-05-06 20:10:03 +10:00
<a class="waves-effect white-text" onclick="zoom(2)">
<i class="material-icons">zoom_in</i>
</a>
<a class="waves-effect white-text" onclick="zoom(0.5)">
<i class="material-icons">zoom_out</i>
</a>
2019-11-09 01:46:12 +11:00
<button class="btn waves-effect blue" onclick="copyImgUrl()">
<i class="material-icons left">link</i>@@copy@@
</button>
2019-05-06 20:10:03 +10:00
<button class="btn waves-effect purple" onclick="dlImg()">
<i class="material-icons">file_download</i>
</button>
<button class="btn waves-effect brown" onclick="detFromImg()">@@thisToot@@</button>
<button class="btn waves-effect orange" onclick="imgCont('prev')" id="image-prev">
<i class="material-icons">keyboard_arrow_left</i>
</button>
<button class="btn waves-effect orange" onclick="imgCont('next')" id="image-next">
<i class="material-icons">keyboard_arrow_right</i>
</button>
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat">
<i class="material-icons">close</i>
</a>
</div>
2018-07-28 07:25:12 +10:00
</div>
<!-- Modal Structure Video-->
<div id="videomodal" class="modal modal-fixed-footer">
2019-05-06 20:10:03 +10:00
<div class="modal-content">
<video src="" id="video" style="max-width:100%; max-height:100%;" controls loop="true" autoplay="true">
2019-05-06 20:10:03 +10:00
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat">@@close@@</a>
</div>
2018-07-28 07:25:12 +10:00
</div>
2019-10-26 04:13:37 +11:00
<!--mstdn.jp useragent-->
<div id="askjp_jp_ua" class="hide" style="z-index:505;width:100vw;height:100vh; background-color: #530f0f;color:white;padding:20px;overflow-y:scroll;position:absolute;">
<p style="font-size:300%">【緊急】mstdn.jpへのアクセスについて</p><br>
<p style="font-size:200%">問題の概要</p>
<p>合同会社分散型ソーシャルネットワーク機構は非公開審査によってユーザーエージェントベースで個々のアプリに対してAPIへのアクセスを許可する方法を取っています。</p>
<p>TheDesk開発者はこれに強く反発し、TheDeskのユーザーエージェントをそのアプリからのアクセスであると特定することができない値にすることを決めました。</p>
<p>具体的には、"Mastodon client: [起動毎に変わる100文字の英数記号]"と設定しました。</p>
<p style="font-size:200%">ユーザーによる対策</p>
<p>このバージョンのTheDeskでは任意のユーザーエージェントを適用できます。「設定」内の「環境設定」で設定していただけます。<a href="setting.html">設定</a></p>
<p style="font-size:150%">1. 「TheDesk」を含む値に設定する</p>
<p>「設定」内の「環境設定」、「ユーザーエージェント」に「TheDesk」を含む値を入れてください。大文字小文字に注意してください。</p>
<p><b>懸念点</b></p>
<p>TheDesk開発者は合同会社分散型ソーシャルネットワーク機構に対しこの件についてメールで問い合わせを行っています(抗議ではありません)。問い合わせの過程でアプリ許可が取り消され、使用不能になる可能性があります。</p>
<p><u>ちなみに</u></p>
<p>合同会社分散型ソーシャルネットワーク機構はmstdn.jpのお知らせアカウントに対するリプライに書かれたサードパーティクライアントを「審査」の後許可するとトゥートし、複数ユーザーがTheDeskの名前を挙げました。
事実、トゥートの翌日までにTheDeskに対してアクセス許可が出されました。しかし、許可を出す際にTheDeskの標準ユーザーエージェントを機構は一切確認せず、「TheDesk」という文字列が入ったユーザーエージェントを一律で許可する設定にしたようです。
結果として実際の標準ユーザーエージェントはそれに合致せず、不許可のままとなっていました。前バージョンまでの標準ユーザーエージェントは、パッケージ名の都合上全て小文字の「thedesk」を採用していました。
</p>
<p style="font-size:150%">2. 「認定済み」クライアントの名前を含む値に設定する</p>
<p>「設定」内の「環境設定」、「ユーザーエージェント」に、<a href="https://mstdn.jp/about">mstdn.jpのトップページ</a>記載のアプリ名を含む値を入れてください。大文字小文字やスペースに注意してください。</p>
<p>「Mastodon日本鯖です」と書かれた以降の一段を全てコピーして記載してもアクセス可能です。<u>これほどまでにユーザーエージェント制限は「抜け道」が多いのです。</u><a href="setting.html">設定</a></p>
<p><b>懸念点</b></p>
<p>その記載されたアプリと合同会社分散型ソーシャルネットワーク機構になんの関係があるかは知りませんが、どちらにしろ他のクライアントの名を借りてアクセスの許可をいただくというあまり道徳的によろしくない方法です。</p>
<button onclick="$('#askjp_jp_ua').addClass('hide')" class="btn waves-effect">閉じる</button>
</div>
2018-07-28 07:25:12 +10:00
<!-- Modal Structure Release Note-->
<div id="releasenote" class="modal modal-fixed-footer">
<div class="modal-content">
2019-05-06 20:10:03 +10:00
<h3>TheDesk</h3>
<a href="https://thedesk.top" target="_blank">HP</a><br>
<a href="https://github.com/cutls/TheDesk" target="_blank">GitHub</a><br>
<br>
2019-10-27 13:43:58 +11:00
<div id="release-Usamin_18-11-4" class="release-do" style="display:none; ">><br>
2019-05-06 20:10:03 +10:00
<a href="https://ja.mstdn.wiki/TheDesk" target="_blank">機能一覧</a><br>
2019-10-22 16:52:03 +11:00
Pixiv FanboxやPatreonでは支援者様限定で様々なTheDeskに関する記事をご覧いただけます。最低月一更新。<br>
2019-05-06 20:10:03 +10:00
困ったときは、<a href="https://docs.thedesk.top">TheDesk Docs</a>をご覧ください。
2019-10-27 13:43:58 +11:00
<h5>Release Note Usamin (18.11.4)</h5>
・mstdn.jpのユーザーエージェント制限に対する抗議的処置
2019-10-11 02:22:41 +11:00
<a onclick="udgEx('Cutls@cutls.com','main')" class="contributor">
<img src="https://media.thedesk.top/accounts/avatars/000/000/001/original/d34ef8bb49d5e011.png">Cutls
</a><br>
2019-10-27 13:43:58 +11:00
・フォロー表示が間違っている不具合の修正
2019-10-22 16:52:03 +11:00
<a onclick="udgEx('osapon@mstdn.nere9.help','main')" class="contributor">
<img src="https://user-images.githubusercontent.com/17561618/66582531-eb906a80-ebbc-11e9-9969-7c245cb853c6.png">osapon
</a>
2019-10-27 13:43:58 +11:00
<a onclick="udgEx('hinketu@minohdon.jp','main')" class="contributor">
<img src="https://user-images.githubusercontent.com/17561618/67628814-f4688800-f8ae-11e9-8421-c3f891918f48.png">hinketu
2019-10-22 16:52:03 +11:00
</a>
2019-10-11 02:22:41 +11:00
<a onclick="udgEx('Cutls@cutls.com','main')" class="contributor">
<img src="https://media.thedesk.top/accounts/avatars/000/000/001/original/d34ef8bb49d5e011.png">Cutls
2019-10-22 16:52:03 +11:00
</a>
2019-10-27 13:43:58 +11:00
<br>
・高速化など設定画面の改善
2019-10-11 02:22:41 +11:00
<a onclick="udgEx('Cutls@cutls.com','main')" class="contributor">
<img src="https://media.thedesk.top/accounts/avatars/000/000/001/original/d34ef8bb49d5e011.png">Cutls
</a><br>
2019-03-16 16:05:04 +11:00
</div>
2019-05-11 02:31:15 +10:00
<div id="release-en" style="display:none">
2019-03-16 16:05:04 +11:00
<h5>Let's make it native!</h5>
<a href="https://translate.thedesk.top">Crowdin translation project</a>
2018-07-28 07:25:12 +10:00
</div>
<br><br>
2019-05-06 20:10:03 +10:00
<h3>@@supportme@@</h3>
@@TheDeskDes@@<br>
<a class="btn-share btn waves-effect waves-light red lighten-2"
href="https://www.pixiv.net/fanbox/creator/28105985" target="_blank">
@@PixivSupport@@
</a>
2019-06-04 02:01:14 +10:00
<a class="btn-share btn waves-effect waves-light red darken-2" href="https://www.patreon.com/cutls"
target="_blank">
2019-05-19 17:54:23 +10:00
@@PatreonSupport@@
</a>
2019-08-08 03:06:13 +10:00
<a class="btn-share btn waves-effect waves-light black-text" href="https://liberapay.com/cutls"
target="_blank" style="background-color: #f6c915">
Liberapay
</a>
2019-05-06 20:10:03 +10:00
<a class="btn-share btn waves-effect waves-light blue"
href="https://www.amazon.co.jp/registry/wishlist/2TV35ZHHJPDSB" target="_blank">
@@AWLSupport@@
2018-08-23 03:29:39 +10:00
</a>
<br>
2019-05-19 17:39:30 +10:00
@@SendAmazonGift1@@<a href="mailto:web-pro@cutls.com"
target="_blank">web-pro@cutls.com</a>@@SendAmazonGift2@@<br>
2018-09-18 00:35:42 +10:00
Kyash<br>
<img src="../../img/kyash.png" width="100"><br>
2018-07-28 07:25:12 +10:00
</div>
<div class="modal-footer">
2019-05-06 20:10:03 +10:00
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat">@@close@@</a>
2018-07-28 07:25:12 +10:00
</div>
</div>
<!--PiP-->
<div id="pip" class="hide pip-bottom pip-left">
<i class="material-icons pip-horiz pointer" onclick="pipHoriz()">chevron_right</i> 
<i class="material-icons pip-vert pointer" onclick="pipVert()">expand_less</i> 
<i class="material-icons pointer" onclick="endPip()">close</i>
<div id="pip-content">
</div>
2019-05-06 20:10:03 +10:00
</div>
<!--menu-->
<div id="menu" class="z-depth-5" style="display:none">
<div id="menu-bar" class="drag-bar"></div>
<span class="cancel">
2019-05-06 20:10:03 +10:00
<i class="material-icons waves-effect" onclick="menu()" title="@@closeThisBox@@(X)">cancel</i>
</span>
<div id="menu-wrapper">
2019-05-06 20:10:03 +10:00
<div id="left-menu">
<div class="waves-effect active" onclick="addColumnMenu()" id="addColumnMenu"><i
class="material-icons">add</i><span>@@addColumn@@</span></div>
<div class="waves-effect" onclick="sortMenu()" id="sortMenu"><i
class="material-icons">sort</i><span>@@sortColumns@@</span></div>
<div class="waves-effect" onclick="searchMenu()" id="searchMenu"><i
class="material-icons">search</i><span>@@search@@</span></div>
<div class="waves-effect" onclick="listMenu()" id="listMenu"><i
class="material-icons">view_headline</i><span>@@list@@</span></div>
2019-08-30 02:46:04 +10:00
<div class="waves-effect" onclick="dirMenu()" id="dirMenu"><i
class="material-icons">recent_actors</i><span>@@directory@@</span></div>
2019-05-06 20:10:03 +10:00
<div class="waves-effect" onclick="filterMenu()" id="filterMenu"><i
class="material-icons">filter_list</i><span>@@filter@@</span></div>
2019-10-31 03:00:06 +11:00
<div class="waves-effect" onclick="help()" id="helpMenu"><i
class="material-icons">help_outline</i><span>@@helpAndLogs@@</span></div>
2019-05-06 20:10:03 +10:00
<div class="waves-effect" onclick="location.href='index.html'"><i
class="material-icons">refresh</i><span>@@f5@@</span></div>
</div>
<div id="right-menu">
<!--カラム追加-->
2019-05-06 20:10:03 +10:00
<div id="add-box" class="hide menu-content">
<div class="input-field"><span data-trans="your_acct">@@selectAcct@@</span>
<br>
<select id="add-acct-sel" class="acct-sel" style="color:black" onchange="addselCk()"></select>
<label></label>
</div>
<div class="input-field">
<div id="auth">
<input type="hidden" value="local" id="type-sel">
@@showThisTL@@
<div id="tltype">
<div class="type waves-effect active" data-type="local">
<div><i class="material-icons">people_outline</i></div><span>@@local@@</span>
</div>
<div class="type waves-effect" data-type="local-media">
2019-10-05 03:23:47 +10:00
<div><i class="material-icons">perm_media</i>
2019-05-06 20:10:03 +10:00
</div><span>@@localMedia@@</span>
</div>
<div class="type waves-effect" data-type="home">
<div><i class="material-icons">home</i></div><span>@@home@@</span>
</div>
<div class="type waves-effect" data-type="pub">
<div><i class="material-icons">language</i></div><span>@@fed@@</span>
</div>
<div class="type waves-effect" data-type="pub-media">
2019-10-05 03:23:47 +10:00
<div><i class="material-icons">perm_media</i></div>
2019-05-06 20:10:03 +10:00
<span>@@fedMedia@@</span>
</div>
<div class="type waves-effect" data-type="dm">
<div><i class="material-icons">mail_outline</i></div><span>@@dm@@</span>
</div>
<div class="type waves-effect" data-type="mix">
<div><i class="material-icons">merge_type</i></div><span>@@integratedTLDes@@</span>
</div>
<div class="type waves-effect" data-type="plus">
2019-10-03 03:01:42 +10:00
<div><i class="material-icons">reply</i></div><span>@@localPlusDes@@</span>
2019-05-06 20:10:03 +10:00
</div>
<div class="type waves-effect" data-type="notf">
<div><i class="material-icons">notifications</i></div><span>@@notf@@</span>
</div>
</div>
</div>
<div id="noauth" class="hide">@@showThisTL@@
<input id="noauth-url" type="text" class="validate" style="width:calc( 70% - 40px);"
placeholder="e.g:mstdn.jp">
</div>
<div id="webview-add" class="hide">@@webviewWarn@@
</div>
</div>
<button class="btn waves-effect blue " style="width:calc( 100% - 10px);" onclick="addColumn()"
data-trans-i="add">
<i class="material-icons left">add</i>@@add@@
</button>
<br>
<br>
</div>
<!--検索-->
<div id="src-box" class="hide menu-content">
<div class="input-field">
<select id="src-acct-sel" class="acct-sel" onchange="trend()"></select>
</div>
<div class="input-field">
<input id="src" type="text" class="validate" style="width:60%">
<label for="src" data-trans="src">@@search@@</label>
2019-05-19 17:39:30 +10:00
<button class="btn waves-effect indigo" style="width: 36%;padding: 0;padding-left: 15px;"
onclick="src()" data-trans-i="src">
2019-05-06 20:10:03 +10:00
<i class="material-icons left" style="margin:0">search</i>@@search@@
</button>
<br>
<br>
</div>
<div id="search">
<div id="src-contents">
</div>
</div>
</div>
2019-08-30 02:46:04 +10:00
<!--ディレクトリ-->
<div id="dir-box" class="hide menu-content">
<div class="input-field">
<select id="dir-acct-sel" class="acct-sel" onchange="dirselCk()"></select>
</div>
<div id="dirNoAuth" class="hide">
<input id="dirNoAuth-url" type="text" class="validate" style="width:calc( 70% - 40px);"
placeholder="e.g:mastodon.social">
<button class="btn waves-effect indigo" style="width: 120px;padding: 0;padding-left: 15px;"
onclick="directory()">
<i class="material-icons left" style="margin:0">search</i>@@show@@
</button>
</div>
<label>
<input class="with-gap" onchange="directory()" name="sort" type="radio" value="active" checked>
<span>@@active@@</span>
</label>
<label>
<input class="with-gap" onchange="directory()" name="sort" type="radio" value="new">
<span>@@newcomer@@</span>
</label><br>
<label>
<input type="checkbox" class="filled-in" id="local_only" value="true" onchange="directory()" />
<span>@@local_only@@</span>
</label>
<div id="dir-contents"></div>
<button class="btn waves-effect teal disabled" style="width: 100%" id="moreDir"
onclick="directory('more')">@@more@@
</button>
</div>
2019-05-06 20:10:03 +10:00
<!--並べ替え-->
<div id="sort-box" class="hide menu-content">
<ul id="sort"></ul>
<div>
<button onclick="sort()" class="btn waves-effect nex" style="width:97.5%;" data-trans-i="sort">
<i class="material-icons left">sort</i>@@sortSet@@
</button>
</div>
</div>
<!--リスト-->
<div id="list-box" class="hide menu-content">
<div class="input-field" style="width:calc( 100% - 100px);float:left">
<select id="list-acct-sel" class="acct-sel"></select>
<label>@@selectAcct@@</label>
</div>
<div style="float:left; padding-top:8px; padding-bottom:28px;">
2019-05-19 17:39:30 +10:00
<button class="btn waves-effect indigo" style="width:80px;" onclick="list()"
data-trans-i="lists">
2019-05-06 20:10:03 +10:00
@@listLocale@@
</button>
</div>
<br><br>
<div id="lists"></div>
<div id="lists-user"></div>
<input type="text" style="width:150px" id="list-add" placeholder="@@name@@">
<button class="btn waves-effect" style="width:120px;" onclick="makeNewList()">@@makeNew@@</button>
</div>
<!--フィルター-->
<div id="filter-box" class="hide menu-content">
<div class="input-field" style="width:calc( 100% - 100px);float:left">
<select id="filter-acct-sel" class="acct-sel"></select>
<label>@@selectAcct@@</label>
</div>
<div style="float:left; padding-top:8px; padding-bottom:28px;">
2019-05-19 17:39:30 +10:00
<button class="btn waves-effect indigo" style="width:80px;" onclick="filter()"
data-trans-i="filters">
2019-05-06 20:10:03 +10:00
@@listLocale@@
</button>
</div>
<div id="filtered-words"></div>
<input type="hidden" id="filter-edit-id">
<input type="text" style="width:150px" id="filter-add-word" placeholder="@@filterWord@@"><br>
@@degree@@<br>
2019-06-07 02:11:04 +10:00
<label>
<input type="checkbox" class="filled-in" id="home_filter" value="home" />
<span>@@home@@</span>
</label>
<label>
<input type="checkbox" class="filled-in" id="local_filter" value="public" />
<span>@@local@@</span>
</label>
<label>
<input type="checkbox" class="filled-in" id="notf_filter" value="notifications" />
<span>@@notf@@</span>
</label>
<label>
<input type="checkbox" class="filled-in" id="conv_filter" value="thread" />
<span>@@conver@@</span>
</label>
2019-05-06 20:10:03 +10:00
@@option@@<br>
2019-06-07 02:11:04 +10:00
<label>
<input type="checkbox" class="filled-in" id="wholeword_filter" value="1" />
<span>@@matchWord@@</span>
</label>
<br>
2019-05-06 20:10:03 +10:00
<span class="sml">@@warnMatchWord@@</span><br>
2019-06-07 02:11:04 +10:00
<label>
<input type="checkbox" class="filled-in" id="except_filter" value="1" />
<span>@@except@@</span>
</label>
<br>
2019-05-06 20:10:03 +10:00
<span class="sml">@@exceptWorn@@</span><br>
@@avalableBefore@@<span class="sml">@@warnAvBefore@@<b>@@warnAvBefore2@@</b></span><br><br>
<input type="number" style="width:50px" id="days_filter" placeholder="d" value="0">@@days@@
<input type="number" style="width:50px" id="hours_filter" placeholder="h" value="0">@@hours@@
<input type="number" style="width:50px" id="mins_filter" placeholder="m" value="0">@@mins@@<br>
Quick:<a onclick="filterTime(0,0,30)" class="pointer">30@@mins@@</a>/
<a onclick="filterTime(0,1,0)" class="pointer">1@@hours@@</a>/
<a onclick="filterTime(0,6,0)" class="pointer">6@@hours@@</a>/
<a onclick="filterTime(0,12,0)" class="pointer">12@@hours@@</a>/
<a onclick="filterTime(1,0,0)" class="pointer">1@@days@@</a>/
<a onclick="filterTime(7,0,0)" class="pointer">7@@days@@</a>/
<a onclick="filterTime(0,0,0)" class="pointer">@@unlimited@@</a><br>
<button class="btn waves-effect" style="width:120px;" onclick="makeNewFilter()"
id="add-filter-btn">@@add@@</button><br>
<span class="sml">@@warnOnIntegratedTL@@</span>
</div>
2019-10-31 03:00:06 +11:00
<!--ヘルプとログ-->
<div id="help-box" class="hide menu-content">
<a href="https://docs.thedesk.top" class="btn waves-effect" style="width:97.5%;">@@help@@</a><br>
@@contactwithlog@@<br>
<textarea id="logs" style="height:250px;"></textarea><br>
</div>
2019-05-06 20:10:03 +10:00
</div>
</div>
2019-03-16 05:13:42 +11:00
<a onclick="about()" class="nex waves-effect">
2019-05-06 20:10:03 +10:00
<i class="material-icons" style="font-size: 1rem;">info</i>@@about@@
</a>&nbsp;|&nbsp;
<a onclick="bottomReverse()" class="nex waves-effect">
2019-05-06 20:10:03 +10:00
<i class="material-icons" style="font-size: 1rem;">swap_horiz</i>@@reverse@@
2019-05-19 16:17:05 +10:00
</a>&nbsp;|&nbsp;
<a onclick="openRN()" class="nex waves-effect">
<i class="material-icons" style="font-size: 1rem;">new_releases</i>Release Note
</a>
2019-04-11 02:52:01 +10:00
</div>
2019-05-06 20:10:03 +10:00
<div id="main">
<!--TLのTL-->
<div id="timeline-container">
<div id="something-wrong">
2019-08-09 11:58:55 +10:00
<img src="../../img/desk.svg" style="width:150px;margin:5px;display:none;" draggable="false">
<div class="stw" style="display: none">@@helloTheDesk@@</div>
2019-05-06 20:10:03 +10:00
</div>
</div>
</div>
</div>
<!--bottom-->
2019-08-11 03:52:32 +10:00
<div id="bottom" class="reverse hide">
2019-05-06 20:10:03 +10:00
<div class="leftside reverse">
<div id="dambox">
2019-07-02 01:37:58 +10:00
<button id="posttgl" class="btn waves-effect"
2019-05-06 20:10:03 +10:00
style="width: 100%;height: 2.5rem;line-height: 0;margin: 0;">
<i class="material-icons"
style="position: relative; top: 5px; font-size: 1.5rem; text-align: center; margin-right: 10px;">edit</i>@@toot@@
</button>
</div>
<div class="leftside reverse" id="group">
<div class="btnsgroup">
<a href="acct.html" class="nex waves-effect">
<i class="material-icons nex big-icon" title="@@acctMan@@(Ctrl+Shift+M)">account_circle</i>
</a>
<a href="setting.html" class="nex waves-effect">
<i class="material-icons nex" title="@@setting@@(Ctrl+Shift+S)">settings</i>
</a>
<a onclick="nano()" class="nex waves-effect">
2019-05-19 17:39:30 +10:00
<i class="material-icons" title="@@nanoDes@@TheDesk Nano"
data-trans-title="nano_desp">remove_from_queue</i>
2019-05-06 20:10:03 +10:00
</a>
2019-09-13 00:25:27 +10:00
<a onclick="menu()" class="nex waves-effect">
<i class="material-icons" title="@@menu@@">apps</i>
2019-05-06 20:10:03 +10:00
</a>
<span id="fukidashi">@@hereAddColumns@@</span>
</div>
2018-07-29 17:37:54 +10:00
</div>
</div>
2019-05-06 20:10:03 +10:00
<div>
<div id="tips-menu">
<div class="btnsgroup" style="height:34px"><span class="grouptitle">Tips:</span>
<a onclick="tips('ver')" class="nex waves-effect">
<i class="material-icons nex" title="@@verTips@@" data-trans-title="ver">info</i>
</a>
<a onclick="tips('clock')" class="nex waves-effect">
<i class="material-icons nex" title="@@clockTips@@" data-trans-title="clock">access_time</i>
</a>
<a onclick="tips('memory')" class="nex waves-effect">
<i class="material-icons nex" title="@@ramTips@@" data-trans-title="memory">memory</i>
</a>
<a onclick="tips('trend')" class="nex waves-effect imasonly" style="display:none;">
<i class="material-icons nex" title="アイマストドントレンド" data-trans-title="trendtip">whatshot</i>
</a>
<a onclick="tips('spotify')" class="nex waves-effect">
<i class="fab fa-spotify nex" title="Spotify" data-trans-title="spotifytips"></i>
</a>
</div>
</div>
<div id="tips" class="hide">
2019-08-26 22:06:07 +10:00
<a onclick="tipsToggle()" class="nex waves-effect">
2019-05-06 20:10:03 +10:00
<i class="material-icons nex" title="@@changeTips@@" data-trans-title="tips">bubble_chart</i>
</a>
2019-08-26 22:06:07 +10:00
<div id="tips-text" style="width:300px;"></div>
2019-05-06 20:10:03 +10:00
</div>
</div>
</div>
2019-06-04 02:01:14 +10:00
<!--Support me-->
2019-06-04 02:26:00 +10:00
<div id="support-btm" class="z-depth-4 hide">
2019-06-04 02:01:14 +10:00
<div id="support-btm-ja">
<h5>ご支援いただけませんか?</h5>
(これは支援の有無に関わらず定期的に出ます。)<br>
あなたのMastodon, Misskeyライフを邪魔してしまって申し訳ありません。<br>
乞食のようなマネをしてご支援をお願いするのもどうかと思いますが、少々お時間をください。<br>
2019-08-21 01:36:47 +10:00
ご安心ください。インターネット上のフリー百科事典のような高圧的支援要求はいたしません。コーヒーも要求いたしません。<br>
2019-10-22 16:52:03 +11:00
(中略)<br>
<b>全てのユーザーが安心してTheDeskを使っていただける環境のため</b>にも、ぜひご支援をご検討ください。ご支援いただけなくても使用不可能になることは全くありません。<br>
2019-06-04 02:01:14 +10:00
<b>@@TheDeskDes@@</b>
</div>
<div id="support-btm-en" class="hide">
<h5>Support me</h5>
It may disturb your Mastodon life, but your support is required to keep TheDesk awesome!<br>
<b>@@TheDeskDes@@</b>
</div>
<div id="support-btm-middle">
<h5>@@monthly@@</h5>
<a class="btn-share btn waves-effect waves-light red lighten-2"
href="https://www.pixiv.net/fanbox/creator/28105985" target="_blank">
@@PixivSupport@@
</a>
<a class="btn-share btn waves-effect waves-light red darken-2" href="https://www.patreon.com/cutls"
target="_blank">
@@PatreonSupport@@
</a>
2019-08-08 03:06:13 +10:00
<a class="btn-share btn waves-effect waves-light black-text" href="https://liberapay.com/cutls"
target="_blank" style="background-color: #f6c915">
Liberapay
</a>
2019-06-04 02:01:14 +10:00
</div>
<div id="support-btm-right">
<h5>@@once@@</h5>
<a class="btn-share btn waves-effect waves-light blue"
href="https://www.amazon.co.jp/registry/wishlist/2TV35ZHHJPDSB" target="_blank">
@@AWLSupport@@
</a>
<br>
@@SendAmazonGift1@@<a href="mailto:web-pro@cutls.com"
target="_blank">web-pro@cutls.com</a>@@SendAmazonGift2@@<br>
Kyash<br>
<img src="../../img/kyash.png" width="100"><br>
</div>
<div id="support-btm-close">
2019-06-07 02:11:04 +10:00
<button class="btn waves-effect" style="width:100%;" onclick="closeSupport()"
2019-06-04 02:01:14 +10:00
id="add-filter-btn">@@close@@</button>
</div>
</div>
2019-05-06 20:10:03 +10:00
<!--左下メッセージ-->
<div id="message">
</div>
<!--Radio Happy(Yui) Taku Inoue-->
<audio src="" id="radio"></audio>
<!--JS-->
2019-08-11 03:52:32 +10:00
<script type="text/javascript" src="../../node_modules/jquery/dist/jquery.js"></script>
<script type="text/javascript" src="../../js/platform/first.js"></script>
<script type="text/javascript" src="../../node_modules/materialize-css/dist/js/materialize.js"></script>
2019-10-05 01:07:15 +10:00
<script type="text/javascript" src="main.js"></script>
2019-08-11 03:52:32 +10:00
<script type="text/javascript" src="../../js/common/time.js"></script>
<script type="text/javascript" src="../../js/common/blurhash.js"></script>
<script type="text/javascript" src="../../js/common/version.js"></script>
<script type="text/javascript" src="../../js/common/keyshortcut.js"></script>
<script type="text/javascript" src="../../js/common/modal.js"></script>
2019-08-30 02:46:04 +10:00
<script type="text/javascript" src="../../node_modules/jquery-ui-dist/jquery-ui.min.js"></script>
2019-08-11 03:52:32 +10:00
<script type="text/javascript" src="../../node_modules/sweetalert2/dist/sweetalert2.all.min.js"></script>
<script type="text/javascript" src="../../js/platform/punycode.js"></script>
2019-05-06 20:10:03 +10:00
<script type="text/javascript" src="../../js/ui/tips.js"></script>
<script src="https://twemoji.maxcdn.com/2/twemoji.min.js?2.7"></script>
<script type="text/javascript" src="../../js/common/about.js"></script>
<script type="text/javascript" src="../../js/tl/parse.js"></script>
<script type="text/javascript" src="../../js/tl/misskeyparse.js"></script>
<script type="text/javascript" src="../../js/tl/dm.js"></script>
<script type="text/javascript" src="../../js/ui/scroll.js"></script>
<script type="text/javascript" src="../../js/tl/tl.js"></script>
<script type="text/javascript" src="../../js/tl/card.js"></script>
<script type="text/javascript" src="../../js/tl/poll.js"></script>
<script type="text/javascript" src="../../js/tl/date.js"></script>
<script type="text/javascript" src="../../js/tl/notification.js"></script>
<script type="text/javascript" src="../../js/tl/datails.js"></script>
<script type="text/javascript" src="../../js/tl/mix.js"></script>
<script type="text/javascript" src="../../js/tl/src.js"></script>
2019-08-30 02:46:04 +10:00
<script type="text/javascript" src="../../js/tl/directory.js"></script>
2019-05-06 20:10:03 +10:00
<script type="text/javascript" src="../../js/tl/filter.js"></script>
<script type="text/javascript" src="../../js/tl/tag.js"></script>
<script type="text/javascript" src="../../js/tl/list.js"></script>
<script type="text/javascript" src="../../js/tl/speech.js"></script>
<script type="text/javascript" src="../../js/ui/post-box.js"></script>
<script type="text/javascript" src="../../js/ui/layout.js"></script>
<script type="text/javascript" src="../../js/post/emoji.js"></script>
<script type="text/javascript" src="../../js/login/instance.js"></script>
<script type="text/javascript" src="../../js/login/login.js"></script>
<script type="text/javascript" src="../../js/ui/img.js"></script>
<script type="text/javascript" src="../../js/ui/pip.js"></script>
<script type="text/javascript" src="../../js/ui/sort.js"></script>
<script type="text/javascript" src="../../js/ui/spotify.js"></script>
<script type="text/javascript" src="../../js/post/post.js"></script>
<script type="text/javascript" src="../../js/post/use-txtbox.js"></script>
<script type="text/javascript" src="../../js/post/secure.js"></script>
<script type="text/javascript" src="../../js/post/img.js"></script>
<script type="text/javascript" src="../../js/post/status.js"></script>
<script type="text/javascript" src="../../js/post/misskeystatus.js"></script>
<script type="text/javascript" src="../../js/post/suggest.js"></script>
<script type="text/javascript" src="../../js/post/bb-md.js"></script>
<script type="text/javascript" src="../../js/userdata/showOnTL.js"></script>
<script type="text/javascript" src="../../js/userdata/his-data.js"></script>
<script type="text/javascript" src="../../js/userdata/prof-edit.js"></script>
<script type="text/javascript" src="../../js/emoji/emojipack.js"></script>
<script type="text/javascript" src="../../js/emoji/default-emoji.js"></script>
<script type="text/javascript" src="../../js/platform/end.js"></script>
<script type="text/javascript" src="../../js/ui/menu.js"></script>