You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.5 KiB
44 lines
1.5 KiB
<!doctype html> |
|
<html xmlns:th="http://www.thymeleaf.org" lang="en"> |
|
<head> |
|
<meta charset="UTF-8"> |
|
<title>Title</title> |
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> |
|
<link rel="stylesheet" href="/static/plugin/font-awesome/css/font-awesome.min.css"> |
|
<!-- 自定义css文件 --> |
|
<link rel="stylesheet" href="/static/admin/css/login.css"> |
|
<style> |
|
#error-msg { |
|
color: red; |
|
text-align: center; |
|
font-size: 20px; |
|
font-weight: bold; |
|
} |
|
</style> |
|
</head> |
|
<body> |
|
<div class="lw-login-page"> |
|
<div class="lw-login-box"> |
|
<div class="lw-left"> |
|
<h1>欢迎登录</h1> |
|
<p><th:block th:text="${@webSite.nickname}"></th:block>-管理后台</p> |
|
</div> |
|
<div class="lw-right"> |
|
<div id="error-msg" th:if="${errorMsg!=null}" th:text="${errorMsg}"></div> |
|
<form th:action="@{/admin/login}" method="post"> |
|
<div class="lw-input"> |
|
<input type="text" name="username" placeholder="用户名"> |
|
</div> |
|
<div class="lw-input"> |
|
<input type="password" name="password" readonly onfocus="this.removeAttribute('readonly')" placeholder="密码"> |
|
</div> |
|
<div class="lw-input"> |
|
<button type="submit">登录后台</button> |
|
</div> |
|
</form> |
|
<p>Copyright © <th:block th:text="${@webSite.title}"></th:block> All Rights Reserved.</p> |
|
</div> |
|
</div> |
|
</div> |
|
</body> |
|
</html> |