diff --git a/client/assets/app.css b/client/assets/app.css index a7dda9d0..25b8b451 100644 --- a/client/assets/app.css +++ b/client/assets/app.css @@ -2,6 +2,10 @@ @import './transitions.css'; @import './draggable.css'; +:root { + --bookshelf-texture-img: url(/textures/wood_default.jpg); +} + .page { width: 100%; height: calc(100% - 64px); diff --git a/client/components/app/Appbar.vue b/client/components/app/Appbar.vue index cdd26666..70afc10a 100644 --- a/client/components/app/Appbar.vue +++ b/client/components/app/Appbar.vue @@ -133,6 +133,9 @@ export default { } }, methods: { + toggleBookshelfTexture() { + this.$store.dispatch('setBookshelfTexture', 'wood2.png') + }, async back() { var popped = await this.$store.dispatch('popRoute') if (popped) this.$store.commit('setIsRoutingBack', true) diff --git a/client/components/app/BookShelf.vue b/client/components/app/BookShelf.vue index 0d5fa595..c06661a7 100644 --- a/client/components/app/BookShelf.vue +++ b/client/components/app/BookShelf.vue @@ -2,13 +2,17 @@
-
+
remove

{{ bookCoverWidth }}

add
+ +
+

Texture

+

Your Audiobookshelf is empty!

@@ -110,6 +114,9 @@ export default { } }, computed: { + showExperimentalFeatures() { + return this.$store.state.showExperimentalFeatures + }, isGridMode() { return this.viewMode === 'grid' }, @@ -226,6 +233,9 @@ export default { } }, methods: { + showBookshelfTextureModal() { + this.$store.commit('globals/setShowBookshelfTextureModal', true) + }, editBook(audiobook) { var bookIds = this.entities.map((e) => e.id) this.$store.commit('setBookshelfBookIds', bookIds) @@ -455,7 +465,7 @@ export default {