mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-05 22:30:28 +08:00
多个提示页面增加请求ID
This commit is contained in:
@@ -48,8 +48,10 @@ Vue.component("http-firewall-actions-box", {
|
||||
|
||||
var defaultPageBody = `<!DOCTYPE html>
|
||||
<html>
|
||||
<title>403 Forbidden</title>
|
||||
<body>
|
||||
403 Forbidden
|
||||
<h1>403 Forbidden</h1>
|
||||
<address>Request ID: \${requestId}.</address>
|
||||
</body>
|
||||
</html>`
|
||||
|
||||
|
||||
@@ -78,10 +78,10 @@ Vue.component("http-pages-and-shutdown-box", {
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h3>网站升级中</h3>
|
||||
<h1>网站升级中</h1>
|
||||
<p>为了给您提供更好的服务,我们正在升级网站,请稍后重新访问。</p>
|
||||
|
||||
<footer>Powered by GoEdge.</footer>
|
||||
<address>Request ID: \${requestId}, Powered by GoEdge.</address>
|
||||
|
||||
</body>
|
||||
</html>`
|
||||
|
||||
@@ -50,7 +50,9 @@ Vue.component("traffic-limit-config-box", {
|
||||
<title>Traffic Limit Exceeded Warning</title>
|
||||
<body>
|
||||
|
||||
The site traffic has exceeded the limit. Please contact with the site administrator.
|
||||
<h1>Traffic Limit Exceeded Warning</h1>
|
||||
<p>The site traffic has exceeded the limit. Please contact with the site administrator.</p>
|
||||
<address>Request ID: \${requestId}.</address>
|
||||
|
||||
</body>
|
||||
</html>`
|
||||
|
||||
@@ -5,15 +5,15 @@ Tea.context(function () {
|
||||
this.$refs.htmlBody.value = `<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
\t<title>页面标题</title>
|
||||
\t<title>\${status} \${statusMessage}</title>
|
||||
\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h3>内容标题</h3>
|
||||
<p>内容</p>
|
||||
<h1>\${status} \${statusMessage}</h1>
|
||||
<p><!-- 内容 --></p>
|
||||
|
||||
<footer>Powered by GoEdge.</footer>
|
||||
<address>Request ID: \${requestId}, Powered by GoEdge.</address>
|
||||
|
||||
</body>
|
||||
</html>`
|
||||
|
||||
@@ -12,15 +12,15 @@ Tea.context(function () {
|
||||
this.$refs.htmlBody.value = `<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
\t<title>页面标题</title>
|
||||
\t<title>\${status} \${statusMessage}</title>
|
||||
\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h3>内容标题</h3>
|
||||
<p>内容</p>
|
||||
<h1>\${status} \${statusMessage}</h1>
|
||||
<p><!-- 内容 --></p>
|
||||
|
||||
<footer>Powered by GoEdge.</footer>
|
||||
<address>Request ID: \${requestId}, Powered by GoEdge.</address>
|
||||
|
||||
</body>
|
||||
</html>`
|
||||
|
||||
Reference in New Issue
Block a user