-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
232 lines (204 loc) · 12 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="style.css">
<title>👹 ANIMESTIAM</title>
</head>
<body>
<header>
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<a class="navbar-brand" href="#">👹 AnimEstiam</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse"
aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto"></ul>
<!-- Formulaire de recherche -->
<form class="form-inline mt-2 mt-md-0">
<input class="form-control mr-sm-2" type="text" placeholder="Search anime 💬" data-toggle="dropdown" />
<!-- Element dynamique -->
<div class="dropdown-menu">
<a class="dropdown-item" href="javascript:void(0);">Fate/Zero</a>
<a class="dropdown-item" href="javascript:void(0);">Fate/Zero Season 2</a>
</div>
<!-- /Element dynamique -->
</form>
<!-- /Formulaire de recherche -->
</div>
</nav>
</header>
<main class="mt-5">
<div class="py-5 bg-light">
<div class="container">
<h1>My favorite animes 👺</h1>
<!-- //////////////////////////////////////////////////////////// -->
<!-- ANIME LIST -->
<!-- //////////////////////////////////////////////////////////// -->
<div class="row">
<!-- Element dynamique -->
<div class="col-sm-6 col-md-4 col-xl-2">
<div class="card mb-4 box-shadow">
<div class="card-body">
<img class="card-img" alt="Fate Zero" src="https://cdn.myanimelist.net/images/anime/2/73249.jpg">
<p class="h6">
Fate/Zero
<span class="badge badge-info">8.6</span>
</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary" data-toggle="modal" data-target="#modal-detail-anime">
Info
</button>
</div>
<small class="text-muted">13 Ep.</small>
</div>
</div>
</div>
</div>
<!-- /Element dynamique -->
<!-- //////////////////////////////////////////////////////////// -->
<!-- A supprimer, ceci est pour l'exemple d'affichage de la liste en statique -->
<!-- //////////////////////////////////////////////////////////// -->
<div class="col-sm-6 col-md-4 col-xl-2">
<div class="card mb-4 box-shadow">
<div class="card-body">
<img class="card-img" alt="Fate Zero" src="https://cdn.myanimelist.net/images/anime/2/73249.jpg">
<p class="h6">
Fate/Zero
<span class="badge badge-info">8.6</span>
</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary" data-toggle="modal" data-target="#modal-detail-anime">
Info
</button>
</div>
<small class="text-muted">13 Ep.</small>
</div>
</div>
</div>
</div>
<div class="col-sm-6 col-md-4 col-xl-2">
<div class="card mb-4 box-shadow">
<div class="card-body">
<img class="card-img" alt="Fate Zero" src="https://cdn.myanimelist.net/images/anime/2/73249.jpg">
<p class="h6">
Fate/Zero
<span class="badge badge-info">8.6</span>
</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary" data-toggle="modal" data-target="#modal-detail-anime">
Info
</button>
</div>
<small class="text-muted">13 Ep.</small>
</div>
</div>
</div>
</div>
<div class="col-sm-6 col-md-4 col-xl-2">
<div class="card mb-4 box-shadow">
<div class="card-body">
<img class="card-img" alt="Fate Zero" src="https://cdn.myanimelist.net/images/anime/2/73249.jpg">
<p class="h6">
Fate/Zero
<span class="badge badge-info">8.6</span>
</p>
<div class="d-flex justify-content-between align-items-center">
<div class="btn-group">
<button type="button" class="btn btn-sm btn-outline-secondary" data-toggle="modal" data-target="#modal-detail-anime">
Info
</button>
</div>
<small class="text-muted">13 Ep.</small>
</div>
</div>
</div>
</div>
<!-- //////////////////////////////////////////////////////////// -->
<!-- /A supprimer, ceci est pour l'exemple d'affichage de la liste -->
<!-- //////////////////////////////////////////////////////////// -->
</div>
<!-- //////////////////////////////////////////////////////////// -->
<!-- /ANIME LIST -->
<!-- //////////////////////////////////////////////////////////// -->
</div>
</div>
</main>
<footer class="text-muted bg-dark">
<div class="container">
<p class="float-right">
<a href="#">🔼 Back to top</a>
</p>
<p>👹 AnimEstiam</p>
</div>
</footer>
<!-- //////////////////////////////////////////////////////////// -->
<!-- MODAL -->
<!-- //////////////////////////////////////////////////////////// -->
<div class="modal fade" id="modal-detail-anime">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<!-- Element dynamique -->
<h5 class="modal-title">🔥 Fate/Zero</h5>
<a class="btn btn-link" title="Click to see trailer" target="_blank" href="https://www.youtube.com/embed/21-1-ioCfXY?enablejsapi=1&wmode=opaque&autoplay=1">🎥 Trailer</a>
<!-- /Element dynamique -->
<button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>
</div>
<div class="modal-body">
<table class="table table-condensed table-striped">
<tbody>
<!-- Element dynamique -->
<tr>
<td>Source</td>
<td>Light Novel</td>
</tr>
<tr>
<td>Duration</td>
<td>28 min per ep</td>
</tr>
<tr>
<td>Genre</td>
<td>
<span class="badge badge-info">Action</span>
<span class="badge badge-info">Supernatural</span>
<span class="badge badge-info">Magic</span>
<span class="badge badge-info">Fantasy</span>
</td>
</tr>
<tr>
<td>Synopsis</td>
<td>
With the promise of granting any wish, the omnipotent Holy Grail triggered three wars in the past, each too cruel and fierce to leave a victor. In spite of that, the wealthy Einzbern family is confident that the Fourth Holy Grail War will be different; namely, with a vessel of the Holy Grail now in their grasp. Solely for this reason, the much hated \"Magus Killer\" Kiritsugu Emiya is hired by the Einzberns, with marriage to their only daughter Irisviel as binding contract. Kiritsugu now stands at the center of a cutthroat game of survival, facing off against six other participants, each armed with an ancient familiar, and fueled by unique desires and ideals. Accompanied by his own familiar, Saber, the notorious mercenary soon finds his greatest opponent in Kirei Kotomine, a priest who seeks salvation from the emptiness within himself in pursuit of Kiritsugu. Based on the light novel written by Gen Urobuchi, Fate/Zero depicts the events of the Fourth Holy Grail War—10 years prior to Fate/stay night. Witness a battle royale in which no one is guaranteed to survive. [Written by MAL Rewrite]
</td>
</tr>
<!-- /Element dynamique -->
</tbody>
</table>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- //////////////////////////////////////////////////////////// -->
<!-- /MODAL -->
<!-- //////////////////////////////////////////////////////////// -->
<!-- Attention à l'ordre de chargement quand vous ajoutez un script ! -->
<script src="https://code.jquery.com/jquery-3.x-git.slim.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script src="./scripts/api/api.js"></script>
<script src="./scripts/api/resource.js"></script>
<script src="./scripts/api/animeResource.js"></script>
<script src="./scripts/api/searchResource.js"></script>
<script src="./scripts/main.js"></script>
</body>
</html>