From 516d0d66f35129ce9e7f290a25e33b5e11cb4e1b Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 06 Apr 2022 11:11:01 +0800
Subject: [PATCH] fix
---
src/main/resources/templates/febs/views/error/error.html | 45 ++++++++++-----------------------------------
1 files changed, 10 insertions(+), 35 deletions(-)
diff --git a/src/main/resources/templates/febs/views/error/error.html b/src/main/resources/templates/febs/views/error/error.html
index 55fa27a..9de2d75 100644
--- a/src/main/resources/templates/febs/views/error/error.html
+++ b/src/main/resources/templates/febs/views/error/error.html
@@ -1,9 +1,8 @@
<!DOCTYPE html>
-<html xmlns:th="http://www.thymeleaf.org"
- xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
- <title>403</title>
+ <title>ANT-ETH 权限系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
@@ -11,44 +10,20 @@
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" th:href="@{layui/css/layui.css}" media="all">
<link rel="stylesheet" th:href="@{febs/css/febs.css}" media="all">
- <link rel="stylesheet" th:href="@{febs/css/eleTree.css}" media="all">
- <link rel="stylesheet" th:href="@{febs/css/apexcharts.min.css}" media="all">
- <link rel="stylesheet" th:href="@{febs/css/formSelects-v4.css}" media="all">
- <!-- 高德地图,key为演示作用,请勿滥用-->
- <script src="https://webapi.amap.com/maps?v=1.4.15&key=0e8a587317998a5e03cf608649b229d6&plugin=AMap.Autocomplete"></script>
<link rel="icon" th:href="@{febs/images/favicon.ico}" type="image/x-icon"/>
</head>
<body>
-<div id="febs">
- <div class="layui-fluid layui-anim febs-anim" id="febs-error-403" lay-title="403">
- <div class="layui-row layui-col-space10" style="margin-top:100px">
- <div class="layui-col-xs3 layui-col-xs-offset2">
- <img data-th-src="@{febs/images/error/403.svg}" alt="" width="85%"/>
- </div>
- <div class="layui-col-xs7">
- <h1 style="font-size: 60px">403</h1>
- <h2 class="febs-mar-b20 febs-c-gray">抱歉,你无权访问该页面</h2>
- </div>
+<div class="layui-fluid" id="febs-error-404" lay-title="页面不存在">
+ <div class="layui-row layui-col-space10" style="margin-top:100px">
+ <div class="layui-col-xs3 layui-col-xs-offset2">
+ <img data-th-src="@{febs/images/error/404.svg}" alt="" width="85%"/>
+ </div>
+ <div class="layui-col-xs7">
+ <h1 style="font-size: 60px">404</h1>
+ <h2 class="febs-mar-b20 febs-c-gray">抱歉,你访问的页面不存在</h2>
</div>
</div>
</div>
<script th:src="@{layui/layui.js}"></script>
-<script th:inline="javascript">
- var ctx = [[@{/}]];
- var currentUser = [[${user}]];
- currentUser.roleSet = [[${roles}]];
- currentUser.permissionSet = [[${permissions}]];
-
- layui.config({
- base: './febs/',
- debug: true
- }).extend({
- formSelects: 'lay/extends/formSelects-v4.min',
- treeSelect: 'lay/extends/treeSelect',
- apexcharts: 'lay/extends/apexcharts.min',
- eleTree: 'lay/extends/eleTree',
- // enhance: 'lay/extends/enhance'
- }).use(['index']);
-</script>
</body>
</html>
\ No newline at end of file
--
Gitblit v1.9.1