2025-03-18 17:50:06 +04:00

40 lines
1.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns:th="http://www.thymeleaf.org" lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Список аспирантов</title>
<link th:href="@{/webjars/bootstrap/5.3.0-alpha1/css/bootstrap.min.css}" rel="stylesheet">
</head>
<body>
<div class="container mt-5">
<h2 class="mb-4">Список аспирантов</h2>
<table class="table table-bordered table-striped">
<thead class="table-dark">
<tr>
<th scope="col">ФИО</th>
<th scope="col">Курс</th>
<th scope="col">Форма обучения</th>
<th scope="col">Основа</th>
<th scope="col">Тема диссертации</th>
<th scope="col">Руководитель</th>
<th scope="col">Активное обучение</th>
</tr>
</thead>
<tbody>
<tr th:each="aspirant : ${aspirants}">
<td th:text="${aspirant.fio}">Иванов Иван Иванович</td>
<td th:text="${aspirant.course}">1</td>
<td th:text="${aspirant.formOfEducation}">Очная</td>
<td th:text="${aspirant.basis}">Бюджет</td>
<td th:text="${aspirant.dissertationTopic}">Методы машинного обучения</td>
<td th:text="${aspirant.supervisor}">Петров Петр Петрович</td>
<td th:if="${aspirant.isActive}" th:text="'Да'">Да</td>
<td th:unless="${aspirant.isActive}" th:text="'Нет'">Нет</td>
</tr>
</tbody>
</table>
</div>
<script th:src="@{/webjars/bootstrap/5.3.0-alpha1/js/bootstrap.bundle.min.js}"></script>
</body>
</html>