source: src/main/resources/templates/listenSubject.html

Last change on this file was d3cf3a1, checked in by Marija Micevska <marija_micevska@…>, 2 years ago

Initial commit

  • Property mode set to 100644
File size: 5.6 KB
Line 
1<!DOCTYPE html>
2<html lang="en" xmlns:th="http://www.thymeleaf.org">
3<head>
4 <meta charset="UTF-8">
5 <title>EDUCATUM</title>
6 <link rel="stylesheet" href="/css/style.css">
7 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
8 rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
9 crossorigin="anonymous">
10 <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
11 <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
12 integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
13 crossorigin="anonymous"></script>
14 <link rel="stylesheet"
15 href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.4/css/fontawesome.min.css">
16 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"/>
17 <script th:inline="javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
18
19 <style>
20 * {
21 box-sizing: border-box;
22 }
23
24 .no-gutters {
25 background: floralwhite;
26 border-radius: 5px;
27 box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
28 }
29
30 body {
31 background: linear-gradient(to right, #93A3CE, #1C294E);
32 color: #000029;
33 }
34
35 img {
36 width: 100%;
37 height: 100%;
38 object-fit: fill;
39 position: relative;
40 bottom: -30px;
41 }
42 </style>
43</head>
44<body>
45<section class="nav-bar">
46 <nav class="navbar navbar-expand-lg navbar-light">
47 <div class="ml-1"></div>
48 <a class="navbar-brand" href="#">
49 <p style="font-weight: bold; color: #FFCC00FF;">&nbsp;&nbsp;&nbsp;<svg xmlns="http://www.w3.org/2000/svg"
50 width="26" height="26"
51 fill="currentColor"
52 class="bi bi-mortarboard-fill"
53 viewBox="0 0 16 16">
54 <path d="M8.211 2.047a.5.5 0 0 0-.422 0l-7.5 3.5a.5.5 0 0 0 .025.917l7.5 3a.5.5 0 0 0 .372 0L14 7.14V13a1 1 0 0 0-1 1v2h3v-2a1 1 0 0 0-1-1V6.739l.686-.275a.5.5 0 0 0 .025-.917l-7.5-3.5Z"/>
55 <path d="M4.176 9.032a.5.5 0 0 0-.656.327l-.5 1.7a.5.5 0 0 0 .294.605l4.5 1.8a.5.5 0 0 0 .372 0l4.5-1.8a.5.5 0 0 0 .294-.605l-.5-1.7a.5.5 0 0 0-.656-.327L8 10.466 4.176 9.032Z"/>
56 </svg>
57 EDUCATUM
58 </p>
59 </a>
60 <div class="col-6"></div>
61 <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
62 aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
63 <i class="fa fa-bars"></i>
64 </button>
65 <div class="collapse navbar-collapse justify-content-end navbarNav">
66 <ul class="navbar-nav mr-auto">
67 </ul>
68 </div>
69 </nav>
70</section>
71<section id="banner">
72 <div class="container" style="background-color: floralwhite; box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;">
73 <div class="row">
74 <h1 class="promo-title text-center" style="color: black;">ПРЕБАРУВАЈ НАСТАВНИЦИ
75 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
76 class="bi bi-search" viewBox="0 0 16 16">
77 <path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/>
78 </svg>
79 </h1>
80 </div>
81 <div class="row">
82 <form method="post" action="/home/showSubjects">
83 <select class="form-select form-select-lg mb-3" aria-label=".form-select-lg example" id="subjectID"
84 name="subjectID" onchange="this.form.submit()">
85 <option value="none" selected></option>
86 <option th:if="${nastavnik} == null"
87 th:each="p : ${subjects}"
88 th:value="${p.getId()}"
89 th:text="${p.getName()}">
90 </option>
91 </select>
92 </form>
93 </div>
94 <div class="row">
95 <form th:method="post" th:action="@{'/students/zaintesesiranZaPredmet'}">
96 <table class="table table-hover">
97 <thead>
98 <tr>
99 <th scope="col"></th>
100 </tr>
101 </thead>
102 <tbody>
103 <tr th:each="t : ${teachers}">
104 <td class="col-2">
105 <a th:href="@{'/teachers/showProfileTeacher/{id}' (id=${t.getId()})}" th:method="post">
106 <th:block id="courseText" th:value="${t.getId()}" th:text="${t.getFullName()}"/>
107 </a>
108 </td>
109 </tr>
110 <tr>
111 </tr>
112 </tbody>
113 </table>
114
115 </form>
116 </div>
117 </div>
118 <img src="/img/wavebook.png" alt="Wave" class="bottom-img" style="position: relative; bottom: -90px;">
119</section>
120</body>
121</html>
Note: See TracBrowser for help on using the repository browser.