setup wizard: general + db step UI

This commit is contained in:
NGPixel
2017-03-05 22:22:21 -05:00
parent d8fa6ecc27
commit 39fbb9c366
6 changed files with 53 additions and 9 deletions

View File

@@ -14,10 +14,17 @@ jQuery(document).ready(function ($) {
},
conf: {
title: 'Wiki',
host: ''
host: '',
port: 80,
lang: 'en',
db: 'mongodb://localhost:27017/wiki'
}
},
methods: {
proceedToWelcome: function (ev) {
this.state = 'welcome'
this.loading = false
},
proceedToSyscheck: function (ev) {
let self = this
this.state = 'syscheck'
@@ -39,7 +46,11 @@ jQuery(document).ready(function ($) {
},
proceedToGeneral: function (ev) {
this.state = 'general'
this.loading = true
this.loading = false
},
proceedToDb: function (ev) {
this.state = 'db'
this.loading = false
}
}
})