-
Notifications
You must be signed in to change notification settings - Fork 0
/
Table.html
130 lines (113 loc) · 4.62 KB
/
Table.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> List of OMDB Movies </title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet" />
<!-- jQuery CDN -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./css/mainStyle.css">
</head>
<body>
<div id="topTitle" class="topTitle">
<h4 style="text-align: center;">List of the Movies</h4>
</div>
<!-- Main container -->
<div class="mainWindow">
<div class="sideDiv">
<div class="sideItemTop">
<input id="sideSearchIMDb" class="sideSearchField" type="text" placeholder="Enter valid IMDb ID...">
<button id="sideIMDbButton" class="search_button"> <i class="material-icons">search</i> </button>
</div>
<p id="listMovies" class="sideItem "> List only movies </p>
<p id="listSeries" class="sideItem"> List only series </p>
<p id="listGames" class="sideItem"> List only games </p>
<p id="listEpisodes" class="sideItem"> List only episode </p>
<div class="sideChoicer"> More options <i class="material-icons">expand_more</i> </div>
<div id="sideItemTitle" class="sideItemTop collapse">
<input id="sideSearchTitle" class="sideSearchField" type="text" placeholder="Enter movie title ...">
<button id="sideTitleButton" class="search_button">
<i class="material-icons">search</i> </button>
</div>
</div>
<!-- Main table with student records -->
<div class="rightDiv">
<table id="mainTable" class="movieTable">
<thead>
<tr>
<td> </td>
<td> Title </td>
<td> Year</td>
<td> imdbID </td>
<td> Type </td>
<td> </td>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<div class="addButton"><button type="button" id="addButton" class="btn btn-success"> Add </button></div>
<div id="msgError" class="msgError collapse"></div>
<<<<<<< HEAD:Table.html
<!-- New section for editing existing Student records in the table -->
=======
<!-- New section for adding and editing existing Student records in the table -->
>>>>>>> f13a11b9760c577bbeb164669fbd584ac042fc15:MainTable.html
<div id="formMovieDiv" class="collapse">
<div class="card border border-primary">
<div class="card-header text-white bg-primary">
Movie Information
</div>
<div class="card-body">
<div class="form-group font-weight-bold">
<label for="title">Title</label>
<input type="text" id="title" class="form-control" />
</div>
<div class="form-group font-weight-bold">
<label for="introyear">Introduction Year</label>
<input type="text" id="introyear" class="form-control" />
</div>
<div class="form-group font-weight-bold">
<label for="imdbID">imdbID</label>
<input type="text" id="imdbID" class="form-control" />
</div>
<div class="form-group font-weight-bold">
<label for="type">Type</label>
<input type="type" id="type" class="form-control" />
</div>
</div>
<div class="card-footer">
<div class="row">
<div class="col-xs-12 ml-2">
<button type="button" id="updateButton" class="btn btn-success " onclick="formClick();">
*Add*Edit*
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="default.js"></script>
<script src="uploadTable.js"></script>
<script src="formAddNew.js"></script>
<script src="formEdit.js"></script>
<script src="formDelete.js"></script>
</body>
</html>