linked version
This commit is contained in:
		| @@ -8,6 +8,23 @@ body { | ||||
| 		rgb(198, 70, 0)); | ||||
| } | ||||
|  | ||||
| .versionclip { | ||||
| 	transform: rotate(270deg); | ||||
| 	margin-top: 20px; | ||||
| 	position: fixed; | ||||
| 	top: 8px; | ||||
| 	right: -32px; | ||||
| 	font-size: smaller; | ||||
| 	padding: 8px; | ||||
| 	background-image: linear-gradient(to bottom, rgb(154, 153, 150), #fff); | ||||
| 	border-radius: 6px; | ||||
| } | ||||
|  | ||||
| .versionlink { | ||||
|   color: #333; | ||||
|   text-decoration: none; | ||||
| } | ||||
|  | ||||
| .mainpage { | ||||
| 	background-color: rgba(255, 255, 255, 0.4); | ||||
| 	padding: 8px; | ||||
| @@ -36,7 +53,7 @@ body { | ||||
|  | ||||
| .topright { | ||||
| 	position: fixed; | ||||
| 	right: 8px; | ||||
| 	right: 40px; | ||||
| 	top: 8px; | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -20,15 +20,15 @@ | ||||
| <body> | ||||
| 	<div class="myheadline"> | ||||
| 		<div class="topright linkbtn"> | ||||
| 			<span th:if="${not #strings.isEmpty(currentUser)}"> | ||||
| 				<b th:inline="text">[[${currentUser}]]</b> aus Version <span th:text="${@manifestBean.getVersion()}"></span> <a th:href="@{/logout}">ausloggen</a> | ||||
| 			</span> | ||||
| 			<span th:if="${#strings.isEmpty(currentUser)}"> | ||||
| 				<a th:href="@{/dashboard}">einloggen</a> | ||||
| 			<span th:if="${not #strings.isEmpty(currentUser)}"> <b th:inline="text">[[${currentUser}]]</b> <a th:href="@{/logout}">ausloggen</a> | ||||
| 			</span> <span th:if="${#strings.isEmpty(currentUser)}"> <a th:href="@{/dashboard}">einloggen</a> | ||||
| 			</span> | ||||
| 		</div> | ||||
| 		<span th:replace="${header}">Layout header</span> | ||||
| 	</div> | ||||
| 	<div th:replace="${content}">Layout content</div> | ||||
| 	<div class="versionclip"> | ||||
| 		<a href="https://gitlab.com/jottyfan/camporganizer2/-/issues" class="versionlink" target="_blank" th:text="${'Version ' + @manifestBean.getVersion()}"></a> | ||||
| 	</div> | ||||
| </body> | ||||
| </html> | ||||
		Reference in New Issue
	
	Block a user