mirror of
https://github.com/exane/not-gwent-online
synced 2025-10-09 07:39:08 +00:00
start styling searchMatch and few changes
This commit is contained in:
@@ -1,5 +1,16 @@
|
||||
module.exports = {
|
||||
|
||||
template: require('../views/lobby.html')
|
||||
template: require('../views/lobby.html'),
|
||||
|
||||
data: function() {
|
||||
return {
|
||||
modal: false
|
||||
}
|
||||
},
|
||||
|
||||
components: {
|
||||
searchmatch: require('./modals/searchMatch'),
|
||||
navigation: require('./navigation')
|
||||
}
|
||||
|
||||
};
|
7
site/client/app/components/modals/searchMatch.js
Normal file
7
site/client/app/components/modals/searchMatch.js
Normal file
@@ -0,0 +1,7 @@
|
||||
module.exports = {
|
||||
|
||||
template: require('../../views/modals/searchMatch.html'),
|
||||
|
||||
inherit: true
|
||||
|
||||
};
|
@@ -4,9 +4,16 @@ module.exports = {
|
||||
|
||||
template: require('../views/navigation.html'),
|
||||
|
||||
inherit: true,
|
||||
|
||||
methods: {
|
||||
changeView: function(view) {
|
||||
router.changeRoute(view);
|
||||
},
|
||||
|
||||
searchMatch: function() {
|
||||
this.modal = true;
|
||||
// trigger match functions
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user