1 | <!DOCTYPE html>
|
---|
2 | <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
|
---|
3 | <head>
|
---|
4 | <base href="${pageContext.request.contextPath}">
|
---|
5 | <meta charset="utf-8">
|
---|
6 | <meta http-equiv="X-UA-Compatible" content="IE=edge">
|
---|
7 | <title>Movies</title>
|
---|
8 | <meta name="description" content="">
|
---|
9 | <meta name="viewport" content="width=device-width, initial-scale=1">
|
---|
10 | <link rel="stylesheet" type="text/css" th:href="@{../css/styleMovies.css}"/>
|
---|
11 | </head>
|
---|
12 |
|
---|
13 | <body>
|
---|
14 | <div class="navbar">
|
---|
15 | <!-- <header th:replace="fragments/header.html" >-->
|
---|
16 | <!--<!– <a href="/home"><img class="logo" th:src="@{../images/LOGOPNG2.png}" alt="logo"></a>–>-->
|
---|
17 | <!--<!– <ul class="nav_links">–>-->
|
---|
18 | <!--<!– <li><a href="/movies">MOVIES</a></li>–>-->
|
---|
19 | <!--<!– <li><a href="/projections">PROJECTIONS</a></li>–>-->
|
---|
20 | <!--<!– <li><a href="/auditoriums">AUDITORIUMS</a></li>–>-->
|
---|
21 |
|
---|
22 | <!--<!– </ul>–>-->
|
---|
23 |
|
---|
24 | <!--<!– <div class="right">–>-->
|
---|
25 | <!--<!– <li><a class="reg" href="/login">LOGIN</a></li>–>-->
|
---|
26 | <!--<!– <li><a class="log" style="color: red" href="/register">REGISTER</a></li>–>-->
|
---|
27 | <!--<!– </div>–>-->
|
---|
28 | <!-- </header>-->
|
---|
29 | <main>
|
---|
30 | <div class="container-main">
|
---|
31 | <div class="h1Combined">
|
---|
32 | <h1 style="color:white">Movie <h1 style="color:red">Zilla</h1></h1>
|
---|
33 | </div>
|
---|
34 | <div class="content">
|
---|
35 | <!-- Page content -->
|
---|
36 | <div class="header-one">
|
---|
37 | </div>
|
---|
38 | <div class="centered">
|
---|
39 | <table>
|
---|
40 | <thead style="border-bottom: 1px solid rgba(255, 51, 51,0.8)">
|
---|
41 | <tr>
|
---|
42 | <td style="border-right: 1px solid rgba(255, 51, 51,0.8)">Name</td>
|
---|
43 | <td style="border-right: 1px solid rgba(255, 51, 51,0.8)">Genre Name</td>
|
---|
44 | <td style="border-right: 1px solid rgba(255, 51, 51,0.8)">Age Category</td>
|
---|
45 | <td style="border-right: 1px solid rgba(255, 51, 51,0.8)">Time Duration</td>
|
---|
46 | <td style="border-right: 1px solid rgba(255, 51, 51,0.8)">Movie Cast</td>
|
---|
47 | <td>Film Director</td>
|
---|
48 | </tr>
|
---|
49 | </thead>
|
---|
50 | <tbody>
|
---|
51 | <tr th:each="movies : ${movie}">
|
---|
52 | <td th:text="${movies.getMovieGenreKey().getMovie().getMovie_name()}" />
|
---|
53 | <td th:text="${movies.getMovieGenreKey().getGenre().getGenre_name()}"/>
|
---|
54 | <td th:text="${movies.getMovieGenreKey().getMovie().getMovie_age_category()} "/>
|
---|
55 | <td th:text="${movies.getMovieGenreKey().getMovie().getMovie_time_duration()} "/>
|
---|
56 | <td th:text="${movies.getMovieGenreKey().getMovie().getMovie_cast()} "/>
|
---|
57 | <td th:text="${movies.getMovieGenreKey().getMovie().getMovie_film_director()} "/>
|
---|
58 | <td class="text-right">
|
---|
59 | <form th:action="@{/movie/projections/detailed-preview/}">
|
---|
60 | <button class="btn2" type="submit" th:name="movie_id" th:value="${movies.getMovieGenreKey().getMovie().getMovie_id()}">View Projections</button>
|
---|
61 | </form>
|
---|
62 | </th:block>
|
---|
63 | </td>
|
---|
64 | </tr>
|
---|
65 | </tbody>
|
---|
66 | </table>
|
---|
67 | </div>
|
---|
68 | </div>
|
---|
69 | <!--<a class="btn" href="/projections">Projections</a>-->
|
---|
70 | </div>
|
---|
71 | </main>
|
---|
72 | <!--<footer th:replace="fragments/footer"/>-->
|
---|
73 | </div>
|
---|
74 | </body>
|
---|
75 |
|
---|
76 |
|
---|
77 |
|
---|
78 |
|
---|
79 |
|
---|