<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!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>
<%@ include file="/WEB-INF/jsp/common/header.jspf" %>
<main class="page-shell">
    <section class="notice-panel" aria-labelledby="unauthorized-title">
        <h1 id="unauthorized-title">无权访问</h1>
        <p>
            <c:choose>
                <c:when test="${not empty errorMessage}">
                    <c:out value="${errorMessage}" />
                </c:when>
                <c:otherwise>您无权访问此页面。</c:otherwise>
            </c:choose>
        </p>
        <a class="button button-primary" href="${pageContext.request.contextPath}/dashboard">返回控制台</a>
    </section>
</main>
</body>
</html>
