source: src/main/resources/templates/evidencija.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: 8.8 KB
RevLine 
[d3cf3a1]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</head>
19<body>
20<section class="nav-bar">
21 <nav class="navbar navbar-expand-lg navbar-light">
22 <div class="ml-1"></div>
23 <a class="navbar-brand" href="#">
24 <p style="font-weight: bold; color: #FFCC00FF;">&nbsp;&nbsp;
25 &nbsp;
26 <svg xmlns="http://www.w3.org/2000/svg"
27 width="26" height="26"
28 fill="currentColor"
29 class="bi bi-mortarboard-fill"
30 viewBox="0 0 16 16">
31 <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"/>
32 <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"/>
33 </svg>
34 EDUCATUM
35 </p>
36 </a>
37 <div class="col-6"></div>
38 <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
39 aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
40 <i class="fa fa-bars"></i>
41 </button>
42 <div class="collapse navbar-collapse justify-content-end navbarNav">
43 <ul class="navbar-nav mr-auto">
44 <li class="nav-item">
45 <a class="nav-link" href="/teachers/allClasses">ЧАСОВИ</a>
46 </li>
47 <li class="nav-item">
48 <a class="nav-link" href="/teachers/allSubjects">
49 <p>ПРЕДМЕТИ</p>
50 </a>
51 </li>
52 <li class="nav-item">
53 <a class="nav-link" href="/teachers/allStudents"
54 style="color: #ffcc00; text-shadow: 2px 2px 2px #A3A3A3;">
55 <p style="color: floralwhite;">УЧЕНИЦИ</p></a>
56 </li>
57 <li class="nav-item">
58 <a class="nav-link" href="/teachers/showProfile">ПРОФИЛ</a>
59 </li>
60 <li class="nav-item">
61 <a class="nav-link" href="/logout">ОДЈАВИ СЕ</a>
62 </li>
63 </ul>
64 </div>
65 </nav>
66
67</section>
68
69<section id="banner" style="position: relative; top: -30px;">
70 <div class="container" style="background-color: floralwhite; border-radius: 5px;
71 box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;">
72 <div class="row">
73 <h1 class="promo-title text-center" style="color: #000029">ЕВИДЕНЦИЈА НА УЧЕНИЦИ</h1>
74 </div>
75 <div class="row">
76 <form class="row" th:action="@{'/teachers/allStudents'}">
77 <div class="form-group col-1 ml-1"></div>
78 <div class="form-group col-9">
79 <input class="form-control transparent-input border-bottom" type="text"
80 placeholder="Пребарувај ученик..." name="ime"/>
81 </div>
82 <div class="form-group col">
83 <button id="filter" type="submit" class="btn btn-outline-secondary btn-block">
84 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
85 class="bi bi-search" viewBox="0 0 16 16">
86 <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"/>
87 </svg>
88 Пребарај
89 </button>
90 </div>
91 </form>
92 </div>
93 <div class="row">
94 <div class="col-1"></div>
95 <div class="col">
96 <!-- Button trigger modal -->
97 <button type="button" class="btn btn-link" data-toggle="modal"
98 th:attr="data-target='#exampleModalCenter'">
99 + Нов ученик
100 </button>
101 <!-- Modal -->
102 <div class="modal fade" th:id="*{'exampleModalCenter'}" tabindex="-1" role="dialog"
103 aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
104 <div class="modal-dialog modal-dialog-centered" role="document">
105 <div class="modal-content">
106 <div class="modal-header">
107 <h5 class="modal-title" id="exampleModalLongTitle" style="color: #000029">Додавање на
108 нов ученик</h5>
109 </div>
110 <div class="modal-body">
111 <form method="POST" th:action="@{'/teachers/addStudent'}">
112 <div>
113 <input class="form-control transparent-input border-bottom" type="text"
114 id="email"
115 name="email"
116 placeholder="E-mail на ученикот"
117 required>
118 <hr/>
119 <input class="form-control transparent-input border-bottom" type="text"
120 id="numClasses"
121 name="numClasses"
122 placeholder="Број на часови по договор"
123 required>
124 <hr/>
125 <input class="form-control transparent-input border-bottom" type="text"
126 id="price"
127 name="price"
128 placeholder="Цена по час"
129 required>
130 </div>
131 <button id="submit" type="submit" class="m-1 btn btn-outline-primary">Додади
132 </button>
133 </form>
134 </div>
135 <div class="modal-footer">
136 <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
137 </div>
138 </div>
139 </div>
140 </div>
141 </div>
142 </div>
143 <div class="row">
144 <table class="table table-hover">
145 <thead>
146 <tr>
147 <th scope="col">Име и презиме</th>
148 </tr>
149 </thead>
150 <tbody>
151 <tr th:each="s : ${students}">
152 <td class="col-2">
153 <div>
154 <a class="btn btn-link" th:href="@{'/teachers/payments/{id}' (id=${s.getId()})}"
155 th:method="post">
156 <th:block th:text="${s.getName()}"></th:block>
157 <th:block th:text="${s.getSurname()}"></th:block>
158 </a>
159 </div>
160 </td>
161 </tr>
162 </tbody>
163 </table>
164 </div>
165 </div>
166 <img src="/img/wave-1.png" alt="Wave" class="bottom-img" style="position: relative; bottom: -60px;">
167</section>
168
169</body>
170</html>
171
172
Note: See TracBrowser for help on using the repository browser.