diff options
author | Marvin Borner | 2020-07-09 22:33:43 +0200 |
---|---|---|
committer | Marvin Borner | 2020-07-09 22:33:43 +0200 |
commit | 1edfdf5f3a316a36108a0a853b0a2553d116d6fc (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /src/main/resources/views/register.rocker.html | |
parent | 18edde9bd3603f3f867cebce100e7b22be9012cd (diff) |
Rewriiiiiiiiiite!
Okay, okay. I know, rewriting projects all the time is dumb.
Buuut, we really don't want to work with our old and ugly code anymore.
Furthermore we'll be using Deno now!
Diffstat (limited to 'src/main/resources/views/register.rocker.html')
-rw-r--r-- | src/main/resources/views/register.rocker.html | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/main/resources/views/register.rocker.html b/src/main/resources/views/register.rocker.html deleted file mode 100644 index c89eef3..0000000 --- a/src/main/resources/views/register.rocker.html +++ /dev/null @@ -1,40 +0,0 @@ -@import io.javalin.* -@args (String username, String token, String message, Context ctx) - -@layout.template("Register", ctx, RockerContent.NONE, RockerContent.NONE) -> { -<div class="navigation"> - <h3> - <a href="/"><i class="icon ion-md-home"></i></a> - <a href="">Register</a> - </h3> -</div> -<div class="flex"> - <h1>Register</h1> - - <form action="/user/register" method="post"> - <h3>Please set a password for user "@username"</h3> - <div> - <input hidden name="username" type="text" value="@username"/> - <input hidden name="token" type="text" value="@token"/> - </div> - <div> - <label for="password">Password:</label> - <input autocomplete="off" autofocus id="password" minlength="8" name="password" required type="password"/> - </div> - <div> - <label for="verifyPassword">Verify password:</label> - <input autocomplete="off" id="verifyPassword" minlength="8" name="verifyPassword" required type="password"/> - </div> - - <div> - @if (message.length() > 0) { - <small>@message</small> - } - </div> - - <div> - <button type="submit">Register</button> - </div> - </form> -</div> -} |