|
|
@ -271,6 +271,14 @@
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<i style="color: red;" class="fas fa-dot-circle"></i>
|
|
|
|
<i style="color: red;" class="fas fa-dot-circle"></i>
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button
|
|
|
|
|
|
|
|
class="button"
|
|
|
|
|
|
|
|
title="Click to see details."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@click="showDetails(podcast)"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<i class="fas fa-info"></i>
|
|
|
|
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -305,13 +313,51 @@
|
|
|
|
Please feel free to report any issues or request any features on our github page <a target="_blank" href="https://github.com/akhilrex/podgrab">here</a>
|
|
|
|
Please feel free to report any issues or request any features on our github page <a target="_blank" href="https://github.com/akhilrex/podgrab">here</a>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<Modal v-model="showDetail">
|
|
|
|
|
|
|
|
<table class="table" v-if="detailPodcast">
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>Title</td>
|
|
|
|
|
|
|
|
<td>${detailPodcast.Title}</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>Author</td>
|
|
|
|
|
|
|
|
<td>${ detailPodcast.Author }</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>Url</td>
|
|
|
|
|
|
|
|
<td> <a target="_blank" :href="detailPodcast.URL">Link</a></td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>Summary</td>
|
|
|
|
|
|
|
|
<td style="word-wrap: break-word;">${ detailPodcast.Summary }</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>Added On</td>
|
|
|
|
|
|
|
|
<td>${ getFormattedDate(detailPodcast.CreatedAt)}</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>Last Episode</td>
|
|
|
|
|
|
|
|
<td>${ getFormattedLastEpisodeDate(detailPodcast)}</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>Paused</td>
|
|
|
|
|
|
|
|
<td> ${ detailPodcast.IsPaused?'Yes':'No' }</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Modal>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "scripts"}}
|
|
|
|
{{template "scripts"}}
|
|
|
|
<script src="/webassets/popper.min.js"></script>
|
|
|
|
<script src="/webassets/popper.min.js"></script>
|
|
|
|
<script src="/webassets/tippy-bundle.umd.min.js"></script>
|
|
|
|
<script src="/webassets/tippy-bundle.umd.min.js"></script>
|
|
|
|
<script src="/webassets/stopword.js"></script>
|
|
|
|
<script src="/webassets/stopword.js"></script>
|
|
|
|
|
|
|
|
<script src="/webassets/modal/vue-modal.umd.min.js"></script>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="/webassets/modal/vue-modal.css">
|
|
|
|
|
|
|
|
|
|
|
|
<template id="editTags">
|
|
|
|
<template id="editTags">
|
|
|
|
<div class="tags">
|
|
|
|
<div class="tags">
|
|
|
@ -338,6 +384,8 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
Vue.component('Modal', VueModal)
|
|
|
|
|
|
|
|
|
|
|
|
Vue.component('tagger',{
|
|
|
|
Vue.component('tagger',{
|
|
|
|
delimiters: ["${", "}"],
|
|
|
|
delimiters: ["${", "}"],
|
|
|
|
data:function(){
|
|
|
|
data:function(){
|
|
|
@ -477,6 +525,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods:{
|
|
|
|
methods:{
|
|
|
|
|
|
|
|
showDetails(podcast){
|
|
|
|
|
|
|
|
this.detailPodcast=podcast;
|
|
|
|
|
|
|
|
this.showDetail=true;
|
|
|
|
|
|
|
|
},
|
|
|
|
getPodcastImage(item){
|
|
|
|
getPodcastImage(item){
|
|
|
|
return "/podcasts/"+item.ID+"/image"
|
|
|
|
return "/podcasts/"+item.ID+"/image"
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -608,6 +660,12 @@
|
|
|
|
var dt=new Date(Date.parse(podcast.LastEpisode.substr(0,10)));
|
|
|
|
var dt=new Date(Date.parse(podcast.LastEpisode.substr(0,10)));
|
|
|
|
return dt.toDateString()
|
|
|
|
return dt.toDateString()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
getFormattedDate(date){
|
|
|
|
|
|
|
|
const options={month:"short", day:"numeric", year:"numeric"}
|
|
|
|
|
|
|
|
//todo: this is a really dirty hack which needs to be fixed when we work on the episode page
|
|
|
|
|
|
|
|
var dt=new Date(Date.parse(date.substr(0,10)));
|
|
|
|
|
|
|
|
return dt.toDateString()
|
|
|
|
|
|
|
|
},
|
|
|
|
downloadAllEpisodes(id) { downloadAllEpisodes(id);},
|
|
|
|
downloadAllEpisodes(id) { downloadAllEpisodes(id);},
|
|
|
|
deletePodcast(id){ deletePodcast(id,()=>{
|
|
|
|
deletePodcast(id){ deletePodcast(id,()=>{
|
|
|
|
|
|
|
|
|
|
|
@ -702,6 +760,8 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data: {
|
|
|
|
data: {
|
|
|
|
socket:null,
|
|
|
|
socket:null,
|
|
|
|
|
|
|
|
detailPodcast:null,
|
|
|
|
|
|
|
|
showDetail:false,
|
|
|
|
playerExists:false,
|
|
|
|
playerExists:false,
|
|
|
|
isMobile:false,
|
|
|
|
isMobile:false,
|
|
|
|
layoutOptions:["list","grid"],
|
|
|
|
layoutOptions:["list","grid"],
|
|
|
|