TheDesk Mizuki (ver.6)
This commit is contained in:
parent
8902ef55c1
commit
223296a4cd
14
LATEST.md
14
LATEST.md
|
@ -1,16 +1,18 @@
|
|||
## For Astarte(kirishima.cloud), My Primary Instance
|
||||
|
||||
TheDesk :thedesk: Mizuki (ver.5[fixed])
|
||||
・画像添付時のバグを修正
|
||||
・ユーザーデータの表示に関するバグを修正
|
||||
TheDesk :thedesk: Mizuki (ver.6)
|
||||
・リストに関するバグを修正
|
||||
・サポートインスタンスに関する修正
|
||||
・カラーテーマ追加
|
||||
ほか
|
||||
https://thedesk.top
|
||||
:github: https://github.com/cutls/TheDesk #Desk #DeskUpdate
|
||||
|
||||
## For Other Instances
|
||||
|
||||
PCクライアントTheDesk :thedesk: Mizuki (ver.5[fixed])
|
||||
・画像添付時のバグを修正
|
||||
・ユーザーデータの表示に関するバグを修正
|
||||
PCクライアントTheDesk :thedesk: Mizuki (ver.6)
|
||||
・リストに関するバグを修正
|
||||
・サポートインスタンスに関する修正
|
||||
・カラーテーマ追加
|
||||
TheDeskはマルチカラム,マルチアカウントはもちろんのこと,なにかとマストドンライフをシンプルに効率化するクライアントです。
|
||||
https://thedesk.top
|
|
@ -26,6 +26,9 @@ app:Raw files(you can download to modify or check)
|
|||
|
||||
app:そのままのファイル。ダウンロード→テスト用
|
||||
|
||||
desk.icns: If you build yourself on macOS, you can use this .icns file as icon.
|
||||
desk.icns: macOS向けアイコン。セルフビルドにどうぞ。
|
||||
|
||||
## Language/言語
|
||||
|
||||
Japanese
|
||||
|
|
|
@ -200,14 +200,50 @@ blockquote:before, .quote:before {
|
|||
.blacktheme #imagemodal,.blacktheme #videomodal,.blacktheme #tootmodal {
|
||||
background-color: black;
|
||||
}
|
||||
.blacktheme .collapsible-header {
|
||||
.blacktheme .collapsible-header,.blacktheme .tabs,.blacktheme #pip {
|
||||
background-color: #212121;
|
||||
}
|
||||
.blacktheme .tabs {
|
||||
background-color: #212121;
|
||||
/*indigo theme*/
|
||||
.indigotheme body {
|
||||
color: white;
|
||||
background-color: #031833;
|
||||
}
|
||||
.blacktheme #pip {
|
||||
background-color: #212121;
|
||||
.indigotheme #drag {
|
||||
color: white;
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
position: fixed;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
z-index: 99999;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.indigotheme #imagemodal,.indigotheme #videomodal,.indigotheme #tootmodal {
|
||||
background-color: #0d1351;
|
||||
}
|
||||
.indigotheme .collapsible-header,.indigotheme .tabs,.indigotheme #pip {
|
||||
background-color: #0d1351;
|
||||
}
|
||||
/*brown theme*/
|
||||
.browntheme body {
|
||||
color: white;
|
||||
background-color: #261411;
|
||||
}
|
||||
.browntheme #drag {
|
||||
color: white;
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
position: fixed;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
z-index: 99999;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.browntheme #imagemodal,.browntheme #videomodal,.browntheme #tootmodal {
|
||||
background-color: #261411;
|
||||
}
|
||||
.browntheme .collapsible-header,.browntheme .tabs,.browntheme #pip {
|
||||
background-color: #4e342e;
|
||||
}
|
||||
|
||||
/*スクロールバー*/
|
||||
|
|
|
@ -57,7 +57,6 @@
|
|||
height: calc(100% - 190px);
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.emoji-control {}
|
||||
#preview-field {
|
||||
display: none;
|
||||
}
|
||||
|
@ -65,11 +64,25 @@
|
|||
color:white;
|
||||
margin-right:2px;
|
||||
}
|
||||
.character-counter{
|
||||
position: relative;
|
||||
top: -25px;
|
||||
}
|
||||
|
||||
|
||||
/*black theme*/
|
||||
.blacktheme #post-box {
|
||||
background-color: #424242;
|
||||
}
|
||||
/*indigo theme*/
|
||||
.indigotheme #post-box {
|
||||
background-color: #1a237e ;
|
||||
}
|
||||
/*brown theme*/
|
||||
.browntheme #post-box {
|
||||
background-color: #4e342e;
|
||||
}
|
||||
/*
|
||||
.blacktheme #drag {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
|
@ -77,10 +90,8 @@
|
|||
color: white;
|
||||
padding: 3px;
|
||||
}
|
||||
.character-counter{
|
||||
position: relative;
|
||||
top: -25px;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
/*mini*/
|
||||
.mini-post .mize{
|
||||
|
|
|
@ -309,30 +309,50 @@ p:not(:last-child){
|
|||
}
|
||||
|
||||
/*black theme*/
|
||||
.blacktheme .notf-box {
|
||||
.blacktheme .notf-box,.blacktheme .modal-footer,.blacktheme #sidebar {
|
||||
background-color: #424242;
|
||||
}
|
||||
.blacktheme .modal-footer {
|
||||
background-color: #424242;
|
||||
}
|
||||
.blacktheme .btn-flat {
|
||||
.blacktheme .btn-flat,.blacktheme .mention ,.blacktheme #sidebar a {
|
||||
color: white
|
||||
}
|
||||
.blacktheme .shared {
|
||||
background-color: #004d40;
|
||||
}
|
||||
.blacktheme .mention {
|
||||
color: white;
|
||||
}
|
||||
.blacktheme .notice-box {
|
||||
background-color: #333333;
|
||||
}
|
||||
.blacktheme .emphasized {
|
||||
background-color: #4e342e;
|
||||
}
|
||||
.blacktheme #sidebar{
|
||||
background-color: #424242;
|
||||
/*indigo theme*/
|
||||
.indigotheme .notf-box,.indigotheme .modal-footer,.indigotheme #sidebar {
|
||||
background-color: #0d1351;
|
||||
}
|
||||
.blacktheme #sidebar a{
|
||||
color:white;
|
||||
.indigotheme .btn-flat,.indigotheme .mention ,.indigotheme #sidebar a {
|
||||
color: white
|
||||
}
|
||||
.indigotheme .shared {
|
||||
background-color: #004d40;
|
||||
}
|
||||
.indigotheme .notice-box {
|
||||
background-color: #0d47a1;
|
||||
}
|
||||
.indigotheme .emphasized {
|
||||
background-color: #4e342e;
|
||||
}
|
||||
/*brown theme*/
|
||||
.browntheme .notf-box,.browntheme .modal-footer,.browntheme #sidebar {
|
||||
background-color: #4e342e;
|
||||
}
|
||||
.browntheme .btn-flat,.browntheme .mention ,.browntheme #sidebar a {
|
||||
color: white
|
||||
}
|
||||
.browntheme .shared {
|
||||
background-color: #004d40;
|
||||
}
|
||||
.browntheme .notice-box {
|
||||
background-color: #4e342e;
|
||||
}
|
||||
.browntheme .emphasized {
|
||||
background-color: #0d47a1;
|
||||
}
|
|
@ -42,3 +42,17 @@
|
|||
.blacktheme .active-back{
|
||||
background-color:#757575;
|
||||
}
|
||||
/*indigo theme*/
|
||||
.indigotheme #his-data-show {
|
||||
background-color: rgba(13, 19, 81,0.8);
|
||||
}
|
||||
.indigotheme .active-back{
|
||||
background-color:#757575;
|
||||
}
|
||||
/*brown theme*/
|
||||
.browntheme #his-data-show {
|
||||
background-color: rgba(62, 39, 35,0.8);
|
||||
}
|
||||
.browntheme .active-back{
|
||||
background-color:#757575;
|
||||
}
|
BIN
app/desk.icns
Normal file
BIN
app/desk.icns
Normal file
Binary file not shown.
|
@ -26,7 +26,7 @@
|
|||
<script type="text/javascript" src="./js/ui/jquery-ui.min.js"></script>
|
||||
<script>
|
||||
//必ずアプデ時のremove instance消して!
|
||||
var ver="Mizuki (ver.5[fixed])";
|
||||
var ver="Mizuki (ver.6)";
|
||||
//betaを入れるとバージョンチェックしない
|
||||
//var ver="beta";
|
||||
var acct_id=0;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
//アスタルテ判定初期化
|
||||
|
||||
localStorage.removeItem("kirishima")
|
||||
localStorage.removeItem("imas")
|
||||
localStorage.removeItem("image");
|
||||
var idata={
|
||||
"kirishima.cloud":"instance",
|
||||
|
@ -12,7 +13,7 @@ var idata={
|
|||
"kirishima.cloud_markdown":"disabled",
|
||||
"minohdon.jp":"instance",
|
||||
"minohdon.jp_name":"箕面丼",
|
||||
"minohdon.jp_letters":"5000",
|
||||
"minohdon.jp_letters":"500",
|
||||
"minohdon.jp_bbcode":"disabled",
|
||||
"minohdon.jp_markdown":"disabled",
|
||||
"knzk.me":"instance",
|
||||
|
@ -64,7 +65,7 @@ var idata={
|
|||
"mstdn.kemono-friends.info_public":"ジャパリパーク",
|
||||
"itabashi.0j0.jp":"instance",
|
||||
"itabashi.0j0.jp_name":"板橋丼",
|
||||
"itabashi.0j0.jp_letters":"500",
|
||||
"itabashi.0j0.jp_letters":"1024",
|
||||
"itabashi.0j0.jp_bbcode":"disabled",
|
||||
"itabashi.0j0.jp_markdown":"disabled",
|
||||
};
|
||||
|
@ -306,6 +307,8 @@ function ckdb(acct_id) {
|
|||
if(domain=="kirishima.cloud"){
|
||||
localStorage.setItem("kirishima", "true");
|
||||
$("#ranking-btn").show();
|
||||
}else if(domain=="imastodon.nat"){
|
||||
localStorage.setItem("imas", "true");
|
||||
}
|
||||
var at = localStorage.getItem(domain + "_at");
|
||||
var bbcode = domain + "_bbcode";
|
||||
|
@ -325,11 +328,7 @@ function ckdb(acct_id) {
|
|||
$("[data-activates='bbcode']").addClass("disabled");
|
||||
$("[data-activates='bbcode']").addClass("disabled", true);
|
||||
}
|
||||
if (json[letters]) {
|
||||
if($("#textarea").attr("data-length")<json[letters]){
|
||||
$("#textarea").attr("data-length", json[letters]);
|
||||
}
|
||||
} else {}
|
||||
|
||||
if (json[domain + "_markdown"] == "enabled") {
|
||||
localStorage.setItem("md_" + acct_id, "true");
|
||||
$(".markdown").show();
|
||||
|
@ -391,6 +390,12 @@ function multi() {
|
|||
var list = key * 1 + 1;
|
||||
if (key == last) {
|
||||
sel = "selected";
|
||||
var domain = localStorage.getItem("domain_" + key);
|
||||
if(idata[domain+"_letters"]){
|
||||
$("#textarea").attr("data-length", idata[domain+"_letters"])
|
||||
}else{
|
||||
$("#textarea").attr("data-length", 500)
|
||||
}
|
||||
var profimg=localStorage.getItem("prof_"+key);
|
||||
var domain=localStorage.getItem("domain_"+key);
|
||||
if(!profimg){
|
||||
|
|
|
@ -28,6 +28,11 @@ function mdCheck(){
|
|||
}else{
|
||||
$("#faicon-btn").hide();
|
||||
}
|
||||
if(idata[domain+"_letters"]){
|
||||
$("#textarea").attr("data-length", idata[domain+"_letters"])
|
||||
}else{
|
||||
$("#textarea").attr("data-length", 500)
|
||||
}
|
||||
}
|
||||
//BOXのトグルボタン
|
||||
function mdToggle(){
|
||||
|
|
|
@ -333,7 +333,7 @@ function parse(obj, mix, acct_id, tlid, popup) {
|
|||
var vis =
|
||||
'<i class="text-darken-3 material-icons blue-text vis-data pointer" title="未収載(クリックして本文コピー)" data-vis="unlisted" onclick="staCopy(\''+id+'\')">lock_open</i>';
|
||||
var can_rt = "";
|
||||
} else if (visen == "plivate") {
|
||||
} else if (visen == "private") {
|
||||
var vis =
|
||||
'<i class="text-darken-3 material-icons orange-text vis-data pointer" title="非公開(クリックして本文コピー)" data-vis="private" onclick="staCopy(\''+id+'\')">lock</i>';
|
||||
var can_rt = "hide";
|
||||
|
|
|
@ -198,6 +198,8 @@ function moreload(type, tlid) {
|
|||
if(tag=="local"){
|
||||
data=data+"&local=true";
|
||||
}
|
||||
}else if(type=="list"){
|
||||
var data=obj[tlid].data;
|
||||
}
|
||||
var sid = $("#timeline_" + tlid + " .cvo").last().attr("toot-id");
|
||||
if (localStorage.getItem("morelock") != sid) {
|
||||
|
|
|
@ -103,7 +103,7 @@ function parseColumn() {
|
|||
')" class="setting nex"><i class="material-icons waves-effect nex" title="このカラムを削除"'+icnsert+'>cancel</i></a></div>'+
|
||||
'<div class="area-a3"><a onclick="setToggle(' + key +
|
||||
')" class="setting nex" title="このカラムの設定"'+icnsert+'><i class="material-icons waves-effect nex">settings</i></a></div></div>'+
|
||||
'<div class="hide notf-indv-box" id="notf-box_' + key +
|
||||
'<div class="hide notf-indv-box z-depth-4" id="notf-box_' + key +
|
||||
'"><div id="notifications_' + key +
|
||||
'" data-notf="' + acct.domain + '"></div></div><div class="hide notf-indv-box" id="util-box_' + key +
|
||||
'" style="padding:5px;"><a onclick="mediaToggle(' + key +
|
||||
|
|
|
@ -130,6 +130,9 @@ function settings() {
|
|||
|
||||
//読み込み時の設定ロード
|
||||
function load() {
|
||||
if(localStorage.getItem("kirishima")){
|
||||
$(".imas").removeClass("hide");
|
||||
}
|
||||
var prof = localStorage.getItem("prof");
|
||||
$("#my-prof").attr("src", prof);
|
||||
var datetype = localStorage.getItem("datetype");
|
||||
|
|
|
@ -8,8 +8,30 @@ function themes(theme) {
|
|||
}
|
||||
}
|
||||
if (theme == "black") {
|
||||
$("html").removeClass("indigotheme");
|
||||
$("html").removeClass("greentheme");
|
||||
$("html").removeClass("browntheme");
|
||||
$("html").addClass("blacktheme");
|
||||
} else if (theme == "indigo") {
|
||||
$("html").removeClass("blacktheme");
|
||||
$("html").removeClass("greentheme");
|
||||
$("html").removeClass("browntheme");
|
||||
$("html").addClass("indigotheme");
|
||||
} else if (theme == "green") {
|
||||
$("html").removeClass("indigotheme");
|
||||
$("html").removeClass("greentheme");
|
||||
$("html").removeClass("browntheme");
|
||||
$("html").removeClass("blacktheme");
|
||||
$("html").addClass("greentheme");
|
||||
} else if (theme == "brown") {
|
||||
$("html").removeClass("indigotheme");
|
||||
$("html").removeClass("greentheme");
|
||||
$("html").removeClass("blacktheme");
|
||||
$("html").addClass("browntheme");
|
||||
} else{
|
||||
$("html").removeClass("indigotheme");
|
||||
$("html").removeClass("greentheme");
|
||||
$("html").removeClass("browntheme");
|
||||
$("html").removeClass("blacktheme");
|
||||
}
|
||||
}
|
||||
|
|
10
app/main.js
10
app/main.js
|
@ -41,7 +41,6 @@ try {
|
|||
height: 750
|
||||
}; // デフォルトバリュー
|
||||
}
|
||||
|
||||
// 全てのウィンドウが閉じたら終了
|
||||
app.on('window-all-closed', function() {
|
||||
if (process.platform != 'darwin') {
|
||||
|
@ -52,7 +51,14 @@ app.on('window-all-closed', function() {
|
|||
|
||||
function createWindow() {
|
||||
// メイン画面の表示。ウィンドウの幅、高さを指定できる
|
||||
mainWindow = new BrowserWindow(window_size);
|
||||
var platform=process.platform;
|
||||
var bit=process.arch;
|
||||
if(platform=="linux"){
|
||||
var arg={width:window_size.width,height:window_size.height,icon: __dirname + '/thedesk.ico'}
|
||||
}else{
|
||||
var arg=window_size
|
||||
}
|
||||
mainWindow = new BrowserWindow(arg);
|
||||
electron.session.defaultSession.clearCache(() => {})
|
||||
if(process.argv){
|
||||
if(process.argv[1]){
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "TheDesk",
|
||||
"version": "14.5.1",
|
||||
"version": "14.6.0",
|
||||
"description": "TheDesk on Mastodonはシンプルと多機能を両立したデスクトップ向けクライアントです",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -22,9 +22,13 @@
|
|||
<div class="collapsible-body">
|
||||
<h5>テーマの設定</h5>
|
||||
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="black" value="black" />
|
||||
<label for="black">黒</label>
|
||||
<label for="black">Black</label>
|
||||
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="white" value="white" />
|
||||
<label for="white">白</label>
|
||||
<label for="white">White</label>
|
||||
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="indigo" value="indigo" />
|
||||
<label for="indigo">Indigo<span class="imas hide">(エンドレスナイト)</span></label>
|
||||
<input class="with-gap" onchange="settings()" name="theme" type="radio" id="brown" value="brown" />
|
||||
<label for="brown">Brown<span class="imas hide">(ビタースイート・タイム)</span></label>
|
||||
<br>
|
||||
<h5>新規通知のポップアップお知らせの表示秒数</h5>0に設定すると表示されません
|
||||
<br>
|
||||
|
|
Loading…
Reference in New Issue
Block a user