diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-17 11:29:44 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-17 11:29:44 +0900 |
| commit | 08e1db45a9f2dc29d2fe1bf8ff92c5e2ec546bfe (patch) | |
| tree | 1718941ca172f495faade1713c156e48679585eb /src | |
| parent | Tweak UI (diff) | |
| download | sharkey-08e1db45a9f2dc29d2fe1bf8ff92c5e2ec546bfe.tar.gz sharkey-08e1db45a9f2dc29d2fe1bf8ff92c5e2ec546bfe.tar.bz2 sharkey-08e1db45a9f2dc29d2fe1bf8ff92c5e2ec546bfe.zip | |
Improve client
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/pages/instance-info.vue | 9 | ||||
| -rw-r--r-- | src/client/pages/user-ap-info.vue | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/client/pages/instance-info.vue b/src/client/pages/instance-info.vue index 5c1210c4bd..326b30c7c9 100644 --- a/src/client/pages/instance-info.vue +++ b/src/client/pages/instance-info.vue @@ -86,10 +86,19 @@ <template #key>{{ $ts.registeredAt }}</template> <template #value><MkTime mode="detail" :time="instance.caughtAt"/></template> </FormKeyValueView> + <FormKeyValueView> + <template #key>{{ $ts.updatedAt }}</template> + <template #value><MkTime mode="detail" :time="instance.infoUpdatedAt"/></template> + </FormKeyValueView> </FormGroup> <FormObjectView tall :value="instance"> <span>Raw</span> </FormObjectView> + <FormGroup> + <FormLink :to="`https://${host}/.well-known/host-meta`" external>host-meta</FormLink> + <FormLink :to="`https://${host}/.well-known/host-meta.json`" external>host-meta.json</FormLink> + <FormLink :to="`https://${host}/.well-known/nodeinfo`" external>nodeinfo</FormLink> + </FormGroup> </FormGroup> </FormBase> </template> diff --git a/src/client/pages/user-ap-info.vue b/src/client/pages/user-ap-info.vue index 3f2920402f..7520540c2d 100644 --- a/src/client/pages/user-ap-info.vue +++ b/src/client/pages/user-ap-info.vue @@ -43,6 +43,9 @@ <FormObjectView tall :value="ap"> <span>Raw</span> </FormObjectView> + <FormGroup> + <FormLink :to="`https://${user.host}/.well-known/webfinger?resource=acct:${user.username}`" external>WebFinger</FormLink> + </FormGroup> <FormLink v-if="user.host" :to="`/instance-info/${user.host}`">{{ $ts.instanceInfo }}<template #suffix>{{ user.host }}</template></FormLink> <FormKeyValueView v-else> <template #key>{{ $ts.instanceInfo }}</template> |