mirror of
https://github.com/romancm/gamebrary
synced 2024-12-19 07:43:15 +00:00
41 lines
751 B
Vue
41 lines
751 B
Vue
<!-- TODO: translate -->
|
|
|
|
<template lang="html">
|
|
<b-jumbotron
|
|
class="empty-board w-100 text-center"
|
|
:bg-variant="nightMode ? 'dark' : ''"
|
|
:text-variant="nightMode ? 'white' : ''"
|
|
:border-variant="nightMode ? 'light' : ''"
|
|
>
|
|
<p>This board is empty</p>
|
|
|
|
<b-button
|
|
:variant="nightMode ? 'light' : 'primary'"
|
|
@click="openAddListModal"
|
|
>
|
|
Add list
|
|
</b-button>
|
|
</b-jumbotron>
|
|
</template>
|
|
|
|
<script>
|
|
import { mapGetters } from 'vuex';
|
|
|
|
export default {
|
|
computed: {
|
|
...mapGetters(['nightMode']),
|
|
},
|
|
|
|
methods: {
|
|
openAddListModal() {
|
|
this.$bvModal.show('add-list');
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss" rel="stylesheet/scss" scoped>
|
|
.empty-board {
|
|
max-width: 300px;
|
|
}
|
|
</style>
|