Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
7b2c35d2
You need to sign in or sign up before continuing.
Commit
7b2c35d2
authored
Aug 30, 2019
by
Nick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: page not found component (#990)
parent
a41ca694
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
10 deletions
+27
-10
client-app.js
client/client-app.js
+1
-0
not-found.vue
client/components/not-found.vue
+24
-0
setup.vue
client/components/setup.vue
+1
-1
notfound.pug
server/views/notfound.pug
+1
-9
No files found.
client/client-app.js
View file @
7b2c35d2
...
...
@@ -159,6 +159,7 @@ Vue.component('login', () => import(/* webpackPrefetch: true, webpackChunkName:
Vue
.
component
(
'nav-header'
,
()
=>
import
(
/* webpackMode: "eager" */
'./components/common/nav-header.vue'
))
Vue
.
component
(
'new-page'
,
()
=>
import
(
/* webpackChunkName: "new-page" */
'./components/new-page.vue'
))
Vue
.
component
(
'notify'
,
()
=>
import
(
/* webpackMode: "eager" */
'./components/common/notify.vue'
))
Vue
.
component
(
'not-found'
,
()
=>
import
(
/* webpackChunkName: "not-found" */
'./components/not-found.vue'
))
Vue
.
component
(
'page-selector'
,
()
=>
import
(
/* webpackPrefetch: true, webpackChunkName: "ui-extra" */
'./components/common/page-selector.vue'
))
Vue
.
component
(
'profile'
,
()
=>
import
(
/* webpackChunkName: "profile" */
'./components/profile.vue'
))
Vue
.
component
(
'register'
,
()
=>
import
(
/* webpackChunkName: "register" */
'./components/register.vue'
))
...
...
client/components/not-found.vue
0 → 100644
View file @
7b2c35d2
<
template
lang=
'pug'
>
v-app
.notfound
.notfound-content
img.animated.fadeIn(src='/svg/icon-delete-file.svg', alt='Not Found')
.headline
{{
$t
(
'notfound.title'
)
}}
.subheading.mt-3
{{
$t
(
'notfound.subtitle'
)
}}
v-btn.mt-5(color='red lighten-4', href='/', large, outlined)
v-icon(left) mdi-home
span
{{
$t
(
'notfound.gohome'
)
}}
</
template
>
<
script
>
export
default
{
data
()
{
return
{
}
}
}
</
script
>
<
style
lang=
'scss'
>
</
style
>
client/components/setup.vue
View file @
7b2c35d2
...
...
@@ -73,7 +73,7 @@
persistent-hint,
hint='Help Wiki.js developers improve this app with anonymized telemetry.'
)
v-alert(:value='error', type='error', icon='
warning
')
{{
errorMessage
}}
v-alert(:value='error', type='error', icon='
mdi-alert
')
{{
errorMessage
}}
v-divider.mt-3(v-if='!error')
v-card-actions
v-btn(color='primary', @click='install', :disabled='loading', x-large, flat, block)
...
...
server/views/notfound.pug
View file @
7b2c35d2
...
...
@@ -2,12 +2,4 @@ extends master.pug
block body
#root.is-fullscreen
v-app
.notfound
.notfound-content
img.animated.fadeIn(src='/svg/icon-delete-file.svg', alt='Not Found')
.headline= t('notfound.title')
.subheading.mt-3= t('notfound.subtitle')
v-btn.mt-5(color='red lighten-4', href='/', large, outline)
v-icon(left) home
span= t('notfound.gohome')
not-found
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment