source: src/main/resources/templates/chooseSubjects.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.0 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</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;&nbsp;<svg xmlns="http://www.w3.org/2000/svg"
25 width="26" height="26"
26 fill="currentColor"
27 class="bi bi-mortarboard-fill"
28 viewBox="0 0 16 16">
29 <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"/>
30 <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"/>
31 </svg>
32 EDUCATUM
33 </p>
34 </a>
35 <div class="col-6"></div>
36 <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
37 aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
38 <i class="fa fa-bars"></i>
39 </button>
40 <div class="collapse navbar-collapse justify-content-end navbarNav">
41
42 </div>
43 </nav>
44</section>
45
46
47<section id="banner" style="position: relative; top:-30px;">
48 <div class="container" style="background-color: floralwhite; border-radius: 5px;
49 box-shadow: rgba(0, 0, 0, 0.56) 0px 22px 70px 4px;">
50 <div class="row">
51 <h1 class="promo-title text-center" style="color: #000029">Изберете предмет кој сакате да го предавате</h1>
52 </div>
53 <div class="row">
54 <form class="row" th:action="@{'/home/chooseSubject'}">
55 <div class="form-group col-1 ml-1"></div>
56 <div class="form-group col-9">
57 <input class="form-control transparent-input border-bottom" type="text"
58 placeholder="Пребарувај предмет..." name="ime"/>
59 </div>
60 <div class="form-group col">
61 <button id="filter" type="submit" class="btn btn-outline-secondary btn-block">
62 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
63 class="bi bi-search" viewBox="0 0 16 16">
64 <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"/>
65 </svg>
66 Пребарај
67 </button>
68 </div>
69 </form>
70
71 </div>
72
73 <div class="row">
74 <div class="col-1"></div>
75 <div class="col">
76 <!-- Button trigger modal -->
77 <button type="button" class="btn btn-link" data-toggle="modal"
78 th:attr="data-target='#exampleModalCenter'">
79 + Нов предмет
80 </button>
81 <!-- Modal -->
82 <div class="modal fade" th:id="*{'exampleModalCenter'}" tabindex="-1" role="dialog"
83 aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
84 <div class="modal-dialog modal-dialog-centered" role="document">
85 <div class="modal-content">
86 <div class="modal-header">
87 <h5 class="modal-title" id="exampleModalLongTitle" style="color: #000029">Додавање на
88 нов предмет</h5>
89 </div>
90 <div class="modal-body">
91 <form method="POST" th:action="@{'/home/chooseSubject'}">
92 <div>
93 <input class="form-control transparent-input border-bottom" type="text"
94 id="name"
95 name="name"
96 placeholder="Име на предметот"
97 required>
98 </div>
99 <button id="submit" type="submit" class="m-1 btn btn-outline-primary">Додади
100 </button>
101 </form>
102 </div>
103 <div class="modal-footer">
104 <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
105 </div>
106 </div>
107 </div>
108 </div>
109 </div>
110 </div>
111 <div class="row">
112 <form th:action="@{'/teachers/teachesSubject'}" th:method="post">
113 <table class="table table-hover">
114 <thead>
115 <tr>
116 <th scope="col"><i>*Доколку предметот го нема во листата, имате можност да го додадете</i></th>
117 </tr>
118 </thead>
119 <tbody>
120 <tr th:each="s : ${subjects}">
121 <td class="col-2">
122 <input required type="radio" name="subjectID" th:value="${s.getId()}">
123 <th:block id="courseText" th:text="${s.getName()}"/>
124 </td>
125 </tr>
126 </tbody>
127 </table>
128 <div class="row">
129 <div class="form-group col-1 ml-1"></div>
130 <div class="form-group">
131 <textarea placeholder="Внесете опис/теми..." required class="form-control mr-9 ml-9"
132 id="exampleFormControlTextarea1" rows="3"
133 name="tema"></textarea>
134 </div>
135 <div class="form-group col-1 mr-1"></div>
136 </div>
137 <div class="row">
138 <button type="submit" value="Продолжи" class="btn btn-link">
139 Продолжи&raquo;
140 </button>
141 </div>
142 </form>
143 </div>
144 </div>
145 <img src="/img/wavebook.png" alt="Wave" class="bottom-img" style="position: relative; bottom: -60px;">
146</section>
147</body>
148</html>
149
150
151
152
153
154
155
Note: See TracBrowser for help on using the repository browser.