1

added deleted button in search.html and changed design of index.html

This commit is contained in:
AndiBuls
2020-03-17 13:15:21 +01:00
parent 7c2d5ecb28
commit e2dcee44af
2 changed files with 29 additions and 29 deletions

View File

@ -31,11 +31,10 @@
<h1>Meine Gruppen</h1> <h1>Meine Gruppen</h1>
<form action="/" method="get"> <form action="/" method="get">
<div th:each="gruppe: ${gruppen}"> <div th:each="gruppe: ${gruppen}">
<div class="shadow" style="border: 10px solid aliceblue; background: aliceblue"> <div class="shadow-sm p-4" style="border: 1px solid white; background: white">
<h3> <h3 style="color: dodgerblue; font-weight: bold;">
<a th:href="@{/gruppen2/details(id=${gruppe.getId()})}" style="color: dodgerblue; font-weight: bold" th:text="${gruppe.getTitle()}"></a> <a th:href="@{/gruppen2/details(id=${gruppe.getId()})}" th:text="${gruppe.getTitle()}"></a>
</h3> </h3>
<p th:text="${gruppe.getDescription()}"></p>
</div> </div>
<br> <br>
</div> </div>

View File

@ -35,6 +35,8 @@
<label for="suchleiste">Suchbegriff:</label> <label for="suchleiste">Suchbegriff:</label>
<input id="suchleiste" class="form-control" placeholder="z.B. Programmieren, Lerngruppe, ..." th:name="suchbegriff" type="text"> <input id="suchleiste" class="form-control" placeholder="z.B. Programmieren, Lerngruppe, ..." th:name="suchbegriff" type="text">
</div> </div>
<button type="submit" class="btn btn-primary" style="background: #52a1eb; border-style: none">Suchen</button>
</div>
</form> </form>
<br> <br>
<table class="table"> <table class="table">
@ -59,7 +61,6 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div> </div>
</div> </div>
</main> </main>