From 3e81ebf8e98bb9f7a7662509be4fe0bff9a01d27 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 2 Oct 2021 23:11:21 +0900 Subject: [PATCH] :art: --- src/client/pages/federation.vue | 3 +- src/client/pages/instance/abuses.vue | 3 +- src/client/pages/instance/ads.vue | 3 +- src/client/pages/instance/announcements.vue | 3 +- src/client/pages/instance/emojis.vue | 1 + src/client/pages/instance/files.vue | 40 +++++--- src/client/pages/instance/index.link.vue | 97 +++++++++++++++++++ src/client/pages/instance/index.vue | 102 +++++++++++--------- src/client/pages/instance/overview.vue | 3 +- src/client/pages/instance/users.vue | 28 ++++-- src/client/pages/settings/index.vue | 19 +++- 11 files changed, 227 insertions(+), 75 deletions(-) create mode 100644 src/client/pages/instance/index.link.vue diff --git a/src/client/pages/federation.vue b/src/client/pages/federation.vue index aac94e00a..eae6a0536 100644 --- a/src/client/pages/federation.vue +++ b/src/client/pages/federation.vue @@ -116,7 +116,8 @@ export default defineComponent({ return { [symbols.PAGE_INFO]: { title: this.$ts.federation, - icon: 'fas fa-globe' + icon: 'fas fa-globe', + bg: 'var(--bg)', }, host: '', state: 'federating', diff --git a/src/client/pages/instance/abuses.vue b/src/client/pages/instance/abuses.vue index a66847938..29da8cc2c 100644 --- a/src/client/pages/instance/abuses.vue +++ b/src/client/pages/instance/abuses.vue @@ -86,7 +86,8 @@ export default defineComponent({ return { [symbols.PAGE_INFO]: { title: this.$ts.abuseReports, - icon: 'fas fa-exclamation-circle' + icon: 'fas fa-exclamation-circle', + bg: 'var(--bg)', }, searchUsername: '', searchHost: '', diff --git a/src/client/pages/instance/ads.vue b/src/client/pages/instance/ads.vue index 8742d0bda..c54c1c028 100644 --- a/src/client/pages/instance/ads.vue +++ b/src/client/pages/instance/ads.vue @@ -64,7 +64,8 @@ export default defineComponent({ return { [symbols.PAGE_INFO]: { title: this.$ts.ads, - icon: 'fas fa-audio-description' + icon: 'fas fa-audio-description', + bg: 'var(--bg)', }, ads: [], } diff --git a/src/client/pages/instance/announcements.vue b/src/client/pages/instance/announcements.vue index 35d676cf2..e4f7334c0 100644 --- a/src/client/pages/instance/announcements.vue +++ b/src/client/pages/instance/announcements.vue @@ -43,7 +43,8 @@ export default defineComponent({ return { [symbols.PAGE_INFO]: { title: this.$ts.announcements, - icon: 'fas fa-broadcast-tower' + icon: 'fas fa-broadcast-tower', + bg: 'var(--bg)', }, announcements: [], } diff --git a/src/client/pages/instance/emojis.vue b/src/client/pages/instance/emojis.vue index 6118d869e..219955dc4 100644 --- a/src/client/pages/instance/emojis.vue +++ b/src/client/pages/instance/emojis.vue @@ -78,6 +78,7 @@ export default defineComponent({ [symbols.PAGE_INFO]: { title: this.$ts.customEmojis, icon: 'fas fa-laugh', + bg: 'var(--bg)', action: { icon: 'fas fa-plus', handler: this.add diff --git a/src/client/pages/instance/files.vue b/src/client/pages/instance/files.vue index df2431ad0..55189cfd8 100644 --- a/src/client/pages/instance/files.vue +++ b/src/client/pages/instance/files.vue @@ -1,20 +1,14 @@