style detailsnomember
This commit is contained in:
3
src/main/resources/static/details.css
Normal file
3
src/main/resources/static/details.css
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.content-heading {
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
@ -1,53 +1,33 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en" xmlns:th="http://www.thymeleaf.org"
|
<html lang="de" xmlns:th="http://www.thymeleaf.org" th:replace="~{mopslayout :: html(
|
||||||
th:replace="~{mopslayout :: html(name='Gruppenbildung', headcontent=~{:: headcontent}, navigation=~{:: navigation}, bodycontent=~{:: bodycontent})}">
|
name='Gruppenbildung',
|
||||||
<head>
|
title='Details',
|
||||||
<meta charset="utf-8">
|
headcontent=~{fragments/general :: headcontent('/details.css')},
|
||||||
<title>Gruppendetails</title>
|
navigation=~{fragments/general :: nav('none')},
|
||||||
<th:block th:fragment="headcontent">
|
bodycontent=~{:: bodycontent})}">
|
||||||
<!-- Links, Skripts, Styles hier einfügen! -->
|
|
||||||
</th:block>
|
|
||||||
</head>
|
|
||||||
<body>
|
<body>
|
||||||
<header>
|
|
||||||
<nav class="navigation navigation-secondary" is="mops-navigation" th:fragment="navigation">
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a th:href="@{/gruppen2}" href="/">Gruppen</a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a th:href="@{/gruppen2/create}">Erstellen</a>
|
|
||||||
</li>
|
|
||||||
<li class="active">
|
|
||||||
<a th:href="@{/gruppen2/search}">Suche</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
</header>
|
|
||||||
<main th:fragment="bodycontent">
|
<main th:fragment="bodycontent">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="shadow-sm p-4" style="border: 1px solid aliceblue; border-radius: 5px; background: aliceblue;">
|
|
||||||
<h1 style="color: black; font-weight: bold; font-optical-sizing: auto; overflow-wrap: break-word;" th:text="${group.getTitle()}"></h1>
|
<h1 class="def-cursor" th:text="${group.getTitle()}"></h1>
|
||||||
<h3>
|
|
||||||
<span class="badge badge-pill badge-dark" style="background: darkslategray;"
|
<div class="content">
|
||||||
th:if='${group.getVisibility() == group.getVisibility().PRIVATE }'>Private Gruppe</span>
|
<div class="content-heading">
|
||||||
<span class="badge badge-pill badge-primary" style="background: #52a1eb;"
|
<div th:replace="~{fragments/gruppen :: badges}"></div>
|
||||||
th:if="${group.getVisibility() == group.getVisibility().PUBLIC}">Öffentliche Gruppe</span>
|
|
||||||
<span class="badge badge-pill badge-success"
|
|
||||||
style="background: lightseagreen;"
|
|
||||||
th:if='${group.getType() == lecture}'> Veranstaltung</span>
|
|
||||||
<span class="badge badge-pill badge-info" style="background: mediumorchid;"
|
|
||||||
th:text="${parent?.getTitle()}">Parent</span>
|
|
||||||
</h3>
|
|
||||||
<div class="shadow-sm p-4" style="background: white;">
|
|
||||||
<p style="overflow-wrap: break-word; font-optical-sizing: auto;"
|
|
||||||
th:text="${group.getDescription()}"></p>
|
|
||||||
</div>
|
</div>
|
||||||
<form class="mt-3" th:if="${group.getVisibility() == public}" method="post"
|
|
||||||
|
<div class="content-text-in">
|
||||||
|
<span th:text="${group.getDescription()}"></span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<form th:if="${group.getType() == public}" method="post"
|
||||||
th:action="@{/gruppen2/details/{id}/join(id=${group.getId()})}">
|
th:action="@{/gruppen2/details/{id}/join(id=${group.getId()})}">
|
||||||
<button class="btn btn-primary" type="submit">Beitreten!</button>
|
<button class="btn btn-primary" type="submit">Beitreten!</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user