Skip to content

Commit 6aa0caf

Browse files
committed
Frontend
1 parent d726e92 commit 6aa0caf

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ target/
2727
docs/tmp/
2828
docs/java-getting-started/
2929
docs/deploying-spring-boot-apps/
30+
setenv.sh
3031

src/main/resources/templates/layout/page.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,19 @@
3939

4040
<!-- Menu on Left Column and Document Window on the Right Column -->
4141
<section id="tw-main-section">
42-
<div class="container">
42+
<div class="container" sec:authorize="isAnonymous()">
4343
<div class="row">
44-
<div class="col-8">
44+
<div class="col">
4545
<th:block th:replace="${twcontent}" />
4646
</div>
47-
<div class="col-4">
47+
</div>
48+
</div>
49+
<div class="container" sec:authorize="isAuthenticated()">
50+
<div class="row">
51+
<div class="col-md-8">
52+
<th:block th:replace="${twcontent}" />
53+
</div>
54+
<div class="col-md-4">
4855
<div th:replace="layout/projects :: navigation-projects(rootCategories=${rootCategories},thisProject=${thisProject})">
4956
</div>
5057
</div>

0 commit comments

Comments
 (0)