From 69d9aa71f25ab06d8024b04ce341909425d053d6 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 9 Aug 2020 15:51:02 +0900 Subject: Full view mode (#6636) * wuip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * Update folder.vue * wip * Update size.ts * wip * wip * Update index.vue * wip --- src/client/pages/instance/federation.instance.vue | 117 +++++++++------------- 1 file changed, 45 insertions(+), 72 deletions(-) (limited to 'src/client/pages/instance/federation.instance.vue') diff --git a/src/client/pages/instance/federation.instance.vue b/src/client/pages/instance/federation.instance.vue index 556ed5f41c..80b379c6b1 100644 --- a/src/client/pages/instance/federation.instance.vue +++ b/src/client/pages/instance/federation.instance.vue @@ -2,69 +2,69 @@
-
-
-
-
{{ $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' }}
-
-
-
{{ $t('latestRequestReceivedAt') }}
-
N/A
+
+
+
{{ $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 { -- cgit v1.2.3-freya