导入界面样式更改

是否表达式和是否十六进制初始化顺序更改
This commit is contained in:
duandongmei
2018-09-28 11:27:40 +08:00
parent 82b6a4fc7b
commit 1fc335f750
4 changed files with 86 additions and 16 deletions

View File

@@ -331,8 +331,9 @@
<!-- /筛选搜索内容栏 结束-->
</form:form>
</div>
<div class="table-responsive">
<sys:message content="${message}"/>
<div class="table-responsive">
<table id="contentTable" class="table table-striped table-bordered table-condensed text-nowrap">
<c:forEach items="${serviceList}" var="service">
<c:if test="${service.action==64}">

View File

@@ -5243,8 +5243,11 @@ Form Layouts
.portlet-form .form-section,
.form .form-section {
margin: 12px 0px 14px 0px;
padding-bottom: 5px;
border-bottom: 1px solid #e7ecf1; }
padding: 5px;
border: solid #e7ecf1;
border-width: 1px 1px 0 1px;
width: 100%;
background: #e7ecf1; }
.form-fit .portlet-form .form-section, .form-fit
.form .form-section {
margin-left: 20px;
@@ -5843,7 +5846,7 @@ Custom color buttons
/* Form uneditable input */
.uneditable-input {
padding: 6px 12px;
min-width: 206px;
width: 206px;
font-size: 14px;
font-weight: normal;
height: 34px;
@@ -5853,6 +5856,14 @@ Custom color buttons
-webkit-box-shadow: none;
box-shadow: none;
-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
-icab-text-overflow: ellipsis;
-khtml-text-overflow: ellipsis;
-moz-text-overflow: ellipsis;
-webkit-text-overflow: ellipsis;
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; }
.form-control-static {
@@ -22279,7 +22290,7 @@ Color library demo
/*锟斤拷锟斤拷锟斤拷式*/
/*閿熸枻鎷烽敓鏂ゆ嫹閿熸枻鎷峰紡*/
.sort-column {
@@ -22551,7 +22562,7 @@ transition: background-color .1s ease-in-out;
/* END SHOW MORE CSS**/
/**鐎涙劙鍘ょ純顕<EFBFBD>锟藉銆嶉崡鈩冪壉瀵拷**/
/**閻庢稒鍔欓崢銈囩磾椤曪拷閿熻棄顦甸妴宥夊础閳╁啰澹夌<EFBFBD>顕嗘嫹**/
.tabInfo {
border: 1px solid #c2cad8;
padding: 5px;
@@ -22593,3 +22604,18 @@ span[id^='close']{
opacity:0.7;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}
.border-top {
border-top: 1px solid;
padding-top:5px;
}
.border-top + .form-section{
margin-top:-25px;
width: 100%;
background: #e7ecf1;
border:none
}
.form-section + .boxSolid {
border: 1px solid #eeeeee;
margin-top:-14px;
margin-bottom:10px
}

View File

@@ -176,7 +176,8 @@ optgroup {
table {
border-collapse: collapse;
border-spacing: 0; }
border-spacing: 0;
}
td,
th {
@@ -2038,7 +2039,7 @@ th {
width: 100%;
max-width: 100%;
margin-bottom: 10px;
margin-top: 10px;
margin-top: -1px;
}
.table > thead > tr > th,
.table > thead > tr > td,
@@ -2230,6 +2231,7 @@ table th[class*="col-"] {
position: fixed;
right: 14px;
left: 14px;
margin-top: 20px;
}
@media screen and (max-width: 767px) {
.table-responsive {
@@ -5172,7 +5174,8 @@ button.close {
.modal-body {
position: relative;
padding: 15px; }
/* padding: 15px; */
}
.modal-footer {
padding: 15px;

View File

@@ -9,16 +9,16 @@ $(function(){
protocol:[],
direction:[]
});
$("input[name$='isCaseSenstive']").on("change",function(){
setIsHexBin(this);
});
setHexCaseSenstive();
$("select[name$='isHexbin']").each(function(){
setIsHexBin(this);
});
$("input[name$='isHex']").on("change",function(){
setIsHexBin(this);
});
$("input[name$='isCaseSenstive']").on("change",function(){
setIsHexBin(this);
});
setHexCaseSenstive();
$("a[name=viewLogInfo]>i").on("click",function(){
var html = "<div class='logInfo'>";
$(this).parents("tr").find("td").each(function(index,element){
@@ -360,6 +360,7 @@ $(function(){
$(".action").on("change", function() {
$("#serviceId").val($(this).attr("serviceId"));
$("#protocolId").val($(this).attr("protocolId"));
switchAction($(this).val());
});
// 校验搜索条件里的时间选框,不允许起始时间晚于终止时间
$("#searchForm").validate({
@@ -535,6 +536,21 @@ $(function(){
$(this).val(0);
}
});
//配置修改时已经展开的域上的加号隐藏
$(".boxSolid:visible").each(function(){
$(this).prev("h4").find(".glyphicon-plus").addClass("hidden");
});
//IP域修改时默认展开,不显示show more
if($("input[name='compileId']")&&$("input[name='compileId']").val()!=0&&($(".btn-red-hollow").parents(".boxSolid").is(":visible")||$("input[name$='cfgRegionCode']").length==1)){
$(".port").removeClass("hidden").removeClass("disabled");
$(".destPort").removeClass("hidden").removeClass("disabled");
$(".protocol").removeClass("hidden").removeClass("disabled");
$(".btn-red-hollow").addClass("hidden");
}
$("#messageBox .close").on("click",function(){
heightDiv(1);
})
});
window.onload=function(){
$("span[id^=open]").click(function(){
@@ -584,6 +600,21 @@ window.onload=function(){
heightDiv();
},500);
if($('.table-responsive')){
var tableCont = document.querySelector('.table-responsive');
if(tableCont !=null && tableCont!=''){
function scrollHandle (e){
var scrollTop = this.scrollTop;
$('th').css('transform','translateY(' + scrollTop + 'px)');
$('thead tr').css('z-index','2147482468');
$('thead tr').css('position','relative');
$('th').css('border','1px solid rgb(255, 255, 255)');
$('th').css('background-clip','padding-box');
}
tableCont.addEventListener('scroll',scrollHandle);
$('#contentTable').attr("margin-top",'0px');
}
}
}
var setInterceptDefaultInfo=function(cfgId){
var action=$("input[name='action']:checked").val();
@@ -1823,14 +1854,23 @@ var initCommIpVal=function(){
}
}
function heightDiv(){
function heightDiv(type){
var hei=document.documentElement.clientHeight;
hei=hei-71;
hei=hei-91;
var rowheigth=0;
if($('.row')){
rowheigth=$('.row').height();
hei=hei-rowheigth;
}
if(type != 1){
if($("#messageBox")){
var messageH=$("#messageBox").height();
if(messageH > 0){
hei=hei-messageH-52;
}
}
}
if($('.table-responsive')){
$('.table-responsive').css({'height':hei+'px'});
}