source: src/main/resources/templates/showProfileStudent.html@ d3cf3a1

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

Initial commit

  • Property mode set to 100644
File size: 9.6 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="/students/listSubjectsTeachers?subjectID=0"
73 >НАСТАВНИЦИ</a>
74 </li>
75<!-- <li class="nav-item">-->
76<!-- <a class="nav-link" href="/students/homeWork">-->
77<!-- <p>ДОМАШНИ ЗАДАЧИ</p>-->
78<!-- </a>-->
79<!-- </li>-->
80 <li class="nav-item">
81 <a class="nav-link" href="/students/showProfileStudent"
82 style="color: #ffcc00; text-shadow: 2px 2px 2px #A3A3A3;">
83 <p style="color: floralwhite;">ПРОФИЛ</p></a>
84 </li>
85 <li class="nav-item">
86 <a class="nav-link" href="/logout">ОДЈАВИ СЕ</a>
87 </li>
88 </ul>
89 </div>
90 </nav>
91</section>
92
93<br>
94
95<section class="Form my-4 mx-5">
96 <div class="container">
97 <div class="row no-gutters">
98 <div class="col-lg-5" id="library">
99 <img id="image" src="/img/studentprofile.png" class="img-fluid library" alt="login image"/>
100 </div>
101 <div class="col-lg-7 px-5 pt-5">
102 <h1 class="font-weight-bold py3" style="font-weight:bold; ">Профил на <b><th:block th:text="${student.getName()}"></th:block></b></h1>
103 <hr/>
104 <h2><b><th:block th:text="${student.getFullName()}"></th:block></b></h2>
105 <h4 th:text="${student.getDescription()}"></h4>
106 <hr/>
107 <h3>Телефонски број <div th:text="${student.getTelephoneNumber()}"></div></h3>
108 <hr/>
109 <h3>E-mail <div th:text="${student.getEmail()}"></div></h3>
110 <hr/>
111
112 <div class="col">
113 <button type="button" class="btn btn-link" data-toggle="modal"
114 th:attr="data-target='#exampleModalCenter'">
115 Промени профил
116 </button>
117 <div class="modal fade" th:id="*{'exampleModalCenter'}" tabindex="-1" role="dialog"
118 aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
119 <div class="modal-dialog modal-dialog-centered" role="document">
120 <div class="modal-content">
121 <div class="modal-header">
122 <h5 class="modal-title" id="exampleModalLongTitle" style="color: #000029"> Промена на информации на профил
123 </h5>
124 </div>
125 <div class="modal-body">
126 <form method="POST" th:action="@{'/students/{id}' (id=${student.id})}">
127 <div>
128 <label for="name">Име</label>
129 <input class="form-control transparent-input border-bottom"
130 type="text"
131 id="name"
132 name="name"
133 th:value="${student?.name}"
134 required>
135 <hr/>
136
137 <label for="surname">Презиме</label>
138 <input class="form-control transparent-input border-bottom"
139 type="text"
140 id="surname"
141 name="surname"
142 th:value="${student?.surname}"
143 required>
144 <hr/>
145 <label for="description">Опис</label>
146 <input class="form-control transparent-input border-bottom"
147 type="text"
148 id="description"
149 name="description"
150 th:value="${student?.description}"
151 required>
152 <hr/>
153 <label for="email">Емаил</label>
154 <input class="form-control transparent-input border-bottom"
155 type="text"
156 id="email"
157 name="email"
158 th:value="${student?.email}"
159 required>
160 <hr/>
161 <label for="telephoneNumber">Телефонски Број</label>
162 <input class="form-control transparent-input border-bottom"
163 type="text"
164 id="telephoneNumber"
165 name="telephoneNumber"
166 th:value="${student?.telephoneNumber}"
167 required>
168 <hr/>
169 </div>
170 <button id="submit" type="submit" class="m-1 btn btn-outline-primary">Зачувај
171 </button>
172 </form>
173 </div>
174 <div class="modal-footer">
175 <a id="back" href="/students/showProfileStudent" type="button" class="btn btn-primary">Назад кон профилот</a>
176 </div>
177 </div>
178 </div>
179 </div>
180 </div>
181 <hr/>
182 </div>
183 </div>
184 </div>
185
186</section>
187<img src="/img/wave-2.png" alt="Wave" class="bottom-img" style="position: relative; bottom: -20px;">
188</body>
189</html>
Note: See TracBrowser for help on using the repository browser.