Skip to content

Commit

Permalink
watchlist
Browse files Browse the repository at this point in the history
  • Loading branch information
animemandir committed Jul 4, 2023
1 parent bee200e commit c07ae63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
10 changes: 5 additions & 5 deletions _php/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,19 +188,19 @@ class="fab fa-reddit-alien"></i></a></div>
</div>
<div class="header-setting">
<div class="hs-toggles">
<a href="<?=$websiteUrl?>/anime" class="hst-item" data-toggle="tooltip" data-original-title="Select Anime List">
<a href="/watchlist" class="hst-item" data-toggle="tooltip" data-original-title="Select Anime List">
<div class="hst-icon"><i class="fas fa-list"></i></div>
<div class="name"><span>Anime</span></div>
<div class="name"><span>watchlist</span></div>
</a>
<a href="<?=$websiteUrl?>/popular" class="hst-item" data-toggle="tooltip" data-original-title="Popular Anime List">
<a href="/popular" class="hst-item" data-toggle="tooltip" data-original-title="Popular Anime List">
<div class="hst-icon"><i class="fas fa-star"></i></div>
<div class="name"><span>Popular</span></div>
</a>
<a href="<?=$websiteUrl?>/type/movies" class="hst-item" data-toggle="tooltip" data-original-title="Anime Movies">
<a href="/type/movies" class="hst-item" data-toggle="tooltip" data-original-title="Anime Movies">
<div class="hst-icon"><i class="fas fa-film"></i></div>
<div class="name"><span>Movie</span></div>
</a>
<a href="<?=$websiteUrl?>/anilist/random" class="hst-item" data-toggle="tooltip" data-original-title="Select Random Anime">
<a href="/anilist/random" class="hst-item" data-toggle="tooltip" data-original-title="Select Random Anime">
<div class="hst-icon"><i class="fas fa-random"></i></div>
<div class="name"><span>Random</span></div>
</a>
Expand Down
5 changes: 1 addition & 4 deletions watchlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">

<head>
<title>Wathlist - AnimeZia</title>
<title>Watchlist - AnimeZia</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="robots" content="noindex,nofollow" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
Expand Down Expand Up @@ -75,10 +75,7 @@
}
animeListHtml += '</ul>';
document.getElementById('anime-list').innerHTML = animeListHtml;
</script>


<script>
function deleteFromPlaylist(listName, animeName) {
// Retrieve the current list from local storage
var list = JSON.parse(localStorage.getItem(listName)) || [];
Expand Down

0 comments on commit c07ae63

Please sign in to comment.