From b767509bc582225dfc91581c90df9e1c5b23326a Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 3 Nov 2018 23:57:14 +0900 Subject: [PATCH] [Client] Improve admin panel --- locales/ja-JP.yml | 5 ++ src/client/app/admin/views/announcements.vue | 55 +++++++++++-------- .../app/common/views/components/index.ts | 2 + .../views/components/ui/button-group.vue | 21 +++++++ 4 files changed, 60 insertions(+), 23 deletions(-) create mode 100644 src/client/app/common/views/components/ui/button-group.vue diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 537a4e172..e4dd08b62 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1145,6 +1145,11 @@ admin/views/emoji.vue: admin/views/announcements.vue: announcements: "お知らせ" + save: "保存" + remove: "削除" + add: "追加" + title: "タイトル" + text: "内容" admin/views/hashtags.vue: hided-tags: "Hidden Tags" diff --git a/src/client/app/admin/views/announcements.vue b/src/client/app/admin/views/announcements.vue index 049a8d572..347c94c6e 100644 --- a/src/client/app/admin/views/announcements.vue +++ b/src/client/app/admin/views/announcements.vue @@ -1,10 +1,21 @@