123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <!DOCTYPE html>
- <!--
- ~ Copyright 2014-2018 the original author or authors.
- ~
- ~ Licensed under the Apache License, Version 2.0 (the "License");
- ~ you may not use this file except in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
- <html>
- <head>
- <base th:href="@{${adminContextPath} + '/'}" href="/">
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="format-detection" content="telephone=no,email=no">
- <meta name="theme-color" content="#42d3a5">
- <link rel="shortcut icon" href="assets/img/favicon.png" type="image/png">
- <link rel="preload" href="assets/css/sba-core.css" as="style">
- <link href="assets/css/sba-core.css" rel="stylesheet">
- <title>Spring Boot Admin - Login</title>
- </head>
- <body class="login">
- <section class="hero is-fullheight">
- <div class="hero-body">
- <div class="container has-text-centered">
- <div class="column is-4 is-offset-4">
- <div class="box">
- <figure class="image is-128x128 login--logo">
- <img src="assets/img/icon-spring-boot-admin.svg">
- </figure>
- <h1 class="title has-text-primary">Spring Boot Admin</h1>
- <form method="post">
- <input type="hidden"
- th:if="${_csrf}"
- th:name="${_csrf.parameterName}"
- th:value="${_csrf.token}"/>
- <div class="field">
- <p class="is-medium has-text-danger" th:unless="${param.error == null}" data-i18n="login.invalid_username_or_password">
- Invalid username or password
- </p>
- <p class="is-medium" th:unless="${param.logout == null}">
- Logout successful
- </p>
- </div>
- <div class="field">
- <div class="control">
- <input class="input is-medium" type="input" name="username" placeholder="Username"
- autofocus th:classappend="${param.error != null} ? is-danger">
- </div>
- </div>
- <div class="field">
- <div class="control">
- <input class="input is-medium" type="password" name="password"
- placeholder="Password" th:classappend="${param.error != null} ? is-danger">
- </div>
- </div>
- <div class="field">
- <div class="control">
- <input type="submit" class="button is-block is-primary is-medium is-fullwidth"
- value="Login">
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- </section>
- </body>
- <script src="login.js"></script>
- </html>
|