From 372a17d7f0fd4e95086b5e9685d4c21a3550422b Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 6 Jan 2023 09:41:14 +0900 Subject: [PATCH] refactor --- .../src/components/MkAbuseReportWindow.vue | 6 +- packages/frontend/src/components/MkAsUi.vue | 2 +- .../src/components/MkCropperDialog.vue | 8 +- .../src/components/MkDriveSelectDialog.vue | 8 +- .../components/MkFileCaptionEditWindow.vue | 8 +- .../src/components/MkFlashPreview.vue | 2 +- .../src/components/MkForgotPassword.vue | 8 +- .../frontend/src/components/MkFormDialog.vue | 8 +- packages/frontend/src/components/MkModal.vue | 1 - .../src/components/MkModalPageWindow.vue | 2 +- .../frontend/src/components/MkModalWindow.vue | 3 +- .../src/components/MkNoteDetailed.vue | 2 +- .../MkNotificationSettingWindow.vue | 10 +-- .../frontend/src/components/MkPagePreview.vue | 2 +- .../src/components/MkRemoteCaution.vue | 2 +- packages/frontend/src/components/MkSample.vue | 8 +- packages/frontend/src/components/MkSignin.vue | 6 +- .../src/components/MkSigninDialog.vue | 12 +-- .../src/components/MkSignupDialog.vue | 16 ++-- .../src/components/MkTokenGenerateWindow.vue | 10 +-- .../src/components/MkUserSelectDialog.vue | 6 +- packages/frontend/src/components/MkWindow.vue | 2 +- packages/frontend/src/pages/admin/abuses.vue | 4 +- .../src/pages/admin/announcements.vue | 10 +-- .../src/pages/admin/bot-protection.vue | 4 +- .../src/pages/admin/emoji-edit-dialog.vue | 6 +- packages/frontend/src/pages/admin/emojis.vue | 2 +- .../src/pages/admin/instance-block.vue | 4 +- .../src/pages/admin/integrations.discord.vue | 4 +- .../src/pages/admin/integrations.github.vue | 4 +- .../src/pages/admin/integrations.twitter.vue | 4 +- .../src/pages/admin/proxy-account.vue | 4 +- packages/frontend/src/pages/admin/relays.vue | 2 +- .../frontend/src/pages/admin/security.vue | 6 +- packages/frontend/src/pages/announcements.vue | 23 +++-- .../frontend/src/pages/antenna-timeline.vue | 2 +- packages/frontend/src/pages/auth.form.vue | 10 +-- packages/frontend/src/pages/channels.vue | 6 +- .../frontend/src/pages/flash/flash-edit.vue | 2 +- packages/frontend/src/pages/gallery/edit.vue | 10 +-- packages/frontend/src/pages/gallery/post.vue | 2 +- .../frontend/src/pages/messaging/index.vue | 2 +- .../pages/messaging/messaging-room.form.vue | 2 +- .../src/pages/messaging/messaging-room.vue | 4 +- .../frontend/src/pages/mfm-cheat-sheet.vue | 60 ++++++------- packages/frontend/src/pages/miauth.vue | 22 ++--- .../frontend/src/pages/my-lists/index.vue | 2 +- packages/frontend/src/pages/my-lists/list.vue | 10 +-- packages/frontend/src/pages/note.vue | 6 +- packages/frontend/src/pages/page.vue | 2 +- .../frontend/src/pages/reset-password.vue | 4 +- .../frontend/src/pages/settings/accounts.vue | 4 +- packages/frontend/src/pages/settings/api.vue | 4 +- .../src/pages/settings/delete-account.vue | 6 +- .../frontend/src/pages/settings/navbar.vue | 4 +- .../src/pages/settings/notifications.vue | 2 +- .../src/pages/settings/plugin.install.vue | 4 +- .../frontend/src/pages/settings/plugin.vue | 2 +- .../frontend/src/pages/settings/reaction.vue | 8 +- .../frontend/src/pages/settings/security.vue | 6 +- .../src/pages/settings/sounds.sound.vue | 8 +- .../frontend/src/pages/settings/sounds.vue | 4 +- .../pages/settings/statusbar.statusbar.vue | 6 +- .../frontend/src/pages/settings/statusbar.vue | 4 +- .../src/pages/settings/theme.install.vue | 8 +- .../src/pages/settings/theme.manage.vue | 4 +- .../frontend/src/pages/settings/theme.vue | 6 +- .../src/pages/settings/webhook.edit.vue | 6 +- .../src/pages/settings/webhook.new.vue | 6 +- packages/frontend/src/pages/tag.vue | 2 +- packages/frontend/src/pages/theme-editor.vue | 4 +- packages/frontend/src/pages/timeline.vue | 6 +- packages/frontend/src/pages/user-info.vue | 8 +- .../frontend/src/pages/user-list-timeline.vue | 2 +- packages/frontend/src/pages/user/home.vue | 4 +- packages/frontend/src/style.scss | 90 +------------------ packages/frontend/src/ui/deck/column.vue | 2 +- 77 files changed, 245 insertions(+), 320 deletions(-) diff --git a/packages/frontend/src/components/MkAbuseReportWindow.vue b/packages/frontend/src/components/MkAbuseReportWindow.vue index ab90ed357a..e20cf1b735 100644 --- a/packages/frontend/src/components/MkAbuseReportWindow.vue +++ b/packages/frontend/src/components/MkAbuseReportWindow.vue @@ -8,14 +8,14 @@ -
-
+
+
-
+
{{ i18n.ts.send }}
diff --git a/packages/frontend/src/components/MkAsUi.vue b/packages/frontend/src/components/MkAsUi.vue index ec214f0396..e2d8c010a2 100644 --- a/packages/frontend/src/components/MkAsUi.vue +++ b/packages/frontend/src/components/MkAsUi.vue @@ -8,7 +8,7 @@ {{ c.text }} {{ c.text }} -
+
{{ button.text }}
diff --git a/packages/frontend/src/components/MkCropperDialog.vue b/packages/frontend/src/components/MkCropperDialog.vue index f00fef12f1..84adb790f9 100644 --- a/packages/frontend/src/components/MkCropperDialog.vue +++ b/packages/frontend/src/components/MkCropperDialog.vue @@ -1,5 +1,5 @@ - +