Add dropdowns

This commit is contained in:
Anton Romanov 2025-01-28 19:30:55 +04:00
parent 7320f287c6
commit 405060152a

View File

@ -32,17 +32,32 @@
<li class="nav-item">
<a class="nav-link" href="/docs">Документы</a>
</li>
<li class="nav-item" sec:authorize="hasRole('ROLE_ASPIRANT')">
<a class="nav-link" href="/reports">Аспиранту</a>
<li class="nav-item dropdown" sec:authorize="hasRole('ROLE_ASPIRANT')">
<a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">Аспиранту</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="/aspirantReport">Новый отчет аспиранта по БРС</a>
<a class="dropdown-item" href="/listAspirantReports">Список отчетов</a>
</div>
</li>
<li class="nav-item" sec:authorize="hasRole('ROLE_MANAGER')">
<a class="nav-link" href="/reports">Руководителю</a>
<li class="nav-item dropdown" sec:authorize="hasRole('ROLE_MANAGER')">
<a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">Руководителю</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="/aspirantList">Список аспирантов</a>
<a class="dropdown-item" href="/listAspirantReports">Список отчетов</a>
</div>
</li>
<li class="nav-item" sec:authorize="hasRole('ROLE_HEAD')">
<a class="nav-link" href="/reports">Аспирантура</a>
<li class="nav-item dropdown" sec:authorize="hasRole('ROLE_HEAD')">
<a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">Аспирантура</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="/listAspirantReports">Список отчетов</a>
</div>
</li>
<li class="nav-item" sec:authorize="hasRole('ROLE_ADMIN')">
<a class="nav-link" href="/admin">Администратору</a>
<li class="nav-item dropdown" sec:authorize="hasRole('ROLE_ADMIN')">
<a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">Администратору</a>
</li>
<li class="nav-item">
<a class="nav-link disabled" href="#" sec:authorize="hasRole('ROLE_ADMIN')">Личный кабинет