forked from calculator3000/movie-webapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
165 lines (149 loc) · 6.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>ScreenTrack: using the IMDB API to display data about movies</title>
<link rel="icon" type="image/x-icon" href="images/camera.png">
<script type="text/javascript" src="scripts/config.js"></script> <!-- need this to be able to access the config file, needs to be placed before the rest!!-->
<script
type="text/javascript"
src="https://cdn.jsdelivr.net/npm/@emailjs/browser@3/dist/email.min.js">
</script>
<script type="text/javascript">
(function () {
emailjs.init('TtgLX2SAhGi_jaItB');
})();
</script>
<script src="scripts/script.js">getInTheatersFromJsonFile</script>
<script src="scripts/login.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<div class="logo"><a href="./index.html"><img src="images/camera.png"></a></div>
<a href="./index.html"><h3>ScreenTrack</h3></a>
<nav class="main-nav">
<ul>
<li><a href="./top250.html">Top 250</a></li>
<li><a href="./in_theaters.html">In Theaters</a></li>
<li><a href="./stats.html">Stats</a></li>
<li><a href="./watched.html">Watched</a></li>
<li><a href="./about.html">About</a></li>
<li style="position: absolute; right: 0;"><a href="./login.html">Login</a></li>
</ul>
</nav>
</header>
<main>
<section class="hero_image">
<div class="background">
</div>
<div class="column_index">
<section class="container_first">
<div class="left-column">
<h1>
Interested in movies?
<br><br><br>On this website you will find a lot of information about movies.
Browse the website and find out about the Top 250 movies, which movies are currently in
the cinema and log into your account in order to find some statistics on the movies you have watched.<br>
</h1>
</div>
<div class="right-column">
<div class="video_title"><h1><p id="trailer_title"></p><p id="trailer_year"></p></h1></div>
<iframe src="" id="trailer_url" frameborder="0" allow="autoplay" allowfullscreen></iframe></iframe>
</div>
</section>
<!--==========================
Discover movies section
============================-->
<section id="services" class="section-bg">
<div class="container">
<div class="section-header">
<h2 id="discover">
Discover movies that are currently in cinemas
</h2>
</div>
<div class="row">
<a href="./in_theaters.html" style="text-decoration: none; color: inherit;">
<div class="col-md-6 col-lg-5 offset-lg-1 ">
<div class="box">
<div class="icon"><i class="fab fa-angellist" style="color: #ff689b;"></i></div>
<img class="image" src="" id="element_1_image" alt="movie image" >
<h4 class="title", id="element_1_title">
</h4>
<h4 class="ranking", id="element_1_ranking">
</h4>
<p class="description", id="element_1_plot"></p>
</div>
</div>
</a>
<a href="./in_theaters.html" style="text-decoration: none; color: inherit;">
<div class="col-md-6 col-lg-5 " >
<div class="box">
<div class="icon"><i class="fas fa-calculator" style="color: #e9bf06;"></i></div>
<img class="image" src="" id="element_2_image" alt="movie image" >
<h4 class="title", id="element_2_title"></h4>
<h5 class="ranking", id="element_2_ranking"></h5>
<p class="description" id="element_2_plot"></p>
</div>
</div>
</a>
<a href="./in_theaters.html" style="text-decoration: none; color: inherit;">
<div class="col-md-6 col-lg-5 offset-lg-1 " >
<div class="box">
<div class="icon"><i class="far fa-calendar-alt" style="color: #3fcdc7;"></i></div>
<img class="image" src="" id="element_3_image" alt="movie image" >
<h4 class="title", id="element_3_title"></h4>
<h5 class="ranking", id="element_3_ranking"></h5>
<p class="description", id="element_3_plot"></p>
</div>
</div>
</a>
<a href="./in_theaters.html" style="text-decoration: none; color: inherit;">
<div class="col-md-6 col-lg-5 " >
<div class="box">
<div class="icon"><i class="far fa-clock" style="color:#41cf2e;"></i></div>
<img class="image" src="" id="element_4_image" alt="movie image" >
<h4 class="title", id="element_4_title"></h4>
<h5 class="ranking", id="element_4_ranking"></h5>
<p class="description", id="element_4_plot"></p>
</div>
</div>
</a>
</div>
</section>
<!--==========================
Feedback Section
============================-->
<section id="feedback" class="section-bg">
<div class="container">
<div class="section-header">
<h2>
Feedback
</h2>
<div class="container">
<div class="contact-box">
<div class="right">
<h4>If you wish to see information about other movies on the website, please fill out the form.</h4>
<form id="contact-form">
<input type="text" class="field" id="name" placeholder="Your Name" name="name">
<input type="email" class="field" id="email" placeholder="Your Email" name="email">
<textarea placeholder="Message" class="field" id="message" name="message"></textarea>
<button type="submit" class="btn">Send</button>
</form>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
</body>
<script>
getInTheatersForIndexTab();
getCode();
document.getElementById('contact-form').addEventListener('submit', function(event) {
event.preventDefault();
sendmail();
});
</script>
</html>