-
Notifications
You must be signed in to change notification settings - Fork 0
/
Yonde.html
533 lines (469 loc) · 20.7 KB
/
Yonde.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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
<!DOCTYPE html>
<html>
<head>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.4.3/css/foundation.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/motion-ui/1.2.3/motion-ui.min.css">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.4.3/css/foundation-prototype.min.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/foundicons/3.0.0/foundation-icons.css" rel="stylesheet"
type="text/css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<link rel="stylesheet" type="text/css" href="Navbar.css">
<link rel="stylesheet" type="text/css" href="Body.css">
<link rel="stylesheet" type="text/css" href="createPost.css">
<link rel="stylesheet" type="text/css" href="profile.css">
<title>Yonde</title>
</head>
<body>
<nav class="navbar navbar-expand-lg sticky-top" id="blur">
<a class="navbar-brand" href="Yonde.html" style="color: white;">
Yonde
<span class="kanji">読んで</span>
<span class="tagline">A Sports Anime Forum</span>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse justify-content-end align-items-center" id="navbarSupportedContent">
<form class="form-inline my-lg-0 me-4 justify-content-start justify-content-lg-end">
<i class="fas fa-search"></i>
<input class="form-control mr-sm-2" id="searchbar" onkeydown="searchPosts(event)" type="search"
placeholder="Search" aria-label="Search">
</form>
<ul class="navbar-nav d-flex justify-content-between">
<li class="nav-item btn-underline active">
<a class="nav-link" href="Yonde.html">Home</a>
</li>
<li class="nav-item">
</li>
<li class="nav-item" id="loginNavItem">
<a class="nav-link rounded-pill btn-primary" href="#" onclick="toggle()">Login</a>
</li>
</ul>
</div>
</nav>
<div class="bg" id="blur2">
<div id="grid-container" class="grid-container" id="cont">
<!-- CREATE POST -->
<div class="grid-x align-center">
<div class="postBox">
Create Post
<div class="line"></div>
<input id="post-title" type="text" placeholder="Title" style="font-weight: 200;">
<div class="tf" id="text-area-container">
<textarea id="text-box" class="text-box" placeholder="Text" id="text-field"></textarea>
</div>
<div class="drag-upload" id="img-upload" style="display:none">
<div class="cloud"><i class="fas fa-cloud-upload-alt"></i> </div>
<header>Drag & Drop to Upload File</header>
<span>OR</span>
<button>Browse File</button>
<input id="img-post" type="file" hidden>
</div>
<button type="button" class="imageButton" id="img" href="#" onclick="toImgUpload(); cancel();">
Image
</button>
<button class="postButton" onclick="onPostButtonClick()">Post</button>
</div>
</div>
<div id="old-container">
<!--Post-->
<div id="post1" class="post-container grid-x align-center">
<div class="cell medium-8">
<!--like column of every post-->
<div class="like-column">
<div>
<button type="button" class="like-button" aria-pressed="false" id="likebtn01" onclick="clickLike01()">
<i class="fa-solid fa-caret-up"></i>
</button>
</div>
<div class="like-num">
<span id="like-num01">24</span>
</div>
<div>
<button type="button" class="dislike-button" aria-pressed="false" id="dislikebtn01"
onmousedown="clickDislike01()">
<i class="fa-solid fa-caret-down"></i>
</button>
</div>
</div>
<div class="blog-post" style="width: max-content;">
<a href="Post.html"></a>
<div class="d-flex justify-content-between align-items-center">
<a href="mbc21.html">
<div class="d-flex align-items-center">
<img class="avatar-image" src="PFPs and Posts/pfp1.png" id="pfp1">
<span class="avatar-name">Posted by mbc21 2 days ago</span>
</div>
</a>
<!--
<button type="button">
<i class="bi-pencil-square" href="#" onclick="editPostPopup()"></i>
</button>
-->
</div>
<div class="d-flex flex-column">
<div class="row">
<div class="col">
<div class="post-title">
<a id="post1-title" href="Post.html" style="color: #1a340d;">
Thoughts on Tsurune?
</a>
</div>
<div id="post1-body" class="post-text">
I've been wanting to watch it for a long time but haven't gotten to it yet, so
can you tell me if it's good lol i want something to look forward to :>
</div>
</div>
<!--The comment and like bar of every post-->
<div class="comment-bar">
<div class="comment-button">
<button type="button">
<a href="Post.html" style="color: #1a340d">
<i class="fa-solid fa-message"></i>
<span class="comment-num">2</span>
<span> Comments </span>
</a>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--Post-->
<div id="post2" class="post-container grid-x align-center">
<div class="cell medium-8">
<!--like column of every post-->
<div class="like-column">
<div>
<button type="button" class="like-button" aria-pressed="false" id="likebtn02"
onmousedown="clickLike02()">
<i class="fa-solid fa-caret-up"></i>
</button>
</div>
<div class="like-num">
<span id="like-num02">7</span>
</div>
<div>
<button type="button" class="dislike-button" aria-pressed="false" id="dislikebtn02"
onmousedown="clickDislike02()">
<i class="fa-solid fa-caret-down"></i>
</button>
</div>
</div>
<div class="blog-post">
<div class="d-flex justify-content-between align-items-center">
<a href="noName456.html">
<div class="d-flex align-items-center">
<i class="fa-solid fa-circle-user"></i>
<span class="avatar-name">Posted by noName456 7 hours ago</span>
</div>
</a>
<!--Edit post button goes here-->
</div>
<div class="d-flex flex-column">
<div class="row">
<div class="col">
<div class="post-title">
<a id="post2-title" href="Post2.html" style="color: #1a340d;">
give me ur top recommendations
</a>
</div>
<img id="post2-body" class="thumbnail" src="PFPs and Posts/img1.jpeg">
</div>
<!--The comment of every post-->
<div class="comment-bar">
<div class="comment-button">
<button type="button">
<a href="Post2.html" style="color: #1a340d">
<i class="fa-solid fa-message"></i>
<span class="comment-num">1</span>
<span> Comments </span>
</a>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--Post-->
<div id="post3" class="post-container grid-x align-center">
<div class="cell medium-8">
<!--like column of every post-->
<div class="like-column">
<div>
<button type="button" class="like-button" aria-pressed="false" id="likebtn03"
onmousedown="clickLike03()">
<i class="fa-solid fa-caret-up"></i>
</button>
</div>
<div class="like-num">
<span id="like-num03">-11</span>
</div>
<div>
<button type="button" class="dislike-button" aria-pressed="false" id="dislikebtn03"
onmousedown="clickDislike03()">
<i class="fa-solid fa-caret-down"></i>
</button>
</div>
</div>
<div class="blog-post">
<div class="d-flex justify-content-between align-items-center">
<a href="userNotCry.html">
<div class="d-flex align-items-center">
<img class="avatar-image" src="PFPs and Posts/pfp2.jpeg" id="pfp2">
<span class="avatar-name">Posted by userNotCry 1 hour ago</span>
</div>
</a>
<!--Edit post button goes here-->
</div>
<div class="d-flex flex-column">
<div class="row">
<div class="col">
<div class="post-title">
<a id="post3-title" href="Post3.html" style="color: #1a340d;">
My thoughts on Blue Lock
</a>
</div>
<div id="post3-body" class="post-text">
Blue Lock is the best sports anime ever. It is not even close. Haikyuu was a snoozefest throughout
the first episode.
Blue Lock? You are either good at football or I will kick this ball to your face until it bleeds.
There is no in between.
Here are a few reasons why Blue Lock is pretty good:
<br>
<br>• Isagi is Himsagi.
<br>• Isagi would solo the Argentina National Football team.
<br>• Goku be sweating when he sees Isagi.
<br>• There is at least one girl present in Blue Lock.
<br>• The story and animation is pretty good.
<br>• The anime is superior to the manga. (I have never read manga in my life)
</div>
</div>
<!--The comment bar of every post-->
<div class="comment-bar">
<div class="comment-button">
<button type="button">
<a href="Post3.html" style="color: #1a340d">
<i class="fa-solid fa-message"></i>
<span class="comment-num">2</span>
<span> Comments </span>
</a>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--Post-->
<div id="post4" class="post-container grid-x align-center">
<div class="cell medium-8">
<!--like column of every post-->
<div class="like-column">
<div>
<button type="button" class="like-button" aria-pressed="false" id="likebtn04"
onmousedown="clickLike04()">
<i class="fa-solid fa-caret-up"></i>
</button>
</div>
<div class="like-num">
<span id="like-num04">0</span>
</div>
<div>
<button type="button" class="dislike-button" aria-pressed="false" id="dislikebtn04"
onmousedown="clickDislike04()">
<i class="fa-solid fa-caret-down"></i>
</button>
</div>
</div>
<div class="blog-post">
<div class="d-flex justify-content-between align-items-center">
<a href="tanjiNaur.html">
<div class="d-flex align-items-center">
<img class="avatar-image" src="PFPs and Posts/pfp3.png" id="pfp3">
<span class="avatar-name">Posted by tanjiNaur 2 seconds ago</span>
</div>
</a>
<!--Edit post button goes here-->
</div>
<div class="d-flex flex-column">
<div class="row">
<div class="col">
<div class="post-title">
<a id="post4-title" href="Post4.html" style="color: #1a340d;">
give me ur top recommendations
</a>
</div>
<img id="post4-body" class="thumbnail" src="PFPs and Posts/img2.jpg">
</div>
<!--The comment of every post-->
<div class="comment-bar">
<div class="comment-button">
<button type="button">
<a href="Post4.html" style="color: #1a340d">
<i class="fa-solid fa-message"></i>
<span class="comment-num">0</span>
<span> Comments </span>
</a>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--Post-->
<div id="post5" class="post-container grid-x align-center">
<div class="cell medium-8">
<!--like column of every post-->
<div class="like-column">
<div>
<button type="button" class="like-button" aria-pressed="false" id="likebtn05" onclick="clickLike05()">
<i class="fa-solid fa-caret-up"></i>
</button>
</div>
<div class="like-num">
<span id="like-num05">7</span>
</div>
<div>
<button type="button" class="dislike-button" aria-pressed="false" id="dislikebtn05"
onmousedown="clickDislike05()">
<i class="fa-solid fa-caret-down"></i>
</button>
</div>
</div>
<div class="blog-post" style="width: max-content;">
<a href="Post5.html"></a>
<div class="d-flex justify-content-between align-items-center">
<a href="Meee.html">
<div class="d-flex align-items-center">
<img class="avatar-image" src="PFPs and Posts/pfp4.jpg" id="pfp1">
<span class="avatar-name">Posted by itsMeee 7 seconds ago</span>
</div>
</a>
</div>
<div class="d-flex flex-column">
<div class="row">
<div class="col">
<div class="post-title">
<a href="Post5.html" style="color: #1a340d;" id="entered-title">
Haikyuu!!
</a>
</div>
<div class="post-text">
I would love to hear your thoughts on "Haikyuu!!" and any other sports anime recommendations you
might have.
</div>
</div>
<!--The comment bar of every post-->
<div class="comment-bar">
<div class="comment-button">
<button type="button">
<a href="Post5.html" style="color: #1a340d">
<i class="fa-solid fa-message"></i>
<span class="comment-num">0</span>
<span> Comments </span>
</a>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--Edit Post popup-->
<div id="popup_editPost">
<div class="popup">
<div class="close" href="#" onclick="editPostPopup()">×</div>
<div class="editPost-form">
<h1>Edit Post</h1>
<div class="elements">
<label for="editTitle-box">Title:</label>
<textarea id="editTitle-box" class="editPost-box" rows="1" placeholder="Change Title" required></textarea>
<label for="editBody-box">Body:</label>
<textarea id="editBody-box" class="editPost-box" rows="6" placeholder="Change Post" required></textarea>
<div class="editPost-buttons">
<button id="deletePostBtn" onclick="deletePost()">Delete</button>
<button id="cancelPostBtn" href="#" onclick="editPostPopup()">Cancel</button>
<button id="editPostBtn" onclick="editPost()">Edit Post</button>
</div>
</div>
</div>
</div>
</div>
<!--Login popup-->
<div id="popup_login">
<div class="popup">
<div class="close" href="#" onclick="toggle()">×</div>
<div class="login-form">
<h1>Welcome back</h1>
<div class="elements">
<label for="username">Username</label>
<input type="text" id="username" placeholder="Enter your username">
<label for="password">Password</label>
<input type="password" id="password" placeholder="Enter password">
<div class="check">
<input type="checkbox" id="remember">
<label for="remember">Remember for 3 weeks</label>
</div>
<button id="submit">
<a style="color: white;" href="mbc21_login.html">
Login
</a>
</button>
<p class="signup">
<a style="color: #1a340d;" href="mbc21_login.html">
Don't have an account?
</a>
<a href="#" onclick="toggle2()" class="signup" id="link">
Sign Up
</a>
</p>
</div>
</div>
</div>
<!--Register popup-->
<div class="register" id="popup-reg">
<div class="close" href="#" onclick="toggle2()">×</div>
<div class="reg-form">
<h1>Sign Up</h1>
<div class="elements">
<label for="email">E-mail Address</label>
<input type="text" id="email" placeholder="Enter your e-mail address">
<label for="username">Username</label>
<input type="text" id="username" placeholder="Enter your username">
<label for="password">Password</label>
<input type="password" id="password" placeholder="Enter password">
<button id="submit">Register</button>
<p class="login">Already have an account? <a class="login" id="link" href="#" onclick="toggle2()"> Log
In</a>
</p>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-fbbOQedDUMZZ5KreZpsbe1LCZPVmfTnH7ois6mU1QK+m14rQ1l2bGBq41eYeM/fS"
crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.4.3/js/foundation.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/motion-ui/1.2.3/motion-ui.min.js"></script>
<script src="Script.js"></script>
</body>
</html>