source: src/main/resources/templates/showProfile.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: 10.2 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
19 <style>
20 * {
21 box-sizing: border-box;
22 }
23
24 body {
25 background: linear-gradient(to right, #93A3CE, #1C294E);
26 color: #000029;
27 /*background: rgb(219, 226, 226);*/
28 }
29
30 .no-gutters {
31 background: floralwhite;
32 border-radius: 5px;
33 box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;
34 }
35 img {
36 width:100%;
37 height:100%;
38 object-fit: fill;
39 position: relative;
40 bottom: -30px;
41
42 }
43 </style>
44
45</head>
46<body>
47<section class="nav-bar">
48 <nav class="navbar navbar-expand-lg navbar-light">
49 <div class="ml-1"></div>
50 <a class="navbar-brand" href="#">
51 <p style="font-weight: bold; color: #FFCC00FF;">&nbsp;&nbsp;
52 &nbsp;
53 <svg xmlns="http://www.w3.org/2000/svg"
54 width="26" height="26"
55 fill="currentColor"
56 class="bi bi-mortarboard-fill"
57 viewBox="0 0 16 16">
58 <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"/>
59 <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"/>
60 </svg>
61 EDUCATUM
62 </p>
63 </a>
64 <div class="col-6"></div>
65 <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
66 aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
67 <i class="fa fa-bars"></i>
68 </button>
69 <div class="collapse navbar-collapse justify-content-end navbarNav">
70 <ul class="navbar-nav mr-auto">
71 <li class="nav-item">
72 <a class="nav-link" href="/teachers/allClasses">ЧАСОВИ</a>
73 </li>
74 <li class="nav-item">
75 <a class="nav-link" href="/teachers/allSubjects">
76 <p>ПРЕДМЕТИ</p>
77 </a>
78 </li>
79 <li class="nav-item">
80 <a class="nav-link" href="/teachers/allStudents">УЧЕНИЦИ</a>
81 </li>
82 <li class="nav-item">
83 <a class="nav-link" href="/teachers/showProfile"
84 style="color: #ffcc00; text-shadow: 2px 2px 2px #A3A3A3;">
85 <p style="color: floralwhite;">ПРОФИЛ</p></a>
86 </li>
87 <li class="nav-item">
88 <a class="nav-link" href="/logout">ОДЈАВИ СЕ</a>
89 </li>
90 </ul>
91 </div>
92 </nav>
93</section>
94
95<br>
96
97<section class="Form my-4 mx-5">
98 <div class="container">
99 <div class="row no-gutters">
100 <div class="col-lg-5" id="library">
101 <img id="image" src="/img/teacherProfile.png" class="img-fluid library" alt="login image"/>
102 </div>
103 <div class="col-lg-7 px-5 pt-5">
104 <h1 class="font-weight-bold py3" style="font-weight:bold; ">Профил</h1>
105 <hr/>
106 <h2><b><th:block th:text="${teacher.getFullName()}"></th:block></b></h2>
107 <h4 th:text="${teacher.getDescription()}"></h4>
108 <hr/>
109 <h3>Телефонски број <div th:text="${teacher.getTelephoneNumber()}"></div></h3>
110 <hr/>
111 <h3>E-mail <div th:text="${teacher.getEmail()}"></div></h3>
112 <hr/>
113 <div class="col">
114 <button type="button" class="btn btn-link" data-toggle="modal"
115 th:attr="data-target='#exampleModalCenter'">
116 Измени<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pencil-fill" viewBox="0 0 16 16">
117 <path d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z"/>
118 </svg>
119 </button>
120 <div class="modal fade" th:id="*{'exampleModalCenter'}" tabindex="-1" role="dialog"
121 aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
122 <div class="modal-dialog modal-dialog-centered" role="document">
123 <div class="modal-content">
124 <div class="modal-header">
125 <h5 class="modal-title" id="exampleModalLongTitle" style="color: #000029"> Промена на информации на профил
126 </h5>
127 </div>
128 <div class="modal-body">
129 <form method="POST" th:action="@{'/teachers/{id}' (id=${teacher.id})}">
130 <div>
131 <label for="name">Име</label>
132 <input class="form-control transparent-input border-bottom"
133 type="text"
134 id="name"
135 name="name"
136 th:value="${teacher?.name}"
137 required>
138 <hr/>
139
140 <label for="surname">Презиме</label>
141 <input class="form-control transparent-input border-bottom"
142 type="text"
143 id="surname"
144 name="surname"
145 th:value="${teacher?.surname}"
146 required>
147 <hr/>
148 <label for="description">Опис</label>
149 <input class="form-control transparent-input border-bottom"
150 type="text"
151 id="description"
152 name="description"
153 th:value="${teacher?.description}"
154 required>
155 <hr/>
156 <label for="email">Емаил</label>
157 <input class="form-control transparent-input border-bottom"
158 type="text"
159 id="email"
160 name="email"
161 th:value="${teacher?.email}"
162 required>
163 <hr/>
164 <label for="telephoneNumber">Телефонски Број</label>
165 <input class="form-control transparent-input border-bottom"
166 type="text"
167 id="telephoneNumber"
168 name="telephoneNumber"
169 th:value="${teacher?.telephoneNumber}"
170 required>
171 <hr/>
172 </div>
173 <button id="submit" type="submit" class="m-1 btn btn-outline-primary">Зачувај
174 </button>
175 </form>
176 </div>
177 <div class="modal-footer">
178 <a id="back" href="/teachers/showProfile" type="button" class="btn btn-primary">Назад кон профилот</a>
179 </div>
180 </div>
181 </div>
182 </div>
183 </div>
184 <hr/>
185 </div>
186 </div>
187 </div>
188
189</section>
190<img src="/img/wave-2.png" alt="Wave" class="bottom-img" style="position: relative; bottom: -20px;">
191</body>
192</html>
Note: See TracBrowser for help on using the repository browser.