blob: 6f8f61dd037d11a27be39f612739aac1edd67652 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{layout/mainLayout}">
<head>
<title th:text="${title}">Settings title</title>
</head>
<body>
<section id="content">
<article layout:fragment="content">
<form action="/settings" method="POST" enctype="multipart/form-data">
<p>Full name: <input type="text" name="fullname" th:value="${userinfo.getFullName()}"/></p>
<p>Country: <input type="text" name="country" th:value="${userinfo.getCountry()}"/></p>
<p>URL: <input type="text" name="url" th:value="${userinfo.getUrl()}" size="32"/><br/>
<small>Please, start with "http://"</small></p>
<p>About:<br/>
<input type="text" name="descr" th:value="${userinfo.getDescription()}" style="width: 100%"/><br/>
<small>Max. 255 symbols</small></p>
<p>Avatar: <input type="file" name="avatar"/><br/>
<small>Recommendations: PNG, 96x96, <50Kb. Also, JPG and GIF supported.</small></p>
<p><input type="hidden" name="page" value="about"/><input type="submit" value=" OK "/></p>
</form>
</article>
</section>
<aside id="column">
<p layout:fragment="column" th:replace="views/partial/settings_tabs">Settings navigation</p>
</aside>
</body>
</html>
|