From 494f6a85851ce8afbe1958e12f9febca9c6ce5bb Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 3 Nov 2018 19:57:44 +0900 Subject: [PATCH] Improve usability of Admin panel --- locales/ja-JP.yml | 1 + src/client/app/admin/views/index.vue | 23 ++++++++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 11866c0fa..8c32b5f8d 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1077,6 +1077,7 @@ admin/views/index.vue: update: "更新" announcements: "お知らせ" hashtags: "ハッシュタグ" + back-to-misskey: "Misskeyに戻る" admin/views/dashboard.vue: dashboard: "ダッシュボード" diff --git a/src/client/app/admin/views/index.vue b/src/client/app/admin/views/index.vue index 7614d2609..e00091e58 100644 --- a/src/client/app/admin/views/index.vue +++ b/src/client/app/admin/views/index.vue @@ -16,6 +16,9 @@ +
+ %fa:arrow-left% %i18n:@back-to-misskey% +
Misskey {{ version }}
@@ -103,8 +106,26 @@ export default Vue.extend({ white-space nowrap font-size 15px + > .back-to-misskey + margin 16px 16px 0 16px + padding 0 + border-top solid 1px #555 + + > a + display block + padding 16px 4px + color inherit + text-decoration none + color #eee + + &:hover + color #fff + + > [data-fa] + margin-right 6px + > .version - margin 16px + margin 0 16px 16px 16px padding-top 16px border-top solid 1px #555 text-align center