mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
41 lines
1.2 KiB
HTML
41 lines
1.2 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html xmlns:th="http://www.thymeleaf.org">
|
||
|
<head>
|
||
|
<meta charset="utf-8" />
|
||
|
<link rel="stylesheet" th:href="@{/resources/css/profile/style.css}" />
|
||
|
<title th:text="#{profile.title}" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<form th:action="@{/profile}" method="post" >
|
||
|
<h1 th:text="#{profile.title}"></h1>
|
||
|
<h2 class="settings" th:text="#{profile.authentification}"></h2>
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td th:text="#{profile.username}"></td>
|
||
|
<td><input name="username" th:value="${user.username}" type="text"/></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td th:text="#{profile.password}"></td>
|
||
|
<td><input name="password" type="password"/></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<h2 class="settings" th:text="#{profile.userinformation}"></h2>
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td th:text="#{profile.address}"></td>
|
||
|
<td><input name="address" th:value="${user.address}" type="text"/></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<div class="danger_zone">
|
||
|
<h1 class="danger_zone" th:text="#{profile.danger_zone}"></h1>
|
||
|
<div class="horizontal_center">
|
||
|
<button class="danger_zone" th:text="#{profile.edit}" type="submit"></button>
|
||
|
<a th:href="@{/profile/delete}">
|
||
|
<button class="danger_zone" th:text="#{profile.delete}" type="button"></button>
|
||
|
</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</body>
|
||
|
</html>
|