Docker and more calendar work
This commit is contained in:
parent
4527504c80
commit
f7a919ebf2
22 changed files with 2036 additions and 79 deletions
|
@ -100,8 +100,27 @@
|
|||
|
||||
<script>
|
||||
function updateAllPodcasts() {
|
||||
// This would trigger an update for all podcasts
|
||||
alert('Update All functionality would be implemented here');
|
||||
// Call the API to update all podcasts
|
||||
fetch('/api/podcasts/update-all', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
})
|
||||
.then(response => {
|
||||
if (!response.ok) {
|
||||
throw new Error('Network response was not ok');
|
||||
}
|
||||
return response.json();
|
||||
})
|
||||
.then(data => {
|
||||
// Show success message
|
||||
alert(data.message);
|
||||
})
|
||||
.catch(error => {
|
||||
// Show error message
|
||||
alert('Error updating podcasts: ' + error.message);
|
||||
});
|
||||
}
|
||||
|
||||
function refreshPage() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue