source: src/main/resources/templates/subject/list_exam.html@ fdfbdde

Last change on this file since fdfbdde was fdfbdde, checked in by Stojilkova Sara <sara.stojilkova.students.finki.ukim.mk>, 9 months ago

Initial commit

  • Property mode set to 100644
File size: 1.9 KB
Line 
1<!DOCTYPE html>
2<html lang="en" xmlns:th="http://www.thymeleaf.org">
3<head>
4 <meta charset="UTF-8">
5 <title>Exam Page</title>
6 <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"
7 integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
8 <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"
9 integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz"
10 crossorigin="anonymous"></script>
11 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
12</head>
13<body>
14
15<div th:insert="layout/navbar.html :: navbar"></div>
16
17<br>
18
19<table class="table table-striped">
20 <thead>
21 <tr>
22 <th scope="col">#</th>
23 <th scope="col">Subject Name</th>
24 <th scope="col">Event Name</th>
25 <th scope="col">Event Type</th>
26 <th scope="col">Event Date</th>
27 <th scope="col">Start Time</th>
28 <th scope="col">End Time</th>
29 <th scope="col">Action #1</th>
30<!-- <th scope="col">Action #1</th>-->
31<!-- <th scope="col">Action #2</th>-->
32 </tr>
33 </thead>
34 <tbody>
35 <tr th:each="exam,num : ${exams}">
36 <th th:text="${num.count}" scope="row"></th>
37 <td th:text="${exam.getSubjectName()}"></td>
38 <td th:text="${exam.getEventName()}"></td>
39 <td th:text="${exam.getEventType()}"></td>
40 <td th:text="${exam.getEventDate()}"></td>
41 <td th:text="${exam.getEventStartTime()}"></td>
42 <td th:text="${exam.getEventEndTime()}"></td>
43 <td>
44 <form method="get" th:action="@{'/add/reminder/{id}' (id = ${exam.getEventId()})}">
45 <button type="submit" class="btn btn-danger">Add Reminder</button>
46 </form>
47 </td>
48 </tr>
49
50 </tbody>
51</table>
52
53</body>
54</html>
Note: See TracBrowser for help on using the repository browser.