- Timestamp:
- 02/06/23 19:28:42 (23 months ago)
- Branches:
- master
- Children:
- 0fb69cc
- Parents:
- a69d48c
- Location:
- src/main
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/config/WebSecurityConfig.java
ra69d48c rb5ce654 40 40 .loginPage("/login").permitAll() 41 41 .failureUrl("/login?error=BadCredentials") 42 .defaultSuccessUrl("/ products", true)42 .defaultSuccessUrl("/home", true) 43 43 .and() 44 44 .logout() -
src/main/java/com/example/moviezone/web/HomeController.java
ra69d48c rb5ce654 56 56 List<String> genres= List.of(film.getGenre().split(",")); 57 57 double r=customerRatesFilmService.avg_rating(film.getId_film()); 58 model.addAttribute("rating",r); 58 59 model.addAttribute("genres", genres); 59 60 model.addAttribute("bodyContent", "film"); -
src/main/resources/templates/addEvent.html
ra69d48c rb5ce654 1 1 <th:block xmlns:th="http://www.thymeleaf.org"> 2 <section class="jumbotron text-center"> 3 <div class="container"> 4 <h1 class="jumbotron-heading">Add New Event</h1> 5 </div> 6 </section> 7 8 <div class="container"> 2 <div style="color: white" class="container"> 3 <h1 class="jumbotron-heading">Add New Event</h1> 9 4 <div class="row"> 10 5 <div class="col-md-5"> -
src/main/resources/templates/addFilm.html
ra69d48c rb5ce654 1 1 <th:block xmlns:th="http://www.thymeleaf.org"> 2 <section class="jumbotron text-center">3 <div class="container">4 <h1 class="jumbotron-heading">Add New Film</h1>5 </div>6 </section>7 2 8 <div class="container"> 3 <div class="container" style="color: white"> 4 <h1 class="jumbotron-heading">Add New Film</h1> 9 5 <div class="row"> 10 6 <div class="col-md-5"> -
src/main/resources/templates/addProjection.html
ra69d48c rb5ce654 1 1 <th:block xmlns:th="http://www.thymeleaf.org"> 2 <section class="jumbotron text-center">3 <div class="container">4 <h1 class="jumbotron-heading">Add New Projection</h1>5 </div>6 </section>7 2 8 <div class="container"> 3 <div class="container" style="color: white"> 4 <h1 class="jumbotron-heading">Add New Projection</h1> 9 5 <div class="row"> 10 6 <div class="col-md-5"> -
src/main/resources/templates/film.html
ra69d48c rb5ce654 12 12 .main{ 13 13 display: flex; 14 justify-content: flex-start;14 justify-content: space-between; 15 15 align-items: flex-start; 16 16 margin-left: 100px; 17 } 18 .slika{ 19 margin-right: 100px; 20 } 21 img{ 22 width: 300px; 23 height: 350px; 24 border-radius: 20px; 17 25 } 18 26 </style> … … 35 43 <span th:text="${film.director}"></span> 36 44 </h4> 45 <h4 style="color: white"> 46 <span th:text="${rating}"></span> 47 <span>/5</span> 48 </h4> 37 49 </div> 50 <div class="slika"> 51 <img th:src="@{${film.getUrl()}}"/> 52 </div> 38 53 39 54 </div> 40 55 </div> 41 </div>
Note:
See TracChangeset
for help on using the changeset viewer.