blob: 595f84a8bfc72db5d3f55ae26b6a7ddea18e7c0e (
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
32
|
@args (String message)
@layout.template("Setup", RockerContent.NONE, RockerContent.NONE) -> {
<div class="flex">
<h1>Setup</h1>
<form action="/setup" method="post">
<div>
<label for="username">Username:</label>
<input autocomplete="off" autofocus id="username" name="username" required type="text"/>
</div>
<div>
<label for="password">Password:</label>
<input id="password" name="password" required type="password"/>
</div>
<div>
<label for="verifyPassword">Verify password:</label>
<input id="verifyPassword" name="verifyPassword" required type="password"/>
</div>
<div>
@if (message.length() > 0) {
<small>@message</small>
}
</div>
<div>
<button type="submit">Setup</button>
</div>
</form>
</div>
}
|