MrDoc/template/403.html

78 lines
2.3 KiB
HTML
Raw Normal View History

2020-11-30 21:50:40 +08:00
{% load static %}
2020-12-02 21:25:59 +08:00
{% load i18n %}
2019-12-01 20:44:16 +08:00
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<title>{% trans "无权访问" %} - {% if site_name != None %}{{site_name}} {% else %}{% trans "觅思文档" %}{% endif %}</title>
2019-12-01 20:44:16 +08:00
<link href="{% static 'layui/css/layui.css' %}" rel="stylesheet">
2020-08-07 21:36:37 +08:00
<link href="{% static 'mrdoc/mrdoc.css' %}" rel="stylesheet">
2020-07-31 22:05:49 +08:00
<link rel="icon" href="{% static 'search/mrdoc_logo_300.png' %}" sizes="192x192" />
2021-07-23 15:25:16 +08:00
<style>
.content {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 100%;
text-align: center;
}
.content>img {
height: 300px;
max-width: 370px;
margin-right: 180px;
}
.content-r {
vertical-align: top;
}
.content>* {
display: inline-block;
}
.content-r>h1 {
font-size: 72px;
color: #434e59;
margin-bottom: 24px;
font-weight: 600;
}
.content-r>p {
font-size: 20px;
color: rgba(0, 0, 0, .45);
margin-bottom: 16px;
}
.btn {
display: inline-block;
line-height: 38px;
white-space: nowrap;
cursor: pointer;
text-align: center;
box-sizing: border-box;
outline: none;
transition: 0.1s;
font-weight: 500;
padding: 0 18px;
height: 38px;
font-size: 14px;
background-color: white;
border: 1px solid #dcdfe6;
border-radius: 4px;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .06);
}
</style>
2019-12-01 20:44:16 +08:00
</head>
2020-01-01 21:24:29 +08:00
<body class="layui-container">
2019-12-01 20:44:16 +08:00
<!-- 页头 -->
{% include 'app_doc/head_base.html' %}
<!-- 页头结束 -->
2021-07-23 15:25:16 +08:00
<div class="content">
<img src="{% static 'PearAdminLayui/admin/images/403.svg' %}" alt="">
<div class="content-r">
<h1>403</h1>
<p>抱歉,你无权访问此页面</p>
<a class="btn" href="/">返回首页</a>
2019-12-01 20:44:16 +08:00
</div>
</div>
<script src="https://cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script>
2021-06-06 06:50:50 +08:00
<script src="{% static 'layui/layui.js' %}"></script>
2019-12-01 20:44:16 +08:00
</body>
</html>