From 7d7193cb63ac8811152707a6896e5cf7ae05258c Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 11 Jun 2018 11:24:29 +0900 Subject: [PATCH] :v: --- locales/ja.yml | 3 + .../common/views/widgets/hashtags.chart.vue | 78 +++++++++++++++++++ .../app/common/views/widgets/hashtags.vue | 57 +++++++------- src/server/api/endpoints/hashtags/trend.ts | 12 ++- 4 files changed, 119 insertions(+), 31 deletions(-) create mode 100644 src/client/app/common/views/widgets/hashtags.chart.vue diff --git a/locales/ja.yml b/locales/ja.yml index 64ee00dba5..da751c9e39 100644 --- a/locales/ja.yml +++ b/locales/ja.yml @@ -254,6 +254,9 @@ common/views/widgets/posts-monitor.vue: title: "投稿チャート" toggle: "表示を切り替え" +common/views/widgets/hashtags.vue: + title: "ハッシュタグ" + common/views/widgets/server.vue: title: "サーバー情報" toggle: "表示を切り替え" diff --git a/src/client/app/common/views/widgets/hashtags.chart.vue b/src/client/app/common/views/widgets/hashtags.chart.vue new file mode 100644 index 0000000000..19b56ef283 --- /dev/null +++ b/src/client/app/common/views/widgets/hashtags.chart.vue @@ -0,0 +1,78 @@ + + + diff --git a/src/client/app/common/views/widgets/hashtags.vue b/src/client/app/common/views/widgets/hashtags.vue index 0ac62af705..c4647ee0f9 100644 --- a/src/client/app/common/views/widgets/hashtags.vue +++ b/src/client/app/common/views/widgets/hashtags.vue @@ -6,7 +6,12 @@

%fa:spinner .pulse .fw%%i18n:common.loading%

- {{ stat.tag }} +
+
+ #{{ stat.tag }} +
+ +
@@ -15,12 +20,17 @@