|
|
|
@ -271,6 +271,14 @@
|
|
|
|
|
>
|
|
|
|
|
<i style="color: red;" class="fas fa-dot-circle"></i>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
class="button"
|
|
|
|
|
title="Click to see details."
|
|
|
|
|
|
|
|
|
|
@click="showDetails(podcast)"
|
|
|
|
|
>
|
|
|
|
|
<i class="fas fa-info"></i>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -305,14 +313,52 @@
|
|
|
|
|
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>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</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>
|
|
|
|
|
{{template "scripts"}}
|
|
|
|
|
<script src="/webassets/popper.min.js"></script>
|
|
|
|
|
<script src="/webassets/tippy-bundle.umd.min.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">
|
|
|
|
|
<div class="tags">
|
|
|
|
|
<div @click="editTags" style="cursor: pointer;">
|
|
|
|
@ -338,6 +384,8 @@
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
Vue.component('Modal', VueModal)
|
|
|
|
|
|
|
|
|
|
Vue.component('tagger',{
|
|
|
|
|
delimiters: ["${", "}"],
|
|
|
|
|
data:function(){
|
|
|
|
@ -477,6 +525,10 @@
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
methods:{
|
|
|
|
|
showDetails(podcast){
|
|
|
|
|
this.detailPodcast=podcast;
|
|
|
|
|
this.showDetail=true;
|
|
|
|
|
},
|
|
|
|
|
getPodcastImage(item){
|
|
|
|
|
return "/podcasts/"+item.ID+"/image"
|
|
|
|
|
},
|
|
|
|
@ -608,6 +660,12 @@
|
|
|
|
|
var dt=new Date(Date.parse(podcast.LastEpisode.substr(0,10)));
|
|
|
|
|
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);},
|
|
|
|
|
deletePodcast(id){ deletePodcast(id,()=>{
|
|
|
|
|
|
|
|
|
@ -702,6 +760,8 @@
|
|
|
|
|
},
|
|
|
|
|
data: {
|
|
|
|
|
socket:null,
|
|
|
|
|
detailPodcast:null,
|
|
|
|
|
showDetail:false,
|
|
|
|
|
playerExists:false,
|
|
|
|
|
isMobile:false,
|
|
|
|
|
layoutOptions:["list","grid"],
|
|
|
|
|