mirror of
https://github.com/romancm/gamebrary
synced 2024-12-18 15:23:14 +00:00
Improved empty board
This commit is contained in:
parent
8e60a23548
commit
5de1f7dc45
1 changed files with 24 additions and 0 deletions
24
src/components/Board/EmptyBoard.vue
Normal file
24
src/components/Board/EmptyBoard.vue
Normal file
|
@ -0,0 +1,24 @@
|
|||
<template lang="html">
|
||||
<b-jumbotron class="empty-board w-100 text-center">
|
||||
<p>This board is empty</p>
|
||||
<b-button variant="primary" @click="openAddListModal">
|
||||
Add list
|
||||
</b-button>
|
||||
</b-jumbotron>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
methods: {
|
||||
openAddListModal() {
|
||||
this.$bvModal.show('add-list');
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" rel="stylesheet/scss" scoped>
|
||||
.empty-board {
|
||||
max-width: 300px;
|
||||
}
|
||||
</style>
|
Loading…
Reference in a new issue