@ -50,29 +50,60 @@
< / div >
< / div >
< div v-if = "downloadOnAdd" >
< div v-if = "downloadOnAdd" >
< br >
< label for = "initialDownloadCount" >
< label for = "initialDownloadCount" style = "display: inline-block;" >
< span class = "label-body" > How many episodes to be downloaded when a new podcast is added< / span >
< span class = "label-body" > How many episodes to be downloaded when a new podcast is added< / span >
< / label >
< / label >
< input type = "number" name = "initialDownloadCount" v-model . number = "initialDownloadCount" min = "0" >
< input type = "number" name = "initialDownloadCount" v-model . number = "initialDownloadCount" min = "0" >
< / div >
< / div >
< br >
< label for = "autoDownload" >
< label for = "autoDownload" >
< input type = "checkbox" name = "autoDownload" v-model = "autoDownload" >
< input type = "checkbox" name = "autoDownload" v-model = "autoDownload" >
< span class = "label-body" > Automatically download new episodes to the disk< / span >
< span class = "label-body" > Automatically download new episodes to the disk< / span >
< / label >
< / label >
< br >
< label for = "appendDateToFileName" >
< label for = "appendDateToFileName" >
< input type = "checkbox" name = "appendDateToFileName" v-model = "appendDateToFileName" >
< input type = "checkbox" name = "appendDateToFileName" v-model = "appendDateToFileName" >
< span class = "label-body" > Append episode date to episode file name< / span >
< span class = "label-body" > Append episode date to episode file name< / span >
< / label >
< / label >
< br >
< label for = "appendEpisodeNumberToFileName" >
< input type = "checkbox" name = "appendEpisodeNumberToFileName" v-model = "appendEpisodeNumberToFileName" >
< span class = "label-body" > Append episode number to episode file name< / span >
< / label >
< input type = "submit" value = "Save" class = "button button-primary" >
< input type = "submit" value = "Save" class = "button button-primary" >
< / form >
< / form >
< / div >
< / div >
< / div >
< / div >
< hr >
< div class = "row" >
< div class = "columns twelve" >
< h3 > More Info< / h3 >
< table >
< tr >
< td > Website< / td >
< td > < a href = "https://github.com/akhilrex/podgrab" target = "_blank" > https://github.com/akhilrex/podgrab< / a > < / td >
< / tr >
< tr >
< td > Found a bug< / td >
< td > < a href = "https://github.com/akhilrex/podgrab/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc" target = "_blank" rel = "noopener noreferrer" > Report here< / a > < / td >
< / tr >
< tr >
< td > Feature Request< / td >
< td > < a href = "https://github.com/akhilrex/podgrab/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc" target = "_blank" rel = "noopener noreferrer" > Request here< / a > < / td >
< / tr >
< tr >
< td > Support development< / td >
< td > < a href = "https://www.buymeacoffee.com/akhilrex" target = "_blank" rel = "noopener noreferrer" > Support here< / a > < / td >
< / tr >
< / table >
< / div >
< / div >
{{template "scripts"}}
{{template "scripts"}}
< script >
< script >
@ -89,7 +120,8 @@ var app = new Vue({
downloadOnAdd: self.downloadOnAdd,
downloadOnAdd: self.downloadOnAdd,
initialDownloadCount:self.initialDownloadCount,
initialDownloadCount:self.initialDownloadCount,
autoDownload:self.autoDownload,
autoDownload:self.autoDownload,
appendDateToFileName:self.appendDateToFileName
appendDateToFileName:self.appendDateToFileName,
appendEpisodeNumberToFileName:self.appendEpisodeNumberToFileName
})
})
.then(function(response){
.then(function(response){
@ -125,6 +157,7 @@ var app = new Vue({
initialDownloadCount: {{ .setting.InitialDownloadCount }},
initialDownloadCount: {{ .setting.InitialDownloadCount }},
autoDownload: {{ .setting.AutoDownload }},
autoDownload: {{ .setting.AutoDownload }},
appendDateToFileName: {{ .setting.AppendDateToFileName }},
appendDateToFileName: {{ .setting.AppendDateToFileName }},
appendEpisodeNumberToFileName:{{ .setting.AppendEpisodeNumberToFileName }}
},
},