summaryrefslogtreecommitdiff
path: root/src/client/app/common/views/components/error.vue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-10-30 09:36:20 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-10-30 09:36:20 +0900
commitd399241e65b4cd6ab4fa0e95ccabfd1e41140a2d (patch)
tree328df082f4d68fd0aacdf06832d19a748d3e923e /src/client/app/common/views/components/error.vue
parent[Client] Fix bug (diff)
downloadmisskey-d399241e65b4cd6ab4fa0e95ccabfd1e41140a2d.tar.gz
misskey-d399241e65b4cd6ab4fa0e95ccabfd1e41140a2d.tar.bz2
misskey-d399241e65b4cd6ab4fa0e95ccabfd1e41140a2d.zip
Refactor
Diffstat (limited to 'src/client/app/common/views/components/error.vue')
-rw-r--r--src/client/app/common/views/components/error.vue19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/client/app/common/views/components/error.vue b/src/client/app/common/views/components/error.vue
new file mode 100644
index 0000000000..7381cf5376
--- /dev/null
+++ b/src/client/app/common/views/components/error.vue
@@ -0,0 +1,19 @@
+<template>
+<div class="wjqjnyhzogztorhrdgcpqlkxhkmuetgj">
+ <p>%fa:exclamation-triangle% %i18n:common.error.title%</p>
+ <ui-button @click="() => $emit('retry')">%i18n:common.error.retry%</ui-button>
+</div>
+</template>
+
+<style lang="stylus" scoped>
+.wjqjnyhzogztorhrdgcpqlkxhkmuetgj
+ max-width 350px
+ margin 0 auto
+ padding 32px
+ text-align center
+ color var(--text)
+
+ > p
+ margin 0 0 8px 0
+
+</style>