source: source/MovieZilla-master/src/main/resources/templates/projections.html@ fc7ec52

Last change on this file since fc7ec52 was fc7ec52, checked in by darkopopovski <darkopopovski39@…>, 22 months ago

all files

  • Property mode set to 100644
File size: 4.7 KB
Line 
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/projection.css}"/>
11 </head>
12
13 <body>
14 <div class="navbar">
15 <!-- <header th:replace="fragments/header.html" >-->
16 <!--&lt;!&ndash; <a href="/home"><img class="logo" th:src="@{../images/LOGOPNG2.png}" alt="logo"></a>&ndash;&gt;-->
17 <!--&lt;!&ndash; <ul class="nav_links">&ndash;&gt;-->
18 <!--&lt;!&ndash; <li><a href="/movies">MOVIES</a></li>&ndash;&gt;-->
19 <!--&lt;!&ndash; <li><a href="/projections">PROJECTIONS</a></li>&ndash;&gt;-->
20 <!--&lt;!&ndash; <li><a href="/auditoriums">AUDITORIUMS</a></li>&ndash;&gt;-->
21
22 <!--&lt;!&ndash; </ul>&ndash;&gt;-->
23
24 <!--&lt;!&ndash; <div class="right">&ndash;&gt;-->
25 <!--&lt;!&ndash; <li><a class="reg" href="/login">LOGIN</a></li>&ndash;&gt;-->
26 <!--&lt;!&ndash; <li><a class="log" style="color: red" href="/register">REGISTER</a></li>&ndash;&gt;-->
27 <!--&lt;!&ndash; </div>&ndash;&gt;-->
28 <!-- </header>-->
29 <main>
30 <div class="container-main">
31 <div class="h1Combined">
32 <th:block sec:authorize="hasRole('ROLE_EMPLOYEE')">
33 <div sec:authorize="hasRole('ROLE_EMPLOYEE')" class="row" >
34 <div class="col-xs-12 col-xs-12" style="float:top" id="projection-add" sec:authorize="hasRole('ROLE_EMPLOYEE')">
35 <!-- <form th:method="POST" th:action="@{/projections/add-form}">-->
36 <a href="/projections/add-form" class="btn btn-block btn-dark add-product-btn" >
37 ADD NEW PROJECTION
38 </a>
39 <!-- </form>-->
40 </div>
41 <!-- href="/projections/add-form"-->
42 </div>
43 </th:block>
44 <h1 style="color:white">Movie <h1 style="color:red">Zilla</h1></h1>
45 </div>
46 <div class="content">
47 <!-- Page content -->
48 <div class="header-one">
49 </div>
50 <div class="centered">
51 <table style="font-size:3.0rem;">
52 <thead style="border-bottom: 1px solid rgba(255, 51, 51,0.8)">
53 <tr>
54 <td style="border-right: 1px solid rgba(255, 51, 51,0.8)">Movie Name</td>
55 <td style="border-right: 1px solid rgba(255, 51, 51,0.8)">Projection Type</td>
56 <td style="border-right: 1px solid rgba(255, 51, 51,0.8)">Screening Date</td>
57 <td style="border-right: 1px solid rgba(255, 51, 51,0.8)">Projection Price</td>
58 </tr>
59 </thead>
60 <tbody>
61 <tr th:each="movieprojection : ${movieprojection}">
62
63
64 <td th:text="${movieprojection.movie.getMovie_name()} "/>
65 <td th:text="${movieprojection.getProjection_type()} "/>
66 <td th:text="${movieprojection.getProjection_screening_date()} "/>
67 <td th:text="${movieprojection.getProjection_price()} "/>
68
69 <td class="text-right">
70 <form th:action="@{/reserve/projection}">
71 <button class="btn btn-sm btn-danger view-product" type="submit" th:name="projection_id" th:value="${movieprojection.getProjection_id()}">RESERVE</button>
72 </form>
73 </td>
74 </tr>
75 </tbody>
76 </table>
77 </div>
78 </div>
79 <!--<a class="btn" href="/projections">Projections</a>-->
80 </div>
81 </main>
82 <!--<footer th:replace="fragments/footer"/>-->
83 </div>
84 </body>
85
86
87
88
89
90
91
92
93
94
95
96
Note: See TracBrowser for help on using the repository browser.