2018-07-30 03:35:29 +10:00
|
|
|
|
<!doctype html>
|
2019-04-15 01:45:04 +10:00
|
|
|
|
<html lang="@@lang@@" style="overflow:scroll">
|
2019-04-11 13:52:38 +10:00
|
|
|
|
|
2018-07-30 03:35:29 +10:00
|
|
|
|
<head>
|
|
|
|
|
<title>Settings - TheDesk</title>
|
2019-03-15 22:12:11 +11: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-03-15 22:12:11 +11:00
|
|
|
|
@@comment-end@@
|
2018-07-30 03:35:29 +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">
|
2018-09-12 02:49:41 +10:00
|
|
|
|
<link href="../../css/themes.css" type="text/css" rel="stylesheet">
|
2019-03-08 05:19:26 +11:00
|
|
|
|
<link href="../../css/pickr.css" type="text/css" rel="stylesheet">
|
2018-09-12 02:49:41 +10:00
|
|
|
|
<link href="../../css/master.css" type="text/css" rel="stylesheet">
|
2019-08-14 03:49:51 +10:00
|
|
|
|
<link href="../../node_modules/@fortawesome/fontawesome-free/css/all.min.css" type="text/css" rel="stylesheet">
|
2018-07-30 03:35:29 +10:00
|
|
|
|
<meta charset="utf-8">
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<style>
|
|
|
|
|
input {
|
|
|
|
|
max-height: 50px !important
|
|
|
|
|
}
|
2019-05-19 17:39:30 +10:00
|
|
|
|
|
2019-04-11 13:52:38 +10:00
|
|
|
|
.pcr-result {
|
|
|
|
|
height: 1rem !important;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
2018-07-30 03:35:29 +10:00
|
|
|
|
</head>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
|
2018-07-30 03:35:29 +10:00
|
|
|
|
<body id="mainView" style="overflow-y:scroll">
|
2019-06-22 01:22:45 +10:00
|
|
|
|
<script type="text/javascript" src="../../node_modules/jquery/dist/jquery.js"></script>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<script type="text/javascript" src="../../js/platform/first.js"></script>
|
2019-06-22 01:22:45 +10:00
|
|
|
|
<script type="text/javascript" src="../../node_modules/materialize-css/dist/js/materialize.js"></script>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<script type="text/javascript" src="../../js/lang/lang.@@lang@@.js"></script>
|
|
|
|
|
<script src="https://unpkg.com/json5@^2.0.0/dist/index.min.js"></script>
|
|
|
|
|
<script src="../../node_modules/vue/dist/vue.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="setting.vue.js"></script>
|
2019-06-22 02:06:32 +10:00
|
|
|
|
<script type="text/javascript" src="../../node_modules/sweetalert2/dist/sweetalert2.all.min.js"></script>
|
2019-03-08 05:19:26 +11:00
|
|
|
|
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<h4>@@setting@@</h4>
|
|
|
|
|
<ul class="collapsible" data-collapsible="accordion">
|
|
|
|
|
<li>
|
|
|
|
|
<div class="collapsible-header">
|
|
|
|
|
<i class="material-icons">desktop_windows</i>@@env@@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="collapsible-body">
|
|
|
|
|
<h5>@@setlang@@</h5>
|
|
|
|
|
To translate with Crowdin, you have to login Crowdin and restart TheDesk when login is finished.<br>
|
|
|
|
|
@@langlist@@
|
|
|
|
|
<h5>@@backup@@</h5>
|
|
|
|
|
<button onclick="exportSettings()" class="btn waves-effect lime darken-3"
|
|
|
|
|
style="width:100%; max-width:200px;">@@export@@</button>
|
|
|
|
|
<button onclick="importSettings()" class="btn waves-effect cyan darken-3"
|
|
|
|
|
style="width:100%; max-width:200px;">@@import@@</button>
|
|
|
|
|
<div id="envView">
|
|
|
|
|
<template v-for="(item, i) in config">
|
|
|
|
|
<h5>{{item.text.head}}</h5>
|
2019-04-15 01:45:04 +10:00
|
|
|
|
<template v-if="item.text.desc">
|
2019-07-10 23:48:36 +10:00
|
|
|
|
<span v-html="item.text.desc"></span><br>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
</template>
|
|
|
|
|
<template v-if="item.id=='notf'"><a onclick="notftest()"
|
|
|
|
|
class="pointer">@@nntest@@</a><br></template>
|
|
|
|
|
<template v-if="item.checkbox">
|
|
|
|
|
<template v-for="(check, j) in item.text.checkbox">
|
2019-06-07 02:11:04 +10:00
|
|
|
|
<label>
|
|
|
|
|
<input class="with-gap" v-on:click="complete(i,check.value)" v-model="item.setValue"
|
|
|
|
|
type="radio" v-bind:id="item.id+check.value" v-bind:value="check.value" />
|
|
|
|
|
<span>{{check.text}}</span>
|
|
|
|
|
</label>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-else>
|
|
|
|
|
<template v-if="item.doubleText">
|
|
|
|
|
<template v-for="(textbox, j) in item.data">
|
|
|
|
|
<input type="text" v-model="textbox.setValue" type="radio" v-bind:id="textbox.id"
|
|
|
|
|
v-bind:style="{ width: textbox.width+'px'}" />{{textbox.text.after}}
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-else>
|
|
|
|
|
<input type="text" v-model="item.setValue" type="radio" v-bind:id="item.id"
|
|
|
|
|
v-bind:style="{ width: item.width+'px'}" />{{item.text.after}}
|
|
|
|
|
</template>
|
|
|
|
|
<button class="btn waves-effect" style="width:100px;"
|
|
|
|
|
v-on:click="complete(i)">@@change@@</button>
|
|
|
|
|
</template><br>
|
2019-03-15 22:12:11 +11:00
|
|
|
|
</template>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
</div>
|
|
|
|
|
<h5>@@font@@</h5>
|
|
|
|
|
@@fontwarn@@<br>
|
|
|
|
|
<button class="btn waves-effect" style="width:100px;" onclick="font()">@@select@@</button><br>
|
|
|
|
|
<div id="fonts" class="hide" style="overflow-y:scroll; width:300px; height:500px;"></div>
|
|
|
|
|
<br>
|
|
|
|
|
<input type="text" style="width:150px" id="font">
|
|
|
|
|
<button class="btn waves-effect" style="width:100px;" onclick="settings()">@@set@@</button>
|
|
|
|
|
<br>
|
|
|
|
|
<h5>@@savefolder@@</h5>
|
|
|
|
|
@@savefolderwarn@@<br>
|
|
|
|
|
<button class="btn waves-effect" style="width:100px;" onclick="savefolder()">@@change@@</button>
|
|
|
|
|
<br>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<div class="collapsible-header">
|
|
|
|
|
<i class="material-icons">color_lens</i>@@theme@@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="collapsible-body">
|
|
|
|
|
<h4>@@themeSel@@</h4>
|
2019-06-07 02:11:04 +10:00
|
|
|
|
<label>
|
|
|
|
|
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="black" value="black" />
|
|
|
|
|
<span>Black</span>
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="white" value="white" />
|
|
|
|
|
<span>White</span>
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="indigo"
|
|
|
|
|
value="indigo" />
|
|
|
|
|
<span>Indigo<span class="imas hide">(エンドレスナイト)</span></span>
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="brown" value="brown" />
|
|
|
|
|
<span>Brown<span class="imas hide">(ビタースイート・タイム)</span></span>
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="green" value="green" />
|
|
|
|
|
<span>Green<span class="imas hide">(ユースフルロマンス)</span></span>
|
|
|
|
|
</label>
|
2019-07-02 01:37:58 +10:00
|
|
|
|
<label>
|
|
|
|
|
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="blue" value="blue" />
|
|
|
|
|
<span>Blue<span class="imas hide">(渚の花嫁)</span></span>
|
|
|
|
|
</label>
|
2019-06-07 02:11:04 +10:00
|
|
|
|
<label>
|
|
|
|
|
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="custom"
|
|
|
|
|
value="custom" />
|
|
|
|
|
<span>custom</span>
|
|
|
|
|
</label>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<div style="width:300px" id="sel-selector">
|
|
|
|
|
<select id="custom-sel-sel" class="custom-sel" onchange="customSel()"></select>
|
|
|
|
|
</div>
|
|
|
|
|
<h4>@@customtheme@@</h4>
|
|
|
|
|
<div style="width:300px" id="edit-selector" data-add="@@add_new@@">
|
|
|
|
|
<select id="custom-edit-sel" class="custom-sel" onchange="custom()">
|
|
|
|
|
<option value="add_new">@@add_new@@</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<h5>@@name@@</h5>
|
|
|
|
|
<input type="text" style="width:300px" id="custom_name" placeholder="@@name@@...">
|
|
|
|
|
<h5>@@desc@@</h5>
|
|
|
|
|
<div class="input-field"><textarea style="width:300px" id="custom_desc" class="materialize-textarea"
|
|
|
|
|
placeholder="@@desc@@..."></textarea></div>
|
|
|
|
|
<h5>@@customthemeDirection@@</h5>
|
2019-06-07 02:11:04 +10:00
|
|
|
|
<label>
|
|
|
|
|
<input class="with-gap" onchange="settings()" name="direction" type="radio" id="dark" value="dark"
|
|
|
|
|
checked="true" />
|
|
|
|
|
<span>Dark</span>
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input class="with-gap" onchange="settings()" name="direction" type="radio" id="light"
|
|
|
|
|
value="light" />
|
|
|
|
|
<span>Light</span>
|
|
|
|
|
</label>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<div id="pickers">
|
|
|
|
|
<div>
|
|
|
|
|
<h5>Primary</h5>@@secondarycolor@@
|
|
|
|
|
<div id="color-picker0-wrap">
|
|
|
|
|
<div class="color-picker" id="color-picker0"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<input type="hidden" id="color-picker0_value">
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<h5>Secondary</h5>@@primary@@
|
|
|
|
|
<div id="color-picker1-wrap">
|
|
|
|
|
<div class="color-picker" id="color-picker1"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<input type="hidden" id="color-picker1_value">
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<h5>Texts</h5>@@text@@
|
|
|
|
|
<div id="color-picker2-wrap">
|
|
|
|
|
<div class="color-picker" id="color-picker2"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<input type="hidden" id="color-picker2_value">
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
2019-05-19 17:39:30 +10:00
|
|
|
|
<h5>Accent</h5>@@accent@@
|
|
|
|
|
<div id="color-picker3-wrap">
|
|
|
|
|
<div class="color-picker" id="color-picker3"></div>
|
|
|
|
|
</div>
|
|
|
|
|
<input type="hidden" id="color-picker3_value">
|
2019-04-11 13:52:38 +10:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<button class="btn-large waves-effect" onclick="customComp()">@@change@@</button> <button
|
|
|
|
|
class="btn waves-effect red disabled" id="delTheme" onclick="deleteIt()">@@delete@@</button><br><br>
|
2019-06-07 02:11:04 +10:00
|
|
|
|
<input type="text" style="width:300px;height:40px;" id="custom_json" class="materialize-textarea"
|
2019-04-11 13:52:38 +10:00
|
|
|
|
placeholder="JSON style" readonly><br>
|
|
|
|
|
@@customShare@@
|
|
|
|
|
<h4>@@customImport@@</h4>
|
|
|
|
|
@@cImpWarn@@<br>
|
2019-06-07 02:11:04 +10:00
|
|
|
|
<input type="text" style="width:300px;height:40px;" id="custom_import" class="materialize-textarea"
|
2019-04-11 13:52:38 +10:00
|
|
|
|
placeholder="JSON/JSON5 style">
|
|
|
|
|
<button class="btn waves-effect" onclick="customImp()">@@import@@</button><br>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<div class="collapsible-header">
|
|
|
|
|
<i class="material-icons">reorder</i>@@timeline@@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="collapsible-body">
|
|
|
|
|
<div id="tlView">
|
|
|
|
|
<template v-for="(item, i) in config">
|
|
|
|
|
<h5>{{item.text.head}}</h5>
|
2019-04-15 01:45:04 +10:00
|
|
|
|
<template v-if="item.text.desc">
|
2019-07-10 23:48:36 +10:00
|
|
|
|
<span v-html="item.text.desc"></span><br>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
</template>
|
|
|
|
|
<template v-if="item.checkbox">
|
|
|
|
|
<template v-for="(check, j) in item.text.checkbox">
|
2019-06-07 02:11:04 +10:00
|
|
|
|
<label>
|
|
|
|
|
<input class="with-gap" v-on:click="complete(i,check.value)" v-model="item.setValue"
|
|
|
|
|
type="radio" v-bind:id="item.id+check.value" v-bind:value="check.value" />
|
|
|
|
|
<span>{{check.text}}</span>
|
|
|
|
|
</label>
|
2019-03-15 22:12:11 +11:00
|
|
|
|
</template>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
</template>
|
|
|
|
|
<template v-else>
|
|
|
|
|
<template v-if="item.doubleText">
|
|
|
|
|
<template v-for="(textbox, j) in item.data">
|
|
|
|
|
<input type="text" v-model="textbox.setValue" type="radio" v-bind:id="textbox.id"
|
|
|
|
|
v-bind:style="{ width: textbox.width+'px'}" />{{textbox.text.after}}
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-else>
|
|
|
|
|
<input type="text" v-model="item.setValue" type="radio" v-bind:id="item.id"
|
|
|
|
|
v-bind:style="{ width: item.width+'px'}" />{{item.text.after}}
|
|
|
|
|
</template>
|
|
|
|
|
<button class="btn waves-effect" style="width:100px;"
|
|
|
|
|
v-on:click="complete(i)">@@change@@</button>
|
|
|
|
|
</template><br>
|
2019-03-15 22:12:11 +11:00
|
|
|
|
</template>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
</div>
|
2019-04-15 01:45:04 +10:00
|
|
|
|
<h5>@@customSound@@</h5>
|
2019-05-19 17:39:30 +10:00
|
|
|
|
<button class="btn waves-effect" style="width:120px;" onclick="customSound(1)">Custom 1</button><span
|
|
|
|
|
id="c1-file"></span><br>
|
|
|
|
|
<button class="btn waves-effect" style="width:120px;" onclick="customSound(2)">Custom 2</button><span
|
|
|
|
|
id="c2-file"></span><br>
|
|
|
|
|
<button class="btn waves-effect" style="width:120px;" onclick="customSound(3)">Custom 3</button><span
|
|
|
|
|
id="c3-file"></span><br>
|
|
|
|
|
<button class="btn waves-effect" style="width:120px;" onclick="customSound(4)">Custom 4</button><span
|
|
|
|
|
id="c4-file"></span><br>
|
2019-09-26 01:04:50 +10:00
|
|
|
|
<h5>@@vol@@</h5>
|
|
|
|
|
@@volwarn80@@<br>
|
|
|
|
|
<p class="range-field"><span id="soundVolVal">80</span><br>
|
|
|
|
|
<input type="range" id="soundvol" min="0" max="100" value="80" onchange="customVol()"
|
2019-09-17 01:59:25 +10:00
|
|
|
|
style="width:500px; max-width:100%" /></p>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<div class="collapsible-header">
|
|
|
|
|
<i class="material-icons">send</i>@@post@@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="collapsible-body">
|
|
|
|
|
<div id="postView">
|
|
|
|
|
<template v-for="(item, i) in config">
|
|
|
|
|
<h5>{{item.text.head}}</h5>
|
2019-04-15 01:45:04 +10:00
|
|
|
|
<template v-if="item.text.desc">
|
2019-07-10 23:48:36 +10:00
|
|
|
|
<span v-html="item.text.desc"></span><br>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
</template>
|
|
|
|
|
<template v-if="item.checkbox">
|
|
|
|
|
<template v-for="(check, j) in item.text.checkbox">
|
2019-09-26 01:04:50 +10:00
|
|
|
|
<template
|
|
|
|
|
v-if="(!check.kirishima || (check.kirishima && kirishima) )&& (!check.quote || (check.quote && quoters))">
|
2019-06-07 02:11:04 +10:00
|
|
|
|
<label><input class="with-gap" v-on:click="complete(i,check.value)"
|
|
|
|
|
v-model="item.setValue" type="radio" v-bind:id="item.id+check.value"
|
|
|
|
|
v-bind:value="check.value" />
|
|
|
|
|
<span>{{check.text}}</span></label>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<span v-if="check.kirishimaText">{{check.kirishimaText}}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-else>
|
|
|
|
|
<template v-if="item.doubleText">
|
|
|
|
|
<template v-for="(textbox, j) in item.data">
|
|
|
|
|
<input type="text" v-model="textbox.setValue" type="radio" v-bind:id="textbox.id"
|
|
|
|
|
v-bind:style="{ width: textbox.width+'px'}" />{{textbox.text.after}}
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-else>
|
|
|
|
|
<input type="text" v-model="item.setValue" type="radio" v-bind:id="item.id"
|
|
|
|
|
v-bind:style="{ width: item.width+'px'}" />{{item.text.after}}
|
|
|
|
|
</template>
|
|
|
|
|
<button class="btn waves-effect" style="width:100px;"
|
|
|
|
|
v-on:click="complete(i)">@@change@@</button>
|
|
|
|
|
</template><br>
|
2019-03-15 22:12:11 +11:00
|
|
|
|
</template>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<div class="collapsible-header">
|
2019-04-14 04:38:07 +10:00
|
|
|
|
<i class="material-icons">keyboard</i>@@keysc@@
|
2019-04-11 13:52:38 +10:00
|
|
|
|
</div>
|
|
|
|
|
<div class="collapsible-body">
|
|
|
|
|
<h5>@@iks@@</h5>
|
|
|
|
|
@@okswarn@@<br>
|
|
|
|
|
Ctrl+Shift+1:<input type="text" style="width:150px" id="oks-1">
|
|
|
|
|
<button onclick="oks(1)" class="btn waves-effect" style="width:100px;">@@set@@</button><br><br>
|
|
|
|
|
Ctrl+Shift+2:<input type="text" style="width:150px" id="oks-2">
|
|
|
|
|
<button onclick="oks(2)" class="btn waves-effect" style="width:100px;">@@set@@</button><br><br>
|
|
|
|
|
Ctrl+Shift+3:<input type="text" style="width:150px" id="oks-3">
|
|
|
|
|
<button onclick="oks(3)" class="btn waves-effect" style="width:100px;">@@set@@</button><br><br>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<div class="collapsible-header">
|
2019-03-15 22:12:11 +11:00
|
|
|
|
<i class="material-icons">bookmark</i>@@muteemp@@
|
2019-04-11 13:52:38 +10:00
|
|
|
|
</div>
|
|
|
|
|
<div class="collapsible-body">
|
|
|
|
|
<h5>@@climute@@</h5>
|
|
|
|
|
<div id="mute-cli"></div>
|
|
|
|
|
<h5>@@cliemp@@</h5>
|
|
|
|
|
@@cliwarn@@
|
|
|
|
|
<h5>@@wordmute@@</h5>
|
|
|
|
|
@@enter@@<br>
|
|
|
|
|
<div class="chips" id="wordmute" style="background-color:gray;"></div>
|
|
|
|
|
<button onclick="wordmuteSave()" class="btn waves-effect" style="width:100px;">@@set@@</button>
|
|
|
|
|
<h5>@@wordemp@@</h5>
|
|
|
|
|
@@enter@@<br>
|
|
|
|
|
<div class="chips" id="wordemp" style="background-color:gray;"></div>
|
|
|
|
|
<button onclick="wordempSave()" class="btn waves-effect" style="width:100px;">@@set@@</button>
|
|
|
|
|
<h5>@@useremp@@</h5>
|
|
|
|
|
@@useerempwarn@@
|
|
|
|
|
<span class="emphasized"> @@empcolorwarn@@ </span>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<div class="collapsible-header">
|
2019-08-14 03:49:51 +10:00
|
|
|
|
<i class="fab fa-spotify"></i>@@spotify@@
|
2019-04-11 13:52:38 +10:00
|
|
|
|
</div>
|
|
|
|
|
<div class="collapsible-body">
|
2019-06-07 02:11:04 +10:00
|
|
|
|
<br><br>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
@@spotifynote1@@<i class="material-icons" style="font-size:24px;">music_note</i>@@spotifynote2@@<br>
|
|
|
|
|
<h5>@@link@@</h5>
|
|
|
|
|
@@linkwarn@@<br>
|
|
|
|
|
<div id="spotify-code-show" class="hide"><input type="text" id="spotify-code"><button
|
|
|
|
|
onclick="spotifyAuth()" class="btn waves-effect" style="width:100px;">@@set@@</button></div>
|
|
|
|
|
<a onclick="spotifyConnect()" class="btn waves-effect nex"
|
|
|
|
|
style="width:100%; max-width:200px; background-color:#1ed760;" id="spotify-enable"><i
|
|
|
|
|
class="fa fa-spotify left"></i>@@connect@@</a>
|
|
|
|
|
<a onclick="spotifyDisconnect()" class="btn waves-effect nex disabled"
|
|
|
|
|
style="width:100%; max-width:200px; background-color:#1ed760;" id="spotify-disable"><i
|
|
|
|
|
class="fa fa-spotify left"></i>@@disconnect@@</a>
|
2019-07-02 01:37:58 +10:00
|
|
|
|
<h5>@@templateedit@@</h5>
|
|
|
|
|
@@templateeditwarn@@<br>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<textarea id="np-temp" class="materialize-textarea" data-length="500">#NowPlaying {song} / {album} / {artist}
|
2018-07-30 03:35:29 +10:00
|
|
|
|
{url}</textarea><br>
|
2019-07-02 01:37:58 +10:00
|
|
|
|
@@template1@@<br>
|
|
|
|
|
@@template2@@<br>
|
|
|
|
|
@@template3@@<br>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<button onclick="spotifySave()" class="btn waves-effect" style="width:100px;">@@set@@</button>
|
|
|
|
|
<h5>@@postartwork@@</h5>
|
2019-06-07 02:11:04 +10:00
|
|
|
|
<label>
|
2019-06-22 01:22:45 +10:00
|
|
|
|
<input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_yes"
|
|
|
|
|
value="yes" />
|
2019-06-07 02:11:04 +10:00
|
|
|
|
<span>@@yes@@</span>
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
2019-06-22 01:22:45 +10:00
|
|
|
|
<input class="with-gap" onchange="spotifyFlagSave()" name="awk" type="radio" id="awk_no"
|
|
|
|
|
value="no" />
|
2019-06-07 02:11:04 +10:00
|
|
|
|
<span>@@no@@</span>
|
|
|
|
|
</label>
|
|
|
|
|
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<br>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<div class="collapsible-header">
|
|
|
|
|
<i class="material-icons">hearing</i>@@tts@@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="collapsible-body">
|
2019-09-26 01:04:50 +10:00
|
|
|
|
<h5>@@bouyomi@@</h5>
|
|
|
|
|
@@bouyomiWarn@@<a href="https://github.com/xztaityozx/BouyomiChan-WebSocket-Plugin" target="_blank">GitHub</a><br>
|
|
|
|
|
<label>
|
|
|
|
|
<input class="with-gap" onchange="voiceSettings()" name="bym" type="radio" id="bym_yes"
|
|
|
|
|
value="yes" />
|
|
|
|
|
<span>@@yes@@</span>
|
|
|
|
|
</label>
|
|
|
|
|
<label>
|
|
|
|
|
<input class="with-gap" onchange="voiceSettings()" name="bym" type="radio" id="bym_no"
|
|
|
|
|
value="no" />
|
|
|
|
|
<span>@@no@@</span>
|
|
|
|
|
</label>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<h5>@@speed@@</h5>
|
|
|
|
|
@@speedwarn@@<br>
|
2019-09-17 01:59:25 +10:00
|
|
|
|
<p class="range-field"><span id="voicespeedVal">10</span><br>
|
2019-09-26 01:04:50 +10:00
|
|
|
|
<input type="range" id="voicespeed" min="1" max="100" value="10"
|
|
|
|
|
onchange="document.getElementById('voicespeedVal').innerText=this.value"
|
2019-04-11 13:52:38 +10:00
|
|
|
|
style="width:500px; max-width:100%" /></p>
|
|
|
|
|
<h5>@@pitch@@</h5>
|
|
|
|
|
@@pitchwarn@@<br>
|
2019-09-17 01:59:25 +10:00
|
|
|
|
<p class="range-field"><span id="voicepitchVal">50</span><br>
|
2019-09-26 01:04:50 +10:00
|
|
|
|
<input type="range" id="voicepitch" min="0" max="100" value="50"
|
|
|
|
|
onchange="document.getElementById('voicepitchVal').innerText=this.value"
|
2019-04-11 13:52:38 +10:00
|
|
|
|
style="width:500px; max-width:100%" /></p>
|
|
|
|
|
<h5>@@vol@@</h5>
|
|
|
|
|
@@volwarn@@<br>
|
2019-09-17 01:59:25 +10:00
|
|
|
|
<p class="range-field"><span id="voicevolVal">100</span><br>
|
2019-09-26 01:04:50 +10:00
|
|
|
|
<input type="range" id="voicevol" min="0" max="100" value="100"
|
|
|
|
|
onchange="document.getElementById('voicevolVal').innerText=this.value"
|
2019-04-11 13:52:38 +10:00
|
|
|
|
style="width:500px; max-width:100%" /></p>
|
|
|
|
|
<h5>@@test@@</h5>
|
|
|
|
|
<input type="text" style="width:350px" id="voicetxt" value="@@sample@@">
|
|
|
|
|
<button class="btn waves-effect blue" style="width:150px;" onclick="voicePlay()"
|
|
|
|
|
id="testplay">@@playstop@@</button><br>
|
|
|
|
|
<br>
|
|
|
|
|
<button class="btn waves-effect" style="width:100px;" onclick="voiceSettings()">@@set@@</button>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<br>
|
|
|
|
|
<a href="index.html" class="btn waves-effect orange nex" style="width:100%; max-width:200px;"><i
|
|
|
|
|
class="material-icons left">undo</i>@@back@@</a>
|
2018-07-30 03:35:29 +10:00
|
|
|
|
<br>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<br>@@keyscs@@
|
|
|
|
|
<li>Ctrl+1-9:@@keyscr@@</li>
|
|
|
|
|
<li>N:@@keynew@@</li>
|
|
|
|
|
<li>X:@@keytoggle@@</li>
|
|
|
|
|
<li>Ctrl+Enter:@@keypost@@</li>
|
|
|
|
|
<li>Ctrl+Enter+Shift:@@keysecpost@@</li>
|
|
|
|
|
<li>Alt+Enter:@@secondary@@</li>
|
|
|
|
|
<li>Ctrl+E:@@keyunread@@</li>
|
2019-07-13 01:00:26 +10:00
|
|
|
|
<li>Ctrl+U:@@keyselecttop@@</li>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<li>Esc:@@keyesc@@</li>
|
|
|
|
|
<li>F5:@@keyf5@@</li>
|
|
|
|
|
<li>Ctrl+Shift+C:@@keyclear@@</li>
|
|
|
|
|
<li>Ctrl+Shift+S:@@setting@@</li>
|
|
|
|
|
<li>Ctrl+Shift+M:@@keyacctman@@</li>
|
|
|
|
|
<li>Ctrl+Shift+N:NowPlaying(Spotify)</li>
|
|
|
|
|
<li>Ctrl+Shift+P:@@keyshowprof@@</li>
|
|
|
|
|
<li>←/→:@@keyrow@@</li>
|
|
|
|
|
<li>@@keyzoom@@</li>
|
|
|
|
|
<div class="hide kirishima">
|
|
|
|
|
以下Markdownに対応したインスタンスのみ。
|
|
|
|
|
<br>
|
|
|
|
|
<li>Ctrl+B/I/S/U:太字/斜字/取り消し/下線</li>
|
|
|
|
|
以下アスタルテにログインしている場合のみ
|
|
|
|
|
<br>
|
|
|
|
|
<li>Ctrl+R:
|
|
|
|
|
<a href="https://astarte.thedesk.top">アスタルテ暇人ランキング</a>を開く
|
|
|
|
|
</li><br>
|
2019-09-26 01:04:50 +10:00
|
|
|
|
@@whenSelected@@
|
|
|
|
|
<li>F:@@fav@@</li>
|
|
|
|
|
<li>B:@@bt@@</li>
|
|
|
|
|
<li>R:@@reply@@</li>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
</div>
|
|
|
|
|
<button class="btn waves-effect red" style="width:100%; max-width:500px;"
|
|
|
|
|
onclick="if(confirm('@@resetconfirm@@')){ localStorage.clear(); location.href='index.html'; }"><i
|
|
|
|
|
class="material-icons left">delete</i>@@reset@@</button><br><br>
|
|
|
|
|
<button class="btn waves-effect indigo" onclick="about()" style="width:100%; max-width:500px;"><i
|
|
|
|
|
class="material-icons left">info</i>@@about@@</button>
|
|
|
|
|
<a href="https://thedesk.top" class="btn waves-effect deep-purple lighten-2" style="width:100%; max-width:500px;"><i
|
|
|
|
|
class="material-icons left">web</i>@@hp@@</a>
|
|
|
|
|
<a href="https://www.pixiv.net/fanbox/creator/28105985" class="btn waves-effect red lighten-2"
|
|
|
|
|
style="width:100%; max-width:500px;"><i class="material-icons left">trending_up</i>@@support@@(Pixiv FANBOX)</a>
|
2019-05-19 17:54:23 +10:00
|
|
|
|
<a href="https://www.patreon.com/cutls" class="btn waves-effect red darken-2"
|
|
|
|
|
style="width:100%; max-width:500px;"><i class="material-icons left">trending_up</i>@@support@@(Patreon)</a>
|
2019-08-08 03:06:13 +10:00
|
|
|
|
<a href="https://liberapay.com/cutls" class="btn waves-effect black-text"
|
2019-09-26 01:04:50 +10:00
|
|
|
|
style="width:100%; max-width:500px; background-color: #f6c915"><i
|
|
|
|
|
class="material-icons left">trending_up</i>@@support@@(Liberapay)</a>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<a href="https://docs.thedesk.top" class="btn waves-effect blue darken-2" style="width:100%; max-width:500px;"><i
|
2019-08-08 03:06:13 +10:00
|
|
|
|
class="material-icons left">list</i>@@help@@/Docs</a>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<a href="https://github.com/cutls/TheDesk" class="btn waves-effect black lighten-2"
|
2019-08-14 03:49:51 +10:00
|
|
|
|
style="width:100%; max-width:500px;"><i class="fab fa-github left"></i>GitHub</a>
|
2019-05-03 02:08:46 +10:00
|
|
|
|
<a href="index.html?mode=user&code=Cutls@cutls.com" class="btn waves-effect blue lighten-2"
|
2019-04-11 13:52:38 +10:00
|
|
|
|
style="width:100%; max-width:500px;"><img src="../../img/desk_full.svg" class="left" width="25"
|
2019-09-03 10:57:56 +10:00
|
|
|
|
style="padding-top:5px;">Main author: Cutls@cutls.com</a>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<br>
|
2019-08-26 22:06:07 +10:00
|
|
|
|
TheDesk @ <a href="https://github.com/cutls/TheDesk/commits/@@gitHash@@">@@gitHash@@</a><br>
|
|
|
|
|
<br>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
Kyash<br>
|
|
|
|
|
<img src="../../img/kyash.png" width="100"><br>
|
|
|
|
|
<a onclick="localStorage.removeItem('new-ver-skip'); location.href='index.html';"
|
|
|
|
|
class="pointer">@@checkup@@</a><br>
|
|
|
|
|
<a href="oss.html">OSS License@@ossJP@@</a><br>
|
2019-08-26 22:06:07 +10:00
|
|
|
|
<br>
|
2019-05-11 02:31:15 +10:00
|
|
|
|
<span style="font-family:Open Sans;">Copyright © TheDesk 2018
|
2019-09-26 01:04:50 +10:00
|
|
|
|
Under <a href="https://github.com/cutls/TheDesk/blob/master/LICENSE">GNU General Public License v3.0</a> and <a
|
|
|
|
|
href="https://thedesk.top/priv.html">Privacy
|
2019-04-11 13:52:38 +10:00
|
|
|
|
Policy</a>
|
|
|
|
|
<br>
|
|
|
|
|
</span><br>
|
|
|
|
|
TheDeskおよびCutls Pは<a href="https://donken.org/">被災地支援のためのマストドン研究会</a>をログイン機能提供等の形で応援しています。<br>
|
|
|
|
|
タグタイムラインを開く:<a href="index.html?mode=tag&code=被災地支援のためのマストドン研究会">#被災地支援のためのマストドン研究会</a><br>
|
2019-06-07 02:11:04 +10:00
|
|
|
|
<script type="text/javascript" src="../../js/common/modal.js"></script>
|
2019-04-11 13:52:38 +10:00
|
|
|
|
<script type="text/javascript" src="../../js/common/about.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../js/platform/end.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../js/login/logout.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../js/ui/spotify.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../js/tl/speech.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../js/platform/pickr.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../js/ui/settings.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../../js/ui/theme.js"></script>
|
2019-09-26 01:04:50 +10:00
|
|
|
|
<script type="text/javascript" src="../../js/tl/date.js"></script>
|