From d7881ba1297f846165b94b3498b13260849cf406 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 3 Nov 2018 03:00:23 +0900 Subject: [PATCH] Improve admin page --- locales/ja-JP.yml | 26 ++ src/client/app/admin/views/charts.vue | 429 +++++++++++++++++++++++ src/client/app/admin/views/dashboard.vue | 11 +- 3 files changed, 465 insertions(+), 1 deletion(-) create mode 100644 src/client/app/admin/views/charts.vue diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 17e860aee..c1555132d 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1089,6 +1089,32 @@ admin/views/dashboard.vue: disableRegistration: "Disable new user registration" disableLocalTimeline: "Disable the local timeline" +admin/views/charts.vue: + title: "チャート" + per-day: "1日ごと" + per-hour: "1時間ごと" + federation: "フェデレーション" + notes: "投稿" + users: "ユーザー" + drive: "ドライブ" + network: "ネットワーク" + charts: + federation-instances: "インスタンスの増減" + federation-instances-total: "インスタンスの積算" + notes: "投稿の増減 (統合)" + local-notes: "投稿の増減 (ローカル)" + remote-notes: "投稿の増減 (リモート)" + notes-total: "投稿の積算" + users: "ユーザーの増減" + users-total: "ユーザーの積算" + drive: "ドライブ使用量の増減" + drive-total: "ドライブ使用量の積算" + drive-files: "ドライブのファイル数の増減" + drive-files-total: "ドライブのファイル数の積算" + network-requests: "リクエスト" + network-time: "応答時間" + network-usage: "通信量" + admin/views/users.vue: suspend-user: "ユーザーの凍結" suspend: "凍結" diff --git a/src/client/app/admin/views/charts.vue b/src/client/app/admin/views/charts.vue new file mode 100644 index 000000000..13eb1f85e --- /dev/null +++ b/src/client/app/admin/views/charts.vue @@ -0,0 +1,429 @@ + + + + + diff --git a/src/client/app/admin/views/dashboard.vue b/src/client/app/admin/views/dashboard.vue index a48d184cf..8926d0fed 100644 --- a/src/client/app/admin/views/dashboard.vue +++ b/src/client/app/admin/views/dashboard.vue @@ -51,6 +51,10 @@ +
+ +
+
@@ -60,10 +64,12 @@