From 8e8459fa559865428963b08e6422fba9617240f5 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 15 Nov 2020 12:34:47 +0900 Subject: [PATCH] wip: clip --- locales/ja-JP.yml | 1 + src/client/pages/clip.vue | 139 +++++++++++++++++++++++ src/client/pages/my-clips/index.vue | 32 +++++- src/client/router.ts | 1 + src/models/repositories/clip.ts | 12 ++ src/server/api/endpoints/clips/update.ts | 12 +- 6 files changed, 193 insertions(+), 4 deletions(-) create mode 100644 src/client/pages/clip.vue diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index ff39eec153..7d8ba1753f 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -215,6 +215,7 @@ imageUrl: "画像URL" remove: "削除" removed: "削除しました" removeAreYouSure: "「{x}」を削除しますか?" +deleteAreYouSure: "「{x}」を削除しますか?" resetAreYouSure: "リセットしますか?" saved: "保存しました" messaging: "チャット" diff --git a/src/client/pages/clip.vue b/src/client/pages/clip.vue new file mode 100644 index 0000000000..ad9e076fd6 --- /dev/null +++ b/src/client/pages/clip.vue @@ -0,0 +1,139 @@ + + + + + diff --git a/src/client/pages/my-clips/index.vue b/src/client/pages/my-clips/index.vue index 93adb94a4b..efead39fcb 100644 --- a/src/client/pages/my-clips/index.vue +++ b/src/client/pages/my-clips/index.vue @@ -1,10 +1,13 @@