freetube/src/renderer/views/UserPlaylists/UserPlaylists.vue

46 lines
1.1 KiB
Vue
Raw Normal View History

2020-02-16 18:30:00 +00:00
<template>
<div>
<ft-loader
v-if="isLoading"
:fullscreen="true"
/>
<ft-card
v-else
class="card"
>
<h3>
{{ $t("User Playlists.Your Playlists") }}
<ft-tooltip
class="selectTooltip"
position="bottom"
:tooltip="$t('User Playlists.Playlist Message')"
/>
</h3>
<ft-flex-box
v-if="activeData.length === 0"
>
<p class="message">
{{ $t("User Playlists['Your saved videos are empty. Click on the save button on the corner of a video to have it listed here']") }}
</p>
</ft-flex-box>
<ft-element-list
v-else
:data="activeData"
/>
<ft-flex-box
v-if="activeData.length < favoritesPlaylist.videos.length"
>
<ft-button
label="Load More"
background-color="var(--primary-color)"
text-color="var(--text-with-main-color)"
@click="increaseLimit"
/>
</ft-flex-box>
2020-02-16 18:30:00 +00:00
</ft-card>
</div>
</template>
<script src="./UserPlaylists.js" />
<style scoped src="./UserPlaylists.css" />