mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-08-04 21:39:04 +00:00
update to 4.0
This commit is contained in:
81
resource/502.pug
Normal file
81
resource/502.pug
Normal file
@@ -0,0 +1,81 @@
|
||||
doctype html
|
||||
html(lang="en")
|
||||
head
|
||||
title AnyProxy Inner Error
|
||||
style.
|
||||
body {
|
||||
color: #666;
|
||||
line-height: 1.5;
|
||||
font-size: 13px;
|
||||
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,SimSun,sans-serif;
|
||||
}
|
||||
|
||||
body * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.stackError {
|
||||
border-radius: 5px;
|
||||
padding: 20px;
|
||||
border: 1px solid #fdc;
|
||||
background-color: #ffeee6;
|
||||
color: #666;
|
||||
}
|
||||
.stackError li {
|
||||
list-style-type: none;
|
||||
}
|
||||
.infoItem {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border: 1px solid #d5f1fd;
|
||||
background-color: #eaf8fe;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 5px;
|
||||
padding-left: 70px;
|
||||
}
|
||||
.infoItem .label {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
width: 70px;
|
||||
font-weight: 300;
|
||||
background-color: #76abc1;
|
||||
color: #fff;
|
||||
padding: 5px;
|
||||
}
|
||||
.infoItem .value {
|
||||
overflow:hidden;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.tipItem .label {
|
||||
background-color: #ecf6fd;
|
||||
}
|
||||
.tip {
|
||||
color: #808080;
|
||||
}
|
||||
body
|
||||
h1 # AnyProxy Inner Error
|
||||
h3 Oops! Error happend when AnyProxy handle the request.
|
||||
p.tip This is an error occurred inside AnyProxy, not from your target website.
|
||||
.infoItem
|
||||
.label
|
||||
| Error:
|
||||
.value #{error}
|
||||
.infoItem
|
||||
.label
|
||||
| URL:
|
||||
.value #{url}
|
||||
if tipMessage
|
||||
.infoItem
|
||||
.label
|
||||
| TIP:
|
||||
.value!= tipMessage
|
||||
p
|
||||
ul.stackError
|
||||
each item in errorStack
|
||||
li= item
|
||||
46
resource/cert_error.pug
Normal file
46
resource/cert_error.pug
Normal file
@@ -0,0 +1,46 @@
|
||||
doctype html
|
||||
html(lang="en")
|
||||
head
|
||||
title Security Vulnerable
|
||||
style.
|
||||
body {
|
||||
color: #666;
|
||||
line-height: 1.5;
|
||||
font-size: 13px;
|
||||
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,SimSun,sans-serif;
|
||||
}
|
||||
|
||||
body * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
padding: 20px;
|
||||
padding-top: 150px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.explain {
|
||||
font-size: 14px;
|
||||
font-weight: 200;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.explainCode {
|
||||
color: #999;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
body
|
||||
.container
|
||||
div.title
|
||||
| #{title}
|
||||
div.explainCode
|
||||
| #{code}
|
||||
div.explain
|
||||
div!= explain
|
||||
Reference in New Issue
Block a user