-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpage2.html
More file actions
96 lines (88 loc) · 4.75 KB
/
page2.html
File metadata and controls
96 lines (88 loc) · 4.75 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Musical Time Machine Results</title>
<!--Link style sheets-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Courgette&family=Josefin+Sans:ital,wght@1,100;1,400&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<link rel="stylesheet" href="./assets/css/page2.css">
</head>
<body>
<div class='container-fluid'>
<div class='row'>
<header class='col-12'>
<h1><a href="./index.html">The <span id='musical'> Musical</span> Time Machine</a></h1>
</header>
<!-- Search Area -->
<section class='col-lg-3 col-sm-12 side1 justify-content-center text-center bg-dark p-5'>
<h2 class='main-title'>Search for a Day</h2>
<input id='datepicker' class='text-dark form-control m-2' placeholder=' ♪ Lets go back..♪'
onfocus="this.placeholder=''">
<button id='searchBtn' class='btn btn-light btn-lg btn-block m-2' type='button'>Search</button>
<button class='btn btn-light btn-lg btn-block m-2' id='addComBtn'
onclick="document.location='#commentBox'" type="button">Add a comment</button>
</section>
<!-- Video Cards -->
<main class='col-lg-6 col-sm-12 overflow middle'>
<h2 class='main-title m-3 text-dark'>Search Results</h2>
<div class="card">
<div class="card-body">
</div>
</div>
<!--add a comment box for user-->
<div id='commentBox' class='m-3'>
<form id='container-md m-3 row'>
<p class='text-dark'>Enter your name or initials: <textarea type="text"
class="input form-control m-2" placeholder="Your name or initials" id='name'></textarea>
</p>
<p class='text-dark'>Write your comment: <textarea type="text" class="input form-control m-2"
placeholder="Write a comment" id='commentText'></textarea>
</p>
<button class='btn btn-light m-2' id='submitComBtn'>Submit</button>
</form>
<!--Modal-->
<div class="modal fade" id="myModal" tabindex="-1" aria-labelledby="myModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="text-dark" id="myModalLabel">Submit alert</h4>
</div>
<div class="modal-body text-dark" id='modalText'>
You need to put both name and comment to save your comment.
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" id='closeModal'>Close</button>
</div>
</div>
</div>
</div>
<div id='commentDisplay' class='text-dark bg-light border border-dark rounded'>
</div>
</div>
</main>
<!-- News Column -->
<section class='col-lg-3 col-sm-12 side2 overflow bg-dark'>
<h3 class='text-center m-3'>Entertainment News of the Day</h3>
<aside id='news-list' class='list-group'>
</aside>
</section>
</div>
</div>
<!--All JavaScript/JQuery links-->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.0/jquery-ui.min.js"></script>
<script src="./assets/js/page2.js"></script>
</body>
</html>