aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/views/setup.rocker.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/views/setup.rocker.html')
-rw-r--r--src/main/resources/views/setup.rocker.html47
1 files changed, 27 insertions, 20 deletions
diff --git a/src/main/resources/views/setup.rocker.html b/src/main/resources/views/setup.rocker.html
index f9c8357..595f84a 100644
--- a/src/main/resources/views/setup.rocker.html
+++ b/src/main/resources/views/setup.rocker.html
@@ -1,25 +1,32 @@
@args (String message)
@layout.template("Setup", RockerContent.NONE, RockerContent.NONE) -> {
-<form action="/setup" method="post">
- <div>
- <label for="username">Username:</label>
- <input 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>
- <button type="submit">Setup</button>
- </div>
-</form>
+<div class="flex">
+ <h1>Setup</h1>
-@if (message.length() > 0) {
-<small>@message</small>
-}
+ <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>
}