|
|
|
<style>
|
|
|
|
|
|
|
|
.overflow_hide {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cur {
|
|
|
|
background-color: #20a53a;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*waf*/
|
|
|
|
.lib-con-title {
|
|
|
|
height: 26px;
|
|
|
|
border-bottom: #ccc 1px solid;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lib-con-title span {
|
|
|
|
font-weight: bold;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lib-con-title .ssh-item {
|
|
|
|
margin-top: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lib-con {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.waftable .ssh-item {
|
|
|
|
display: inline-block;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.waftable .ssh-item .btswitch + .btswitch-btn, .lib-con-title .ssh-item .btswitch + .btswitch-btn {
|
|
|
|
width: 2.0em;
|
|
|
|
height: 1.2em;
|
|
|
|
margin-bottom: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
.rule_btn button {
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table .gztr td, #LogDayCon td {
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wavbox {
|
|
|
|
width: 314px;
|
|
|
|
float: left;
|
|
|
|
height: 60px;
|
|
|
|
line-height: 52px;
|
|
|
|
text-align: center;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
margin-top: 5px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wavbox span {
|
|
|
|
font-size: 18px;
|
|
|
|
margin: 0 6px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.screen .line {
|
|
|
|
width: 33.333%;
|
|
|
|
text-align: center;
|
|
|
|
height: 70px;
|
|
|
|
float: left;
|
|
|
|
margin: 6px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.screen .line:nth-of-type(3n-1) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.screen .line .name {
|
|
|
|
width: auto;
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
margin: 5px 0 8px;
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
.screen .line .val {
|
|
|
|
font-size: 18px;
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
font-weight: bold
|
|
|
|
}
|
|
|
|
|
|
|
|
.wafview-head {
|
|
|
|
height: 30px;
|
|
|
|
border-bottom: #ccc 1px solid;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.waf-switch {
|
|
|
|
margin-left: 20px;
|
|
|
|
margin-top: -3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wafinfo {
|
|
|
|
line-height: 18px;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wafinfo .safetotal {
|
|
|
|
margin: 0 6px;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.screen {
|
|
|
|
background-color: #fafafa;
|
|
|
|
border: #ddd 1px solid;
|
|
|
|
padding: 0;
|
|
|
|
float: left;
|
|
|
|
border-radius: 4px;
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
width: 645px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table .sitename, .filtertext {
|
|
|
|
width: 100px;
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.td3txt {
|
|
|
|
max-width: 200px;
|
|
|
|
display: block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tdhide {
|
|
|
|
display: none
|
|
|
|
}
|
|
|
|
|
|
|
|
.divpre {
|
|
|
|
padding: 9.5px;
|
|
|
|
margin: 0 0 10px;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 1.42857143;
|
|
|
|
color: #333;
|
|
|
|
word-break: break-all;
|
|
|
|
word-wrap: break-word;
|
|
|
|
background-color: #f6f6f6;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
border-radius: 4px;
|
|
|
|
max-height: 100px;
|
|
|
|
overflow: auto
|
|
|
|
}
|
|
|
|
|
|
|
|
.lib-con .table > tbody > tr.active td {
|
|
|
|
background-color: #E4EEE0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table_head_fix {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tipsval {
|
|
|
|
margin-left: 2px;
|
|
|
|
color: #fc6d26;
|
|
|
|
padding: 0 2px;
|
|
|
|
height: 14px;
|
|
|
|
line-height: 14px;
|
|
|
|
border-radius: 3px;
|
|
|
|
font-family: arial;
|
|
|
|
vertical-align: 2px;
|
|
|
|
font-weight: 700
|
|
|
|
}
|
|
|
|
|
|
|
|
.tipsvalnull {
|
|
|
|
color: #ccc;
|
|
|
|
font-weight: normal
|
|
|
|
}
|
|
|
|
|
|
|
|
.dot {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dot:after {
|
|
|
|
content: "";
|
|
|
|
height: 4px;
|
|
|
|
width: 4px;
|
|
|
|
border-radius: 2px;
|
|
|
|
background: #fc6d26;
|
|
|
|
position: absolute;
|
|
|
|
left: -7px;
|
|
|
|
top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.soft-man-con .CodeMirror {
|
|
|
|
height: 250px;
|
|
|
|
}
|
|
|
|
.tab_list{
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.tab_list .tab_block{
|
|
|
|
width: 50%;
|
|
|
|
height: 45px;
|
|
|
|
line-height: 45px;
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
border:1px solid #cfcfcfcf;
|
|
|
|
border-top:0;
|
|
|
|
background: #ececec;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.tab_list .tab_block.active{
|
|
|
|
background: #fff;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
.table_fix{
|
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.help-info-text {
|
|
|
|
margin-top: 0px;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<div class="bt-form">
|
|
|
|
<div class="bt-w-main">
|
|
|
|
<div class="bt-w-menu">
|
|
|
|
<p class="bgw" onclick="pluginService('op_waf');">服务</p>
|
|
|
|
<p onclick="wafScreen();">首页</p>
|
|
|
|
<p onclick="wafGloabl();">全局配置</p>
|
|
|
|
<p onclick="wafSite();">站点配置</p>
|
|
|
|
<p onclick="wafAreaLimit();">地区限制</p>
|
|
|
|
<p onclick="wafLogs();">封锁历史</p>
|
|
|
|
<!-- <p onclick="wafOpLogs();">操作日志</p> -->
|
|
|
|
</div>
|
|
|
|
<!-- lib-con -->
|
|
|
|
<div class="bt-w-con pd15">
|
|
|
|
<div class="soft-man-con"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<script src="/plugins/file?name=op_waf&f=js/op_waf.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
resetPluginWinWidth(800);
|
|
|
|
|
|
|
|
$.getScript( "/plugins/file?name=op_waf&f=js/op_waf.js", function(data, textStatus, jqxhr){
|
|
|
|
// console.log(data, textStatus, jqxhr);
|
|
|
|
pluginService('op_waf');
|
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|