diff options
Diffstat (limited to 'src/main/resources/views/setup.rocker.html')
-rw-r--r-- | src/main/resources/views/setup.rocker.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/main/resources/views/setup.rocker.html b/src/main/resources/views/setup.rocker.html new file mode 100644 index 0000000..f9c8357 --- /dev/null +++ b/src/main/resources/views/setup.rocker.html @@ -0,0 +1,25 @@ +@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> + +@if (message.length() > 0) { +<small>@message</small> +} +} |