-
Notifications
You must be signed in to change notification settings - Fork 37
/
index.html
140 lines (134 loc) · 4.44 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="icon" href="assets/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="index.css" />
<title>People's Choice</title>
</head>
<body>
<header>
<div class="heading">
<img src="assets/favicon.ico" alt="Logo" />
<h1 class="ml11 title">
<span class="text-wrapper">
<span class="line line1"></span>
<span class="letters">PEOPLE'S CHOICE</span>
</span>
</h1>
</div>
<div class="InputContainer">
<input type="text" name="text" class="input" id="input" placeholder="Search" oninput="showSearchResults()">
<label for="input" class="labelforsearch">
<svg viewBox="0 0 512 512" class="searchIcon">
<path
d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"
></path>
</svg>
</label>
<div class="border"></div>
</div>
</header>
<div class="tab">
<button
id="defaultOpen"
class="tablinks active"
onclick="changeCategory(event, 'anime')"
data-category="anime"
>
Anime
</button>
<button class="tablinks" onclick="changeCategory(event, 'movie')" data-category="movie">
Movies
</button>
<button class="tablinks" onclick="changeCategory(event, 'series')" data-category="series">
TV Series
</button>
</div>
<div id="search-results" class="tabcontent" style="display: none;">
<table>
<thead>
<tr>
<td>Search Results</td>
</tr>
</thead>
<tbody id="search-results-table" class="inside-row"></tbody>
</table>
</div>
<div id="anime-data" class="tabcontent">
<table class="sortable-table">
<thead>
<tr>
<td>Anime Name</td>
<th class="sortable">Anime Rating
<span class="sort-arrow descending" style="font-size: 18px;">▼</span>
</th>
<td>Anime Link</td>
</tr>
</thead>
<tbody id="anime-table" class="inside-row"></tbody>
</table>
</div>
<div id="movie-data" class="tabcontent">
<table class="sortable-table">
<thead>
<tr>
<td>Movie Name</td>
<th class="sortable">Movie Rating
<span class="sort-arrow descending" style="font-size: 18px;">▼</span>
</th>
<td>Movie Link</td>
</tr>
</thead>
<tbody id="movie-table" class="inside-row"></tbody>
</table>
</div>
<div id="series-data" class="tabcontent">
<table class="sortable-table">
<thead>
<tr>
<td>Series Name</td>
<th class="sortable">Series Rating
<span class="sort-arrow descending" style="font-size: 18px;">▼</span>
</th>
<td>Series Link</td>
</tr>
</thead>
<tbody id="series-table" class="inside-row"></tbody>
</table>
</div>
<footer>
<div>
<button id="backToTopBtn" title="Go to top">
<i class="fa fa-arrow-circle-up" aria-hidden="true"></i>
</button>
Made with
<i class="fa fa-heart" style="color: red"></i>
by
<a href="https://aditeyas.github.io/" target="_blank">Aditeya</a>
</div>
<div>
and
<a
id="contributor-credits"
href="https://github.com/aditeyaS/peoples-choice/graphs/contributors"
target="_blank"
></a>
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/2.0.2/anime.min.js"></script>
<script type="text/javascript" src="data.js"></script>
<script type="text/javascript" src="index.js"></script>
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script>
AOS.init();
</script>
</body>
</html>