diff --git a/platypush/backend/http/webapp/src/components/Media/View.vue b/platypush/backend/http/webapp/src/components/Media/View.vue index a80da9ab1f..c114dfdc5d 100644 --- a/platypush/backend/http/webapp/src/components/Media/View.vue +++ b/platypush/backend/http/webapp/src/components/Media/View.vue @@ -97,6 +97,7 @@ export default { border-top: $default-border-2; background: $default-bg-2; box-shadow: $border-shadow-top; + z-index: 100; } } diff --git a/platypush/backend/http/webapp/src/components/panels/Extensions/Install.vue b/platypush/backend/http/webapp/src/components/panels/Extensions/Install.vue index b70ee1a3e1..b3ba1cd094 100644 --- a/platypush/backend/http/webapp/src/components/panels/Extensions/Install.vue +++ b/platypush/backend/http/webapp/src/components/panels/Extensions/Install.vue @@ -54,7 +54,7 @@ import Utils from "@/Utils" export default { name: "Install", mixins: [Utils], - emit: ['install-start', 'install-end'], + emits: ['install-start', 'install-end'], components: { CopyButton, Loading, diff --git a/platypush/backend/http/webapp/src/components/panels/Media/MediaImage.vue b/platypush/backend/http/webapp/src/components/panels/Media/MediaImage.vue index 05fd4e9f42..e53f953c61 100644 --- a/platypush/backend/http/webapp/src/components/panels/Media/MediaImage.vue +++ b/platypush/backend/http/webapp/src/components/panels/Media/MediaImage.vue @@ -122,7 +122,7 @@ export default { background: rgba(0, 0, 0, 0.5); border-radius: 0.25em; color: $default-media-img-fg; - z-index: 2; + z-index: 3; a { width: 100%; diff --git a/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin.vue b/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin.vue index 49810d33ad..72da23e94e 100644 --- a/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin.vue +++ b/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin.vue @@ -5,33 +5,35 @@
- - + +
+ + diff --git a/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/Index.vue b/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/Index.vue deleted file mode 100644 index fa210ab9c8..0000000000 --- a/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/Index.vue +++ /dev/null @@ -1,131 +0,0 @@ - - - - - diff --git a/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/Mixin.vue b/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/Mixin.vue new file mode 100644 index 0000000000..c81a0b8748 --- /dev/null +++ b/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/Mixin.vue @@ -0,0 +1,100 @@ + diff --git a/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/collections/Movies/Index.vue b/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/collections/Movies/Index.vue deleted file mode 100644 index f164f4b703..0000000000 --- a/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/collections/Movies/Index.vue +++ /dev/null @@ -1,145 +0,0 @@ - - - - - diff --git a/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/common.scss b/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/common.scss index 574375c4ce..5403095c34 100644 --- a/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/common.scss +++ b/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/common.scss @@ -53,10 +53,12 @@ display: flex; justify-content: center; align-items: center; + text-align: center; background-color: rgba(0, 0, 0, 0.75); color: white; font-size: 1.75em; font-weight: bold; + padding: 0.5em; } } } diff --git a/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/components/SortButton.vue b/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/components/SortButton.vue index db3af55e19..36c5682162 100644 --- a/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/components/SortButton.vue +++ b/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/components/SortButton.vue @@ -2,7 +2,7 @@
+ :title="title">
Sort Direction
+ @input="onAttrChange('year')" + v-if="withReleaseDate" /> + @input="onAttrChange('critic_rating')" + v-if="withCriticRating" /> + @input="onAttrChange('community_rating')" + v-if="withCommunityRating" />
@@ -54,12 +57,31 @@ export default { type: Object, required: true, }, + + withReleaseDate: { + type: Boolean, + default: false, + }, + + withCriticRating: { + type: Boolean, + default: false, + }, + + withCommunityRating: { + type: Boolean, + default: false, + }, }, computed: { btnIconClass() { return this.value?.desc ? 'fa fa-arrow-down-wide-short' : 'fa fa-arrow-up-short-wide' }, + + title() { + return 'Sort By: ' + (this.value?.attr ?? '[none]') + ' ' + (this.value?.desc ? 'descending' : 'ascending') + }, }, methods: { diff --git a/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/views/Media/Index.vue b/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/views/Media/Index.vue new file mode 100644 index 0000000000..0bdf26d5e4 --- /dev/null +++ b/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/views/Media/Index.vue @@ -0,0 +1,140 @@ + + + + + diff --git a/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/views/Movies/Index.vue b/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/views/Movies/Index.vue new file mode 100644 index 0000000000..2904e3e1bb --- /dev/null +++ b/platypush/backend/http/webapp/src/components/panels/Media/Providers/Jellyfin/views/Movies/Index.vue @@ -0,0 +1,65 @@ + + + + + diff --git a/platypush/backend/http/webapp/src/components/panels/Media/Providers/Nav.vue b/platypush/backend/http/webapp/src/components/panels/Media/Providers/Nav.vue index 96f760e13d..3270d2653c 100644 --- a/platypush/backend/http/webapp/src/components/panels/Media/Providers/Nav.vue +++ b/platypush/backend/http/webapp/src/components/panels/Media/Providers/Nav.vue @@ -26,8 +26,7 @@