diff --git a/src/web/app/common/views/components/connect-failed.vue b/src/web/app/common/views/components/connect-failed.vue index 4761c6d6e0..b48f7cecb9 100644 --- a/src/web/app/common/views/components/connect-failed.vue +++ b/src/web/app/common/views/components/connect-failed.vue @@ -4,7 +4,7 @@

%i18n:common.tags.mk-error.title%

{{ '%i18n:common.tags.mk-error.description%'.substr(0, '%i18n:common.tags.mk-error.description%'.indexOf('{')) }} - {{ '%i18n:common.tags.mk-error.description%'.match(/\{(.+?)\}/)[1] }} + {{ '%i18n:common.tags.mk-error.description%'.match(/\{(.+?)\}/)[1] }} {{ '%i18n:common.tags.mk-error.description%'.substr('%i18n:common.tags.mk-error.description%'.indexOf('}') + 1) }}

@@ -29,6 +29,11 @@ export default Vue.extend({ mounted() { document.title = 'Oops!'; document.documentElement.style.background = '#f8f8f8'; + }, + methods: { + reload() { + location.reload(); + } } }); diff --git a/src/web/app/mobile/script.ts b/src/web/app/mobile/script.ts index 29ca219258..a2f118b8f7 100644 --- a/src/web/app/mobile/script.ts +++ b/src/web/app/mobile/script.ts @@ -15,6 +15,7 @@ import post from './api/post'; import notify from './api/notify'; import MkIndex from './views/pages/index.vue'; +import MkSignup from './views/pages/signup.vue'; import MkUser from './views/pages/user.vue'; import MkSelectDrive from './views/pages/selectdrive.vue'; import MkDrive from './views/pages/drive.vue'; @@ -45,6 +46,7 @@ init((launch) => { // Routing app.$router.addRoutes([ { path: '/', name: 'index', component: MkIndex }, + { path: '/signup', name: 'signup', component: MkSignup }, { path: '/i/drive', component: MkDrive }, { path: '/i/drive/folder/:folder', component: MkDrive }, { path: '/selectdrive', component: MkSelectDrive }, diff --git a/src/web/app/mobile/views/pages/signup.vue b/src/web/app/mobile/views/pages/signup.vue new file mode 100644 index 0000000000..9dc07a4b86 --- /dev/null +++ b/src/web/app/mobile/views/pages/signup.vue @@ -0,0 +1,57 @@ + + + + +