summaryrefslogtreecommitdiff
path: root/xxl-job-admin/src/main/resources/templates/common/common.exception.ftl
diff options
context:
space:
mode:
Diffstat (limited to 'xxl-job-admin/src/main/resources/templates/common/common.exception.ftl')
-rw-r--r--xxl-job-admin/src/main/resources/templates/common/common.exception.ftl31
1 files changed, 31 insertions, 0 deletions
diff --git a/xxl-job-admin/src/main/resources/templates/common/common.exception.ftl b/xxl-job-admin/src/main/resources/templates/common/common.exception.ftl
new file mode 100644
index 0000000..e448125
--- /dev/null
+++ b/xxl-job-admin/src/main/resources/templates/common/common.exception.ftl
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="UTF-8">
+ <title>Error</title>
+ <style type="text/css">
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
+ div.dialog {
+ width: 80%;
+ padding: 1em 4em;
+ margin: 4em auto 0 auto;
+ border: 1px solid #ccc;
+ border-right-color: #999;
+ border-bottom-color: #999;
+ }
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
+ </style>
+
+</head>
+</head>
+<body>
+
+ <div class="dialog">
+ <h1>System Error</h1>
+ <p>${exceptionMsg}</p>
+ <a href="javascript:window.location.href='${request.contextPath}/'">Back</a>
+ </p>
+ </div>
+
+</body>
+</html> \ No newline at end of file