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 |
|
---|
13 | <link href="https://cdn.jsdelivr.net/npm/@fullcalendar/core/main.css" rel="stylesheet">
|
---|
14 |
|
---|
15 | </head>
|
---|
16 | <body>
|
---|
17 |
|
---|
18 | <div th:insert="layout/navbar.html :: navbar"></div>
|
---|
19 |
|
---|
20 | <br>
|
---|
21 |
|
---|
22 |
|
---|
23 | <table class="table table-striped">
|
---|
24 | <thead>
|
---|
25 | <tr>
|
---|
26 | <th scope="col">#</th>
|
---|
27 | <th scope="col">Subject Name</th>
|
---|
28 | <th scope="col">Event Name</th>
|
---|
29 | <th scope="col">Event Type</th>
|
---|
30 | <th scope="col">Event Date</th>
|
---|
31 | <th scope="col">Start Time</th>
|
---|
32 | <th scope="col">End Time</th>
|
---|
33 | <th scope="col">Day</th>
|
---|
34 | <!-- <th scope="col">Action #1</th>-->
|
---|
35 | <!-- <th scope="col">Action #2</th>-->
|
---|
36 | </tr>
|
---|
37 | </thead>
|
---|
38 | <tbody>
|
---|
39 | <tr th:each="class,num : ${nonRepeatingClasses}">
|
---|
40 | <th th:text="${num.count}" scope="row"></th>
|
---|
41 | <td th:text="${class.getSubjectName()}"></td>
|
---|
42 | <td th:text="${class.getEventName()}"></td>
|
---|
43 | <td th:text="${class.getEventType()}"></td>
|
---|
44 | <td th:text="${class.getEventDate()}"></td>
|
---|
45 | <td th:text="${class.getEventStartTime()}"></td>
|
---|
46 | <td th:text="${class.getEventEndTime()}"></td>
|
---|
47 | <td></td>
|
---|
48 | <td>
|
---|
49 | <form method="get" th:action="@{'/add/reminder/{id}' (id = ${class.getEventId})}">
|
---|
50 | <button type="submit" class="btn btn-danger">Add Reminder</button>
|
---|
51 | </form>
|
---|
52 | </td>
|
---|
53 | </tr>
|
---|
54 |
|
---|
55 | <tr th:each="class,num : ${repeatingClasses}">
|
---|
56 | <th th:text="${num.count}" scope="row"></th>
|
---|
57 | <td th:text="${class.getSubjectName()}"></td>
|
---|
58 | <td th:text="${class.getEventName()}"></td>
|
---|
59 | <td th:text="${class.getEventType()}"></td>
|
---|
60 | <td th:text="|${class.getEventStartingDate()} - ${class.getEventEndingDate()}|"></td>
|
---|
61 | <td th:text="${class.getEventStartTime()}"></td>
|
---|
62 | <td th:text="${class.getEventEndTime()}"></td>
|
---|
63 | <td th:text="${class.getEventDay()}"></td>
|
---|
64 | <td>
|
---|
65 | <form method="get" th:action="@{'/add/reminder/{id}' (id = ${class.getEventId})}">
|
---|
66 | <button type="submit" class="btn btn-danger">Add Reminder</button>
|
---|
67 | </form>
|
---|
68 | </td>
|
---|
69 | </tr>
|
---|
70 |
|
---|
71 | </tbody>
|
---|
72 | </table>
|
---|
73 |
|
---|
74 |
|
---|
75 | <script src="https://cdn.jsdelivr.net/npm/@fullcalendar/core/main.js"></script>
|
---|
76 | <script src="https://cdn.jsdelivr.net/npm/@fullcalendar/daygrid/main.js"></script>
|
---|
77 | </body>
|
---|
78 | </html> |
---|