{{ $t('software') }}
- {{ instance.softwareName || '?' }}
+
+
+
-
+
- {{ $t('software') }}
+ {{ instance.softwareName || '?' }}
-
{{ $t('version') }}
- {{ instance.softwareVersion || '?' }}
+
+
{{ $t('version') }}
+ {{ instance.softwareVersion || '?' }}
-
-
- {{ $t('registeredAt') }}
-
{{ new Date(instance.caughtAt).toLocaleString() }} ( )
+
+
+
-
+ {{ $t('registeredAt') }}
+
{{ new Date(instance.caughtAt).toLocaleString() }} ( )
-
+
+
{{ $t('following') }}
-
-
{{ instance.followingCount | number }}
+
- {{ $t('followers') }}
-
- {{ instance.followersCount | number }}
+
+ {{ $t('followers') }}
+
-
- {{ $t('users') }}
-
{{ instance.usersCount | number }}
+
+
+ {{ $t('users') }}
+
-
- {{ $t('notes') }}
-
- {{ instance.notesCount | number }}
+
+ {{ $t('notes') }}
+
{{ instance.notesCount | number }}
-
- {{ $t('files') }}
-
{{ instance.driveFiles | number }}
+
+
+ {{ $t('files') }}
+
- {{ instance.driveFiles | number }}
- {{ $t('storageUsage') }}
-
- {{ instance.driveUsage | bytes }}
+
+ {{ $t('storageUsage') }}
+
{{ instance.driveUsage | bytes }}
-
- {{ $t('latestRequestSentAt') }}
- N/A
+
+
+ {{ $t('latestRequestSentAt') }}
+ N/A
-
- {{ $t('latestStatus') }}
-
- {{ instance.latestStatus ? instance.latestStatus : 'N/A' }}
+
+ {{ $t('latestStatus') }}
+
{{ instance.latestStatus ? instance.latestStatus : 'N/A' }}
-
+
+
+
+
+
diff --git a/src/client/pages/instance/index.vue b/src/client/pages/instance/index.vue
index 3aedcb65a..e824f1ecf 100644
--- a/src/client/pages/instance/index.vue
+++ b/src/client/pages/instance/index.vue
@@ -1,112 +1,178 @@
-
- {{ $t('latestRequestReceivedAt') }}
- N/A
+
@@ -483,39 +483,12 @@ export default Vue.extend({
.mk-instance-info {
overflow: auto;
- > .table {
+ > ._table {
padding: 0 32px;
@media (max-width: 500px) {
padding: 0 16px;
}
-
- > .row {
- display: flex;
-
- &:not(:last-child) {
- margin-bottom: 8px;
- }
-
- > .cell {
- flex: 1;
-
- > .label {
- font-size: 80%;
- opacity: 0.7;
-
- > .icon {
- margin-right: 4px;
- display: none;
- }
- }
-
- > .data.clickable {
- color: var(--accent);
- cursor: pointer;
- }
- }
- }
}
> .data {
diff --git a/src/client/pages/instance/index.queue-chart.vue b/src/client/pages/instance/index.queue-chart.vue
new file mode 100644
index 000000000..760d111d3
--- /dev/null
+++ b/src/client/pages/instance/index.queue-chart.vue
@@ -0,0 +1,183 @@
+
+
+
+ {{ $t('latestRequestReceivedAt') }}
+ N/A
+
+
+
+
+
+
+
+ Process
{{ activeSincePrevTick | number }}Active
{{ active | number }}Waiting
{{ waiting | number }}Delayed
{{ delayed | number }}
+
+
+
+
{{ $t('instance') }}
-
+
+ {{ $t('overview') }}
-
- {{ $t('serverLogs') }}
-
-
{{ $t('relays') }}
-
+
{{ $t('addRelay') }}
@@ -13,7 +13,7 @@
-
+
{{ $t('addedRelays') }}
{{ $t('settings') }}
-
+
{{ $t('basicInfo') }}
{{ $t('instanceName') }}
@@ -19,7 +19,7 @@
-
+
{{ $t('maxNoteTextLength') }}
@@ -33,7 +33,7 @@
-
+
{{ $t('registration') }}
{{ $t('enableRegistration') }}
@@ -41,7 +41,7 @@
-
+
{{ $t('hcaptcha') }}
{{ $t('enableHcaptcha') }}
@@ -59,7 +59,7 @@
-
+
{{ $t('recaptcha') }}
{{ $t('enableRecaptcha') }}
@@ -77,7 +77,7 @@
-
+
{{ $t('emailConfig') }}
{{ $t('enableEmail') }}{{ $t('emailConfigInfo') }}
@@ -100,7 +100,7 @@
-
+
{{ $t('serviceworker') }}
{{ $t('enableServiceworker') }}{{ $t('serviceworkerInfo') }}
@@ -116,7 +116,7 @@
-
+
{{ $t('pinnedUsers') }}
@@ -128,7 +128,7 @@
-
+
{{ $t('files') }}
{{ $t('cacheRemoteFiles') }}{{ $t('cacheRemoteFilesDescription') }}
@@ -141,7 +141,7 @@
-
+
{{ $t('objectStorage') }}
{{ $t('useObjectStorage') }}
@@ -168,7 +168,7 @@
-
+
{{ $t('proxyAccount') }}
@{{ $t('proxyAccount') }}{{ $t('proxyAccountDescription') }}
@@ -176,7 +176,7 @@
-
+
{{ $t('blockedInstances') }}
@@ -188,7 +188,7 @@
-
+
{{ $t('integration') }}
Twitter
@@ -221,7 +221,8 @@
{{ $t('save') }}
-
+
+
Summaly Proxy
URL
diff --git a/src/client/pages/instance/users.vue b/src/client/pages/instance/users.vue
index b209ab68c..cf3786c96 100644
--- a/src/client/pages/instance/users.vue
+++ b/src/client/pages/instance/users.vue
@@ -3,7 +3,7 @@
{{ $t('users') }}
-
+
{{ $t('lookup') }}
@@ -16,7 +16,7 @@
-
+
{{ $t('users') }}
-
- {{ $t('domain') }}
-
-
- {{ $t('level') }}
-
-
-
-
-
-
-
-
+
+
-
-
-
+
-
-
-
- [{{ log.domain.join('.') }}] {{ log.message }}
-
-
-
-
+
+ {{ $t('instanceInfo') }}
-
- {{ $t('cpuAndMemory') }}
-
-
- {{ $t('disk') }}
-
-
- {{ $t('network') }}
-
+
-
-
-
-
-
-
-
-
-
-
-
-
- CPU
{{ serverInfo.cpu.model }}
-
-
-
-
- MEM total
{{ serverInfo.mem.total | bytes }}MEM used
{{ memUsage | bytes }} ({{ (memUsage / serverInfo.mem.total * 100).toFixed(0) }}%)MEM free
{{ serverInfo.mem.total - memUsage | bytes }} ({{ ((serverInfo.mem.total - memUsage) / serverInfo.mem.total * 100).toFixed(0) }}%)
-
-
-
-
-
-
-
-
-
-
-
- Disk total
{{ serverInfo.fs.total | bytes }}Disk used
{{ serverInfo.fs.used | bytes }} ({{ (serverInfo.fs.used / serverInfo.fs.total * 100).toFixed(0) }}%)Disk free
{{ serverInfo.fs.total - serverInfo.fs.used | bytes }} ({{ ((serverInfo.fs.total - serverInfo.fs.used) / serverInfo.fs.total * 100).toFixed(0) }}%)
-
-
-
-
-
-
-
-
-
- Interface
{{ serverInfo.net.interface }}
+
+ Misskeyv{{ version }}
+
+
+ Node.js{{ serverInfo.node }}
+ PostgreSQLv{{ serverInfo.psql }}
+ Redisv{{ serverInfo.redis }}
+
-
+
Misskeyv{{ version }}
+
-
+ {{ $t('metrics') }}
+
+
+
+
+ {{ $t('jobQueue') }}
+
+
+
+
+ {{ $t('logs') }}
+
+
-
-
diff --git a/src/client/pages/instance/queue.vue b/src/client/pages/instance/queue.vue
index 7a2204e51..d9f12577e 100644
--- a/src/client/pages/instance/queue.vue
+++ b/src/client/pages/instance/queue.vue
@@ -22,7 +22,7 @@ import Vue from 'vue';
import { faExchangeAlt } from '@fortawesome/free-solid-svg-icons';
import { faTrashAlt } from '@fortawesome/free-regular-svg-icons';
import MkButton from '../../components/ui/button.vue';
-import XQueue from './queue.queue.vue';
+import XQueue from './queue.chart.vue';
export default Vue.extend({
metaInfo() {
diff --git a/src/client/pages/instance/relays.vue b/src/client/pages/instance/relays.vue
index dd18867b6..eaf6c0b68 100644
--- a/src/client/pages/instance/relays.vue
+++ b/src/client/pages/instance/relays.vue
@@ -3,7 +3,7 @@
Node.js{{ serverInfo.node }}
- PostgreSQLv{{ serverInfo.psql }}
- Redisv{{ serverInfo.redis }}
+
+
+
+
+ {{ $t('cpuAndMemory') }}
+
+
+
+ {{ $t('disk') }}
+
+
+
+ {{ $t('network') }}
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MEM total
{{ serverInfo.mem.total | bytes }}MEM used
{{ memUsage | bytes }} ({{ (memUsage / serverInfo.mem.total * 100).toFixed(0) }}%)MEM free
{{ serverInfo.mem.total - memUsage | bytes }} ({{ ((serverInfo.mem.total - memUsage) / serverInfo.mem.total * 100).toFixed(0) }}%)
+
+
+
+
+
+
+
+
+
+
+
+ Disk total
{{ serverInfo.fs.total | bytes }}Disk used
{{ serverInfo.fs.used | bytes }} ({{ (serverInfo.fs.used / serverInfo.fs.total * 100).toFixed(0) }}%)Disk free
{{ serverInfo.fs.total - serverInfo.fs.used | bytes }} ({{ ((serverInfo.fs.total - serverInfo.fs.used) / serverInfo.fs.total * 100).toFixed(0) }}%)
+
+
+
+
+
+
+
+
+
+ Interface
{{ serverInfo.net.interface }}
+
+ {{ $t('delayed') }}
+
+
+
+ In
+
+
+ Out
+
+
+
+
+
+
+ {{ job[0] }}
+ {{ job[1] | number }} jobs
+
+
+ {{ $t('') }}
+
+
+
+
+ {{ $t('serverLogs') }}
+
+
+
+
+
+ {{ log.type }}by {{ log.user.username }}
+
+
+
+
+
+
+ {{ $t('domain') }}
+
+
+ {{ $t('level') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ [{{ log.domain.join('.') }}] {{ log.message }}
+
+
+
+ {{ relay.inbox }}
diff --git a/src/client/pages/instance/settings.vue b/src/client/pages/instance/settings.vue
index dfd6cc6d4..8318807d4 100644
--- a/src/client/pages/instance/settings.vue
+++ b/src/client/pages/instance/settings.vue
@@ -3,7 +3,7 @@
diff --git a/src/client/pages/messaging/index.vue b/src/client/pages/messaging/index.vue
index f8e3e0db6..049d91859 100644
--- a/src/client/pages/messaging/index.vue
+++ b/src/client/pages/messaging/index.vue
@@ -1,5 +1,5 @@
-
+
{{ $t('messaging') }}
diff --git a/src/client/pages/miauth.vue b/src/client/pages/miauth.vue
index 15cde8bc2..25170725d 100644
--- a/src/client/pages/miauth.vue
+++ b/src/client/pages/miauth.vue
@@ -1,22 +1,22 @@
-
+
-
+
-
{{ $t('_auth.denied') }}
+
-
{{ $t('_auth.callback') }}
{{ $t('_auth.pleaseGoBack') }}
+
{{ $t('_auth.shareAccess', { name: name }) }}
{{ $t('_auth.shareAccessAsk') }}
diff --git a/src/client/pages/my-groups/group.vue b/src/client/pages/my-groups/group.vue
index 0132bc2c3..5ac6db8e9 100644
--- a/src/client/pages/my-groups/group.vue
+++ b/src/client/pages/my-groups/group.vue
@@ -4,7 +4,7 @@
{{ group.name }}
-
+
{{ $t('rename') }}
{{ $t('transfer') }}
@@ -14,7 +14,7 @@
-
+
{{ $t('members') }}
diff --git a/src/client/pages/my-lists/list.vue b/src/client/pages/my-lists/list.vue
index 7052c5516..a418bdded 100644
--- a/src/client/pages/my-lists/list.vue
+++ b/src/client/pages/my-lists/list.vue
@@ -4,7 +4,7 @@
{{ list.name }}
-
+
{{ $t('rename') }}
{{ $t('delete') }}
@@ -13,7 +13,7 @@
-
+
{{ $t('members') }}
diff --git a/src/client/pages/preferences/index.vue b/src/client/pages/preferences/index.vue
index c2226235b..a2a5ab80f 100644
--- a/src/client/pages/preferences/index.vue
+++ b/src/client/pages/preferences/index.vue
@@ -11,7 +11,7 @@
-
+
{{ $t('sounds') }}
@@ -53,7 +53,7 @@
-
+
{{ $t('deck') }}
@@ -67,7 +67,7 @@
-
+
{{ $t('appearance') }}
{{ $t('disableAnimatedMfm') }}
@@ -87,7 +87,7 @@
-
+
{{ $t('general') }}
diff --git a/src/client/pages/room/room.vue b/src/client/pages/room/room.vue
index 05b93c04e..e20b9e200 100644
--- a/src/client/pages/room/room.vue
+++ b/src/client/pages/room/room.vue
@@ -8,7 +8,7 @@
/>
-
+
@@ -34,7 +34,7 @@
-
{{ selectedFurnitureName }}