-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
123 lines (111 loc) · 5.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="Description" content="Enter your description here" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<link rel="stylesheet" href="assets/css/style.css">
<title>OTT Buddy</title>
</head>
<body>
<!-- add new OTT show modal -->
<div class="modal fade add_data" id="addOTTModal" tabindex="-1" aria-labelledby="addOTTModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="addOTTModalLabel">Add New OTT Show</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="form-group">
<label>OTT</label>
<input type="text" class="form-control OTT_name" placeholder = "Enter OTT name here" required="">
</div>
<div class="form-group">
<label>Show</label>
<input type="email" class="form-control show_name" placeholder="Enter show name here" required="">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-success submit">Save</button>
</div>
</div>
</div>
</div>
<!-- add new OTT show modal end -->
<!-- edit OTT modal start -->
<div class="modal fade edit_modal" id="editOTTModal" tabindex="-1" aria-labelledby="editOTTModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="editOTTModalLabel">Edit OTT Show</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="form-group">
<label>OTT</label>
<input type="text" class="form-control edit_OTT_name" required="">
</div>
<div class="form-group">
<label>Show</label>
<input type="email" class="form-control edit_show_name" required="">
</div>
<input type="hidden" class = "edit_key">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-success save_edited_data">Save changes</button>
</div>
</div>
</div>
</div>
<!-- edit OTT modal end -->
<!-- hero section starts from here -->
<section id="hero">
<div class="main_container">
<div class="head">
<div class="left">
<h5>OTT <span class="">Buddy</span></h5>
</div>
<div class="right">
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#addOTTModal">
Add new show
</button>
</div>
</div>
<div class="body">
<div class="table-responsive">
<table class="table">
<thead class="thead-dark">
<tr>
<th scope="col">OTT</th>
<th scope="col">Show</th>
<th scope="col">Action</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/js/bootstrap.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.15.5/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.15.5/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.15.5/firebase-database.js"></script>
<script src="assets/js/firebase.js"></script>
<script src="assets/js/index.js"></script>
</body>
</html>