50 lines
1.8 KiB
Plaintext
50 lines
1.8 KiB
Plaintext
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
|
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>登录 - MZH 图书馆</title>
|
|
<link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/app.css?v=20260428-visual-shell">
|
|
</head>
|
|
<body class="auth-page">
|
|
<%@ include file="/WEB-INF/jsp/common/header.jspf" %>
|
|
<main class="auth-shell">
|
|
<section class="login-panel" aria-labelledby="login-title">
|
|
<div>
|
|
<p class="eyebrow">图书馆管理</p>
|
|
<h1 id="login-title">登录</h1>
|
|
</div>
|
|
|
|
<c:if test="${not empty errorMessage}">
|
|
<div class="message message-error" role="alert">
|
|
<c:out value="${errorMessage}" />
|
|
</div>
|
|
</c:if>
|
|
|
|
<form class="login-form" action="${pageContext.request.contextPath}/login" method="post" novalidate>
|
|
<input type="hidden" name="redirect" value="${fn:escapeXml(redirect)}">
|
|
<label for="username">用户名</label>
|
|
<input id="username"
|
|
name="username"
|
|
type="text"
|
|
value="${fn:escapeXml(username)}"
|
|
autocomplete="username"
|
|
required>
|
|
|
|
<label for="password">密码</label>
|
|
<input id="password"
|
|
name="password"
|
|
type="password"
|
|
autocomplete="current-password"
|
|
required>
|
|
|
|
<button class="button button-primary" type="submit">登录</button>
|
|
</form>
|
|
</section>
|
|
</main>
|
|
</body>
|
|
</html>
|