aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_about.html
blob: ff82b5422c2e3961085dc50e02cf584f8c386720 (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" value="{{ userinfo.getFullName() }}"/></p>
            <p>Country: <input type="text" name="country" value="{{ userinfo.getCountry() }}"/></p>
            <p>URL: <input type="text" name="url" value="{{ userinfo.getUrl() }}" size="32"/><br/>
                <small>Please, start with &quot;http://&quot;</small></p>
            <p>About:<br/>
                <input type="text" name="descr" 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, &lt;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 th:replace="views/partial/settings/tabs">Settings navigation</p>
</aside>

</body>
</html>