Files
liteadmin/templates/error.html
T

14 lines
648 B
HTML

{% extends "base.html" %}
{% block title %}{{ error_code }} - {{ site_name }}{% endblock %}
{% block content %}
<div style="text-align:center;padding:80px 20px;">
<div style="font-size:72px;font-weight:700;color:var(--primary);margin-bottom:16px;">{{ error_code }}</div>
<h1 style="margin-bottom:12px;">{{ error_title }}</h1>
<p style="color:var(--text-light);margin-bottom:32px;font-size:16px;">{{ error_message }}</p>
<div style="display:flex;gap:12px;justify-content:center;">
<a href="/" class="btn btn-primary">返回首页</a>
<a href="javascript:history.back()" class="btn">返回上一页</a>
</div>
</div>
{% endblock %}