From c5151f6db0c9dd879143ca05b857bafd344beb68 Mon Sep 17 00:00:00 2001 From: cutls Date: Fri, 17 Aug 2018 02:21:40 +0900 Subject: [PATCH] TheDesk Akane (16.0.8) --- README.md | 8 +- app/css/master.css | 22 +++- app/index.sample.html | 24 ++-- app/js/lang/lang.js | 8 ++ app/js/lang/setting.lang.js | 8 +- app/js/login/login.js | 92 ++++++++++++-- app/js/login/manager.js | 78 ++++++------ app/js/post/misskeystatus.js | 48 +++++++ app/js/tl/card.js | 237 ++++++++++++++++++++++------------- app/js/tl/misskeyparse.js | 41 ++++-- app/js/tl/mix.js | 4 +- app/js/tl/notification.js | 34 ++--- app/js/tl/parse.js | 54 ++++---- app/js/tl/tag.js | 1 - app/js/tl/tl.js | 121 +++++++++++++++++- app/js/ui/layout.js | 11 +- app/js/ui/settings.js | 13 ++ app/language/setting.en.json | 5 +- app/language/setting.ja.json | 7 +- app/package.json | 2 +- app/setting.html | 12 +- app/setting.sample.html | 10 +- 22 files changed, 633 insertions(+), 207 deletions(-) diff --git a/README.md b/README.md index fdb86f88..52e10b79 100644 --- a/README.md +++ b/README.md @@ -69,4 +69,10 @@ macOS ## See also/詳しく -[TheDesk - マストドン日本語ウィキ](https://ja.mstdn.wiki/TheDesk) \ No newline at end of file +[TheDesk - マストドン日本語ウィキ](https://ja.mstdn.wiki/TheDesk) + +## How to use Misskey on TheDesk/MisskeyをTheDeskで使う + +1. Make `.tkn` on 'app' folder.(/TheDesk/app/.tkn) (If you use build-ver TheDesk, you make it on 'resources' folder./ `.tkn`というファイルを「app」フォルダ内に作成してください。(もしビルド済みのものを利用されている場合、resourcesフォルダになります。) + +1. Access https://misskey.xyz/dev and make your app!! (Callback URL: https://thedesk.top/misskey.html / all permitions must be allowed.) \ No newline at end of file diff --git a/app/css/master.css b/app/css/master.css index d75e3152..ee5c24b0 100644 --- a/app/css/master.css +++ b/app/css/master.css @@ -175,7 +175,27 @@ blockquote:before, .quote:before { content: "From Twitter"; font-size: 1.8rem; line-height: 1em; - font-family: Open Sans, cursive; + font-family: Open Sans; + color: #999; + position: absolute; + right: 0; + top: 0; +} +.pixiv-post { + color: black; + background-color: #fff; + padding: 1em 1em 1em; + position: relative; + border-top-left-radius: 10px; + border-bottom-right-radius: 10px; + border-bottom-left-radius: 10px; + border-left: 5px solid #0096fa; +} +.pixiv-post :before { + content: "From Pixiv"; + font-size: 1.8rem; + line-height: 1em; + font-family: Open Sans; color: #999; position: absolute; right: 0; diff --git a/app/index.sample.html b/app/index.sample.html index 72a21fa6..4363bb45 100644 --- a/app/index.sample.html +++ b/app/index.sample.html @@ -26,7 +26,7 @@