le maraffette

This commit is contained in:
1yuee 2023-06-20 14:28:49 +04:00
parent 71dd9b4fde
commit e42408413a
2 changed files with 14 additions and 11 deletions

View File

@ -19,16 +19,16 @@
</head> </head>
<body> <body>
<div> <div class="bg-light w-75 rounded-pill text-center pt-4 pb-4 mt-3 mx-auto">
<p class='text-center mt-3 h3'> СоцСеточка</p> <p class='text-center h3'> СоцСеточка</p>
</div> </div>
<div> <div>
<p class='h4 text-center'> <p class='h4 mt-2 text-center'>
<a sec:authorize="hasRole('ROLE_ADMIN')" href="/topic" class="text-decoration-none m-3 text-secondary">Топики</a> <a sec:authorize="hasRole('ROLE_ADMIN')" href="/topic" class="text-decoration-none m-3 text-secondary ">Темы</a>
<a sec:authorize="hasRole('ROLE_ADMIN')" href="/users" class="text-decoration-none m-3 text-secondary">Пользователи</a> <a sec:authorize="hasRole('ROLE_ADMIN')" href="/users" class="text-decoration-none m-3 text-secondary ">Пользователи</a>
<a sec:authorize="isAuthenticated()" href="/feed" class="text-decoration-none m-3 text-secondary">Лента</a> <a sec:authorize="isAuthenticated()" href="/feed" class="text-decoration-none m-3 text-secondary ">Лента</a>
<a sec:authorize="isAuthenticated()" href="/users/settings" class="text-decoration-none m-3 text-secondary">Настройки</a> <a sec:authorize="isAuthenticated()" href="/users/settings" class="text-decoration-none m-3 text-secondary ">Настройки</a>
<a sec:authorize="isAuthenticated()" href="/logout" class="text-decoration-none m-3 text-secondary"> <a sec:authorize="isAuthenticated()" href="/logout" class="text-decoration-none m-3 text-secondary ">
Выход Выход
</a> </a>
</p> </p>

View File

@ -7,9 +7,12 @@
<body> <body>
<div layout:fragment="contentFeed"> <div layout:fragment="contentFeed">
<div class='h3 mb-3 mx-auto w-75'> <div class='mb-3 mx-auto w-75'>
<div class="text-center w-100 border border-2">
<p class="text-center h3" th:text="${selectedTopic.name}"></p> <p class="text-center h3" th:text="${selectedTopic.name}"></p>
<p class="text-end" th:text="${selectedProfile.login}"></p> <p class="text-center fw-light" th:text="${selectedTopic.description}"></p>
</div>
<p class="text-end h3 " th:text="${selectedProfile.login}"></p>
</div> </div>
<div class='h3 m-3 d-flex justify-content-between text-center mx-auto w-75'> <div class='h3 m-3 d-flex justify-content-between text-center mx-auto w-75'>