diff options
Diffstat (limited to 'src/main/resources/views/admin.rocker.html')
-rw-r--r-- | src/main/resources/views/admin.rocker.html | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/main/resources/views/admin.rocker.html b/src/main/resources/views/admin.rocker.html deleted file mode 100644 index aa4fff6..0000000 --- a/src/main/resources/views/admin.rocker.html +++ /dev/null @@ -1,26 +0,0 @@ -@import io.javalin.* -@args (String message, Context ctx) - -@layout.template("Index", ctx, RockerContent.NONE, RockerContent.NONE) -> { -<div class="navigation"> - <h3> - <a href="/"><i class="icon ion-md-home"></i></a> - <a href="">Admin</a> - </h3> -</div> -<div class="flex"> - <div> - <h1>Add new user</h1> - <form action="/user/add" method="post"> - <label for="username">Username:</label> - <input autocomplete="off" autofocus id="username" name="username" required type="text"/> - <button type="submit">Generate</button> - </form> - </div> - <div> - @if (message.length() > 0) { - <small>@message</small> - } - </div> -</div> -} |