@@ -11,7 +11,6 @@ | |||||
<script src="/static/web/js/jquery.min.js"></script> | <script src="/static/web/js/jquery.min.js"></script> | ||||
<script src="/static/web/js/moment.min.js"></script> | <script src="/static/web/js/moment.min.js"></script> | ||||
<script src="/static/web/js/daterangepicker.js"></script> | <script src="/static/web/js/daterangepicker.js"></script> | ||||
<style>.typetab{text-align:left}.typetab ul li{float:left;width:60px;height:28px;line-height:28px;border-radius:0.5rem 0.5rem 0 0;text-align:center;cursor:pointer}.typetab ul .act{background:#f5f5f5}</style> | |||||
</head> | </head> | ||||
<body> | <body> | ||||
<form name="form1" action="ad_add.php" method="post" onSubmit="return checkSubmit()"> | <form name="form1" action="ad_add.php" method="post" onSubmit="return checkSubmit()"> | ||||
@@ -78,9 +77,9 @@ | |||||
<tr> | <tr> | ||||
<td>广告文档:</td> | <td>广告文档:</td> | ||||
<td> | <td> | ||||
<div class="typetab"> | |||||
<div class="add-tab"> | |||||
<ul id="changeTab"> | <ul id="changeTab"> | ||||
<li id="t_code" class="act">代码</li> | |||||
<li id="t_code" class="active">代码</li> | |||||
<li id="t_txt">文字</li> | <li id="t_txt">文字</li> | ||||
<li id="t_img">图片</li> | <li id="t_img">图片</li> | ||||
<li id="t_flash">Flash</li> | <li id="t_flash">Flash</li> | ||||
@@ -177,7 +176,23 @@ | |||||
return false; | return false; | ||||
} | } | ||||
} | } | ||||
function showcode(idName) { | |||||
$("#advert").html("").html($("#formtxt>#" + idName).html()); | |||||
$("#adstyle").val(idName); | |||||
} | |||||
showcode('code'); | |||||
$(document).ready(function() { | $(document).ready(function() { | ||||
$("#changeTab>li").click(function() { | |||||
var tabLi = $(this); | |||||
var thistab = tabLi[0].id; | |||||
$(".content").each(function() { | |||||
if ("t_" + $(this)[0].id == thistab) { | |||||
$("#changeTab>li").removeClass("active"); | |||||
$("#t_" + $(this)[0].id).addClass("active"); | |||||
showcode($(this)[0].id); | |||||
} | |||||
}) | |||||
}); | |||||
$('.datepicker').daterangepicker({ | $('.datepicker').daterangepicker({ | ||||
"singleDatePicker": true, | "singleDatePicker": true, | ||||
"autoApply": true, | "autoApply": true, | ||||
@@ -203,27 +218,7 @@ | |||||
}, function(start) { | }, function(start) { | ||||
$(this).val(start.format("YYYY-MM-DD HH:mm")); | $(this).val(start.format("YYYY-MM-DD HH:mm")); | ||||
}); | }); | ||||
}) | |||||
</script> | |||||
<script> | |||||
(function($) { | |||||
function showcode(idName) { | |||||
$("#advert").html("").html($("#formtxt>#" + idName).html()); | |||||
$("#adstyle").val(idName); | |||||
} | |||||
showcode('code'); | |||||
$("#changeTab>li").click(function () { | |||||
var tabLi = $(this); | |||||
var thistab = tabLi[0].id; | |||||
$(".content").each(function () { | |||||
if ("t_" + $(this)[0].id == thistab) { | |||||
$("#changeTab>li").removeClass("act"); | |||||
$("#t_" + $(this)[0].id).addClass("act"); | |||||
showcode($(this)[0].id); | |||||
} | |||||
}) | |||||
}) | |||||
})(jQuery); | |||||
}); | |||||
</script> | </script> | ||||
</body> | </body> | ||||
</html> | </html> |
@@ -28,7 +28,7 @@ | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="maxwidth" id="maxwidth" value="<?php echo $cfg_album_width;?>"> | <input type="hidden" name="maxwidth" id="maxwidth" value="<?php echo $cfg_album_width;?>"> | ||||
<input type="hidden" id="albums" name="albums"> | <input type="hidden" id="albums" name="albums"> | ||||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">发布图片文档</td> | <td bgcolor="#f5f5f5" class="admin-td">发布图片文档</td> | ||||
</tr> | </tr> | ||||
@@ -396,7 +396,7 @@ | |||||
data: formData, | data: formData, | ||||
processData: false, | processData: false, | ||||
contentType: false, | contentType: false, | ||||
success: function (result) { | |||||
success: function(result) { | |||||
if (result.code === 0) { | if (result.code === 0) { | ||||
// console.log(result) | // console.log(result) | ||||
addImage(result.data, 0); | addImage(result.data, 0); | ||||
@@ -405,7 +405,7 @@ | |||||
ShowMsg(result.error.message); | ShowMsg(result.error.message); | ||||
} | } | ||||
}, | }, | ||||
error: function (xhr, status, error) { | |||||
error: function(xhr, status, error) { | |||||
ShowMsg(error); //处理上传失败后的回调 | ShowMsg(error); //处理上传失败后的回调 | ||||
} | } | ||||
}); | }); | ||||
@@ -27,7 +27,7 @@ | |||||
<input type="hidden" name="imagebody"> | <input type="hidden" name="imagebody"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" id="albums" name="albums"> | <input type="hidden" id="albums" name="albums"> | ||||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">修改图片文档</td> | <td bgcolor="#f5f5f5" class="admin-td">修改图片文档</td> | ||||
</tr> | </tr> | ||||
@@ -432,7 +432,7 @@ | |||||
data: formData, | data: formData, | ||||
processData: false, | processData: false, | ||||
contentType: false, | contentType: false, | ||||
success: function (result) { | |||||
success: function(result) { | |||||
if (result.code === 0) { | if (result.code === 0) { | ||||
let idx = val.target.getAttribute("for").replace("item",""); | let idx = val.target.getAttribute("for").replace("item",""); | ||||
$(`input[name='imgurl${idx}']`).val(result.data); | $(`input[name='imgurl${idx}']`).val(result.data); | ||||
@@ -442,7 +442,7 @@ | |||||
ShowMsg(result.error.message); | ShowMsg(result.error.message); | ||||
} | } | ||||
}, | }, | ||||
error: function (xhr, status, error) { | |||||
error: function(xhr, status, error) { | |||||
ShowMsg(error); //处理上传失败后的回调 | ShowMsg(error); //处理上传失败后的回调 | ||||
} | } | ||||
}); | }); | ||||
@@ -459,7 +459,7 @@ | |||||
data: formData, | data: formData, | ||||
processData: false, | processData: false, | ||||
contentType: false, | contentType: false, | ||||
success: function (result) { | |||||
success: function(result) { | |||||
if (result.code === 0) { | if (result.code === 0) { | ||||
// console.log(result) | // console.log(result) | ||||
addImage(result.data, 0); | addImage(result.data, 0); | ||||
@@ -468,7 +468,7 @@ | |||||
ShowMsg(result.error.message); | ShowMsg(result.error.message); | ||||
} | } | ||||
}, | }, | ||||
error: function (xhr, status, error) { | |||||
error: function(xhr, status, error) { | |||||
ShowMsg(error); //处理上传失败后的回调 | ShowMsg(error); //处理上传失败后的回调 | ||||
} | } | ||||
}); | }); | ||||
@@ -23,7 +23,7 @@ | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid?>"> | ||||
<input type="hidden" name="cid" value="<?php echo $cid?>"> | <input type="hidden" name="cid" value="<?php echo $cid?>"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">发布自定义文档</td> | <td bgcolor="#f5f5f5" class="admin-td">发布自定义文档</td> | ||||
</tr> | </tr> | ||||
@@ -23,7 +23,7 @@ | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid?>"> | ||||
<input type="hidden" name="id" value="<?php echo $aid?>"> | <input type="hidden" name="id" value="<?php echo $aid?>"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">修改自定义文档</td> | <td bgcolor="#f5f5f5" class="admin-td">修改自定义文档</td> | ||||
</tr> | </tr> | ||||
@@ -23,7 +23,7 @@ | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid?>"> | ||||
<input type="hidden" name="cid" value="<?php echo $cid?>"> | <input type="hidden" name="cid" value="<?php echo $cid?>"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">发布分类文档</td> | <td bgcolor="#f5f5f5" class="admin-td">发布分类文档</td> | ||||
</tr> | </tr> | ||||
@@ -24,7 +24,7 @@ | |||||
<input type="hidden" name="id" value="<?php echo $aid;?>"> | <input type="hidden" name="id" value="<?php echo $aid;?>"> | ||||
<input type="hidden" name="sortrank" value="<?php echo $addRow['senddate'];?>"> | <input type="hidden" name="sortrank" value="<?php echo $addRow['senddate'];?>"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">修改分类文档</td> | <td bgcolor="#f5f5f5" class="admin-td">修改分类文档</td> | ||||
</tr> | </tr> | ||||
@@ -22,7 +22,7 @@ | |||||
<form name="form1" action="article_add.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit()"> | <form name="form1" action="article_add.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit()"> | ||||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid?>"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">发布文档</td> | <td bgcolor="#f5f5f5" class="admin-td">发布文档</td> | ||||
</tr> | </tr> | ||||
@@ -23,7 +23,7 @@ | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid?>"> | ||||
<input type="hidden" name="id" value="<?php echo $aid?>"> | <input type="hidden" name="id" value="<?php echo $aid?>"> | ||||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">修改文档</td> | <td bgcolor="#f5f5f5" class="admin-td">修改文档</td> | ||||
</tr> | </tr> | ||||
@@ -7,7 +7,6 @@ | |||||
<link rel="stylesheet" href="/static/web/font/css/font-awesome.min.css"> | <link rel="stylesheet" href="/static/web/font/css/font-awesome.min.css"> | ||||
<link rel="stylesheet" href="/static/web/css/bootstrap.min.css"> | <link rel="stylesheet" href="/static/web/css/bootstrap.min.css"> | ||||
<link rel="stylesheet" href="/static/web/css/admin.css"> | <link rel="stylesheet" href="/static/web/css/admin.css"> | ||||
<style>.admin-td{border-bottom:1px solid #dee2e6!important}</style> | |||||
<script src="/static/web/js/jquery.min.js"></script> | <script src="/static/web/js/jquery.min.js"></script> | ||||
<script src="/static/web/js/webajax.js"></script> | <script src="/static/web/js/webajax.js"></script> | ||||
<script src="/static/web/js/admin.catalog.js"></script> | <script src="/static/web/js/admin.catalog.js"></script> | ||||
@@ -31,7 +30,7 @@ | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
<form name="form1" method="post" action="catalog_do.php?dopost=upRankAll"> | <form name="form1" method="post" action="catalog_do.php?dopost=upRankAll"> | ||||
<table align="center" class="maintable mb-3"> | |||||
<table align="center" class="maintable column mb-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">网站栏目管理</td> | <td bgcolor="#f5f5f5" class="admin-td">网站栏目管理</td> | ||||
</tr> | </tr> | ||||
@@ -97,7 +97,7 @@ | |||||
else v.style.display = "none"; | else v.style.display = "none"; | ||||
}) | }) | ||||
} | } | ||||
$(document).ready(function () { | |||||
$(document).ready(function() { | |||||
$('.datepicker').daterangepicker({ | $('.datepicker').daterangepicker({ | ||||
"singleDatePicker": true, | "singleDatePicker": true, | ||||
"autoApply": true, | "autoApply": true, | ||||
@@ -121,7 +121,7 @@ | |||||
monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'], | monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'], | ||||
firstDay: 1 | firstDay: 1 | ||||
} | } | ||||
}, function (start) { | |||||
}, function(start) { | |||||
$(this).val(start.format("YYYY-MM-DD HH:mm:ss")); | $(this).val(start.format("YYYY-MM-DD HH:mm:ss")); | ||||
}); | }); | ||||
}); | }); | ||||
@@ -10,7 +10,6 @@ | |||||
<script src="/static/web/js/jquery.min.js"></script> | <script src="/static/web/js/jquery.min.js"></script> | ||||
<script src="/static/web/js/bootstrap.min.js"></script> | <script src="/static/web/js/bootstrap.min.js"></script> | ||||
<script src="/static/web/js/admin.main.js"></script> | <script src="/static/web/js/admin.main.js"></script> | ||||
<style>.nw{float:left;width:160px}.cls{clear:both}</style> | |||||
</head> | </head> | ||||
<body> | <body> | ||||
<form name="form1" action="diy_field_add.php" method="post" onSubmit="return GetFields();"> | <form name="form1" action="diy_field_add.php" method="post" onSubmit="return GetFields();"> | ||||
@@ -10,7 +10,6 @@ | |||||
<script src="/static/web/js/jquery.min.js"></script> | <script src="/static/web/js/jquery.min.js"></script> | ||||
<script src="/static/web/js/bootstrap.min.js"></script> | <script src="/static/web/js/bootstrap.min.js"></script> | ||||
<script src="/static/web/js/admin.main.js"></script> | <script src="/static/web/js/admin.main.js"></script> | ||||
<style>.nw{float:left;width:160px}.cls{clear:both}</style> | |||||
</head> | </head> | ||||
<body> | <body> | ||||
<form name="form1" action="diy_field_edit.php" method="post" onSubmit="return GetFields();"> | <form name="form1" action="diy_field_edit.php" method="post" onSubmit="return GetFields();"> | ||||
@@ -10,7 +10,6 @@ | |||||
<script src="/static/web/js/jquery.min.js"></script> | <script src="/static/web/js/jquery.min.js"></script> | ||||
<script src="/static/web/js/bootstrap.min.js"></script> | <script src="/static/web/js/bootstrap.min.js"></script> | ||||
<script src="/static/web/js/admin.main.js"></script> | <script src="/static/web/js/admin.main.js"></script> | ||||
<style>.nw{float:left;width:160px}.cls{clear:both}</style> | |||||
</head> | </head> | ||||
<body> | <body> | ||||
<form name="form1" action="mychannel_field_add.php" method="post" onSubmit="return GetFields();"> | <form name="form1" action="mychannel_field_add.php" method="post" onSubmit="return GetFields();"> | ||||
@@ -10,7 +10,6 @@ | |||||
<script src="/static/web/js/jquery.min.js"></script> | <script src="/static/web/js/jquery.min.js"></script> | ||||
<script src="/static/web/js/bootstrap.min.js"></script> | <script src="/static/web/js/bootstrap.min.js"></script> | ||||
<script src="/static/web/js/admin.main.js"></script> | <script src="/static/web/js/admin.main.js"></script> | ||||
<style>.nw{float:left;width:160px}.cls{clear:both}</style> | |||||
</head> | </head> | ||||
<body> | <body> | ||||
<form name="form1" action="mychannel_field_edit.php" method="post" onSubmit="return GetFields();"> | <form name="form1" action="mychannel_field_edit.php" method="post" onSubmit="return GetFields();"> | ||||
@@ -39,7 +39,7 @@ | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid?>"> | ||||
<input type="hidden" name="cid" value="<?php echo $cid;?>"> | <input type="hidden" name="cid" value="<?php echo $cid;?>"> | ||||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">发布软件文档</td> | <td bgcolor="#f5f5f5" class="admin-td">发布软件文档</td> | ||||
</tr> | </tr> | ||||
@@ -38,7 +38,7 @@ | |||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid?>"> | ||||
<input type="hidden" name="id" value="<?php echo $aid?>"> | <input type="hidden" name="id" value="<?php echo $aid?>"> | ||||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">修改软件文档</td> | <td bgcolor="#f5f5f5" class="admin-td">修改软件文档</td> | ||||
</tr> | </tr> | ||||
@@ -61,7 +61,7 @@ | |||||
<input type="hidden" name="channelid" value="<?php echo $channelid?>"> | <input type="hidden" name="channelid" value="<?php echo $channelid?>"> | ||||
<input type="hidden" name="arcrank" value="0"> | <input type="hidden" name="arcrank" value="0"> | ||||
<input type="hidden" name="source" value="本站"> | <input type="hidden" name="source" value="本站"> | ||||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">发布专题</td> | <td bgcolor="#f5f5f5" class="admin-td">发布专题</td> | ||||
</tr> | </tr> | ||||
@@ -59,7 +59,7 @@ | |||||
<input type="hidden" name="arcrank" value="<?php echo $arcRow['arcrank']?>"> | <input type="hidden" name="arcrank" value="<?php echo $arcRow['arcrank']?>"> | ||||
<input type="hidden" name="source" value="本站"> | <input type="hidden" name="source" value="本站"> | ||||
<input type="hidden" name="dopost" value="save"> | <input type="hidden" name="dopost" value="save"> | ||||
<table width="98%" align="center" id="needset" class="admin-border my-3"> | |||||
<table width="98%" align="center" id="needset" class="maintable my-3"> | |||||
<tr> | <tr> | ||||
<td bgcolor="#f5f5f5" class="admin-td">发布专题</td> | <td bgcolor="#f5f5f5" class="admin-td">发布专题</td> | ||||
</tr> | </tr> | ||||
@@ -102,7 +102,7 @@ | |||||
tencent_secret_key: '', | tencent_secret_key: '', | ||||
}; | }; | ||||
function LoadConfig() { | function LoadConfig() { | ||||
$.get("sys_cloud.php?dopost=cloud_get", function (data) { | |||||
$.get("sys_cloud.php?dopost=cloud_get", function(data) { | |||||
try { | try { | ||||
rs = JSON.parse(data); | rs = JSON.parse(data); | ||||
if (rs.code === 0) { | if (rs.code === 0) { | ||||
@@ -134,8 +134,8 @@ | |||||
} | } | ||||
}); | }); | ||||
} | } | ||||
$(document).ready(function () { | |||||
$("#btnSave").click(function () { | |||||
$(document).ready(function() { | |||||
$("#btnSave").click(function() { | |||||
if ($("#cloudType1").is(":checked")) { | if ($("#cloudType1").is(":checked")) { | ||||
cloudConfig.aliyun_enabled = true; | cloudConfig.aliyun_enabled = true; | ||||
} else { | } else { | ||||
@@ -157,7 +157,7 @@ | |||||
} | } | ||||
cloudConfig.tencent_secret_id = $("#iptTencentSecretId").val(); | cloudConfig.tencent_secret_id = $("#iptTencentSecretId").val(); | ||||
cloudConfig.tencent_secret_key = $("#iptTencentSecretKey").val(); | cloudConfig.tencent_secret_key = $("#iptTencentSecretKey").val(); | ||||
$.post("sys_cloud.php?dopost=cloud_set", cloudConfig, function (result) { | |||||
$.post("sys_cloud.php?dopost=cloud_set", cloudConfig, function(result) { | |||||
let data = JSON.parse(result); | let data = JSON.parse(result); | ||||
if (data.code === 0) { | if (data.code === 0) { | ||||
ShowMsg("云服务设置成功"); | ShowMsg("云服务设置成功"); | ||||
@@ -207,7 +207,7 @@ | |||||
jQuery("#edit___cfg_cookie_encode").val(data); | jQuery("#edit___cfg_cookie_encode").val(data); | ||||
}); | }); | ||||
} | } | ||||
$(document).ready(function () { | |||||
$(document).ready(function() { | |||||
$("#btnClear").click(() => { | $("#btnClear").click(() => { | ||||
location.reload(); | location.reload(); | ||||
}) | }) | ||||
@@ -13,7 +13,6 @@ | |||||
<script src="/static/web/js/mode/javascript/javascript.js"></script> | <script src="/static/web/js/mode/javascript/javascript.js"></script> | ||||
<script src="/static/web/js/mode/css/css.js"></script> | <script src="/static/web/js/mode/css/css.js"></script> | ||||
<script src="/static/web/js/mode/htmlmixed/htmlmixed.js"></script> | <script src="/static/web/js/mode/htmlmixed/htmlmixed.js"></script> | ||||
<style>.helpinfo{float:left;display:none;padding:10px;width:100%;background:#f5f5f5;border:1px solid #dee2e6;border-radius:0.5rem}</style> | |||||
</head> | </head> | ||||
<body> | <body> | ||||
<form method="POST" action="tpl.php" name=form1 onSubmit="return Post()"> | <form method="POST" action="tpl.php" name=form1 onSubmit="return Post()"> | ||||
@@ -2,8 +2,8 @@ | |||||
::-webkit-scrollbar-track{background:#f5f5f5} | ::-webkit-scrollbar-track{background:#f5f5f5} | ||||
::-webkit-scrollbar-thumb{background:#dee2e6} | ::-webkit-scrollbar-thumb{background:#dee2e6} | ||||
*{font-size:14px;scrollbar-width:thin} | *{font-size:14px;scrollbar-width:thin} | ||||
body{margin:0;line-height:1.6;letter-spacing:0.5px;font-size:14px;font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#fff} | |||||
a{color:#545b62;text-decoration:none} | |||||
body{margin:0;line-height:1.6;letter-spacing:0.5px;font-size:14px;font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#6c757d;background:#fff} | |||||
a{color:#6c757d;text-decoration:none} | |||||
a:hover{color:#007bff;text-decoration:none} | a:hover{color:#007bff;text-decoration:none} | ||||
img{margin-right:10px;max-width:100%;border-radius:0.5rem} | img{margin-right:10px;max-width:100%;border-radius:0.5rem} | ||||
ul,ol,li{margin:0;padding:0} | ul,ol,li{margin:0;padding:0} | ||||
@@ -15,15 +15,15 @@ table tr:first-child td:last-child{border-top-right-radius:0.5rem;border-top:0} | |||||
table tr:last-child td:first-child{border-bottom-left-radius:0.5rem;border-bottom:0} | table tr:last-child td:first-child{border-bottom-left-radius:0.5rem;border-bottom:0} | ||||
table tr:last-child td:last-child{border-bottom-right-radius:0.5rem;border-bottom:0} | table tr:last-child td:last-child{border-bottom-right-radius:0.5rem;border-bottom:0} | ||||
td{word-break:break-all;word-wrap:break-word} | td{word-break:break-all;word-wrap:break-word} | ||||
input{padding:0.375rem 0.75rem;height:30px;color:#545b62;background:#fff;border:1px solid #dee2e6;vertical-align:middle} | |||||
input{padding:0.375rem 0.75rem;height:30px;color:#6c757d;background:#fff;border:1px solid #dee2e6;vertical-align:middle} | |||||
input[type=file]{padding:0;height:auto;border:0;border-radius:0!important;vertical-align:middle} | input[type=file]{padding:0;height:auto;border:0;border-radius:0!important;vertical-align:middle} | ||||
input[type=button],input[type=submit],input[type=reset]{padding:0.375rem 0.75rem;height:30px;line-height:1.5;font-size:12px;color:#fff;background:#1eb867;border:0} | input[type=button],input[type=submit],input[type=reset]{padding:0.375rem 0.75rem;height:30px;line-height:1.5;font-size:12px;color:#fff;background:#1eb867;border:0} | ||||
input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkbox]:focus{width:14px;height:14px;outline:none;box-shadow:none;vertical-align:middle} | |||||
select{padding:0.375rem 0.75rem;height:30px;color:#545b62;background:#fff;border:1px solid #dee2e6;vertical-align:middle} | |||||
input[type=radio],input[type=checkbox],input[type=radio]:focus,input[type=checkbox]:focus{width:14px;height:14px;outline:none;box-shadow:none;vertical-align:text-top} | |||||
select{padding:0.375rem 0.75rem;height:30px;color:#6c757d;background:#fff;border:1px solid #dee2e6;vertical-align:middle} | |||||
select[multiple=yes]{height:180px} | select[multiple=yes]{height:180px} | ||||
option{display:flex;padding:0;height:30px;align-items:center} | option{display:flex;padding:0;height:30px;align-items:center} | ||||
textarea{padding:0.375rem 0.75rem;color:#545b62;background:#fff;border:1px solid #dee2e6;vertical-align:middle} | |||||
input:focus,select:focus,textarea:focus{color:#495057;background:#fff;border-color:#80bdff;box-shadow:0 0 0 0.2rem rgba(0,123,255,.25);outline:0} | |||||
textarea{padding:0.375rem 0.75rem;color:#6c757d;background:#fff;border:1px solid #dee2e6;vertical-align:middle} | |||||
input:focus,select:focus,textarea:focus{color:#6c757d;background:#fff;border-color:#80bdff;box-shadow:0 0 0 0.2rem rgba(0,123,255,.25);outline:0} | |||||
.install-box{margin:0 auto;width:800px} | .install-box{margin:0 auto;width:800px} | ||||
.install-box .card-header,.install-box .card-body{padding:1.25rem} | .install-box .card-header,.install-box .card-body{padding:1.25rem} | ||||
.install-box h2,.install-box legend{margin:0;line-height:1.2;font-size:18px;font-weight:600;color:#393d49} | .install-box h2,.install-box legend{margin:0;line-height:1.2;font-size:18px;font-weight:600;color:#393d49} | ||||
@@ -47,7 +47,7 @@ body.menu-hide .body-right{left:0;transition:all 0.5s} | |||||
.menu-body{width:100%;background:#fff;box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075)} | .menu-body{width:100%;background:#fff;box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075)} | ||||
.item-menu .link{position:relative;padding-left:50px;display:block;height:42px;line-height:42px;cursor:pointer} | .item-menu .link{position:relative;padding-left:50px;display:block;height:42px;line-height:42px;cursor:pointer} | ||||
.item-menu li:last-child .link{border-bottom:0} | .item-menu li:last-child .link{border-bottom:0} | ||||
.item-menu li i{position:absolute;top:14px;left:20px;color:#545b62} | |||||
.item-menu li i{position:absolute;top:14px;left:20px;color:#6c757d} | |||||
.item-menu li i.fa-angle-down{right:20px;left:auto} | .item-menu li i.fa-angle-down{right:20px;left:auto} | ||||
.item-menu li.open .link,.item-menu li.open i{color:#1eb867} | .item-menu li.open .link,.item-menu li.open i{color:#1eb867} | ||||
.item-menu li.open i.fa-angle-down{transform:rotate(180deg)} | .item-menu li.open i.fa-angle-down{transform:rotate(180deg)} | ||||
@@ -61,7 +61,7 @@ body.menu-hide .body-right{left:0;transition:all 0.5s} | |||||
.admin-head .item ul li:first-child{padding-left:1rem} | .admin-head .item ul li:first-child{padding-left:1rem} | ||||
.admin-head .item ul li a,.admin-head .admin ul li a{color:#fff} | .admin-head .item ul li a,.admin-head .admin ul li a{color:#fff} | ||||
.admin-head .item ul li a:hover,.admin-head .admin ul li a:hover{color:#dee2e6} | .admin-head .item ul li a:hover,.admin-head .admin ul li a:hover{color:#dee2e6} | ||||
.admin-head .item .search{position:absolute;top:20px;right:5px;height:20px;line-height:20px;color:#545b62;background:0;border:0} | |||||
.admin-head .item .search{position:absolute;top:20px;right:5px;height:20px;line-height:20px;color:#6c757d;background:0;border:0} | |||||
.admin-head .admin{float:right;margin-right:30px;height:60px;line-height:60px} | .admin-head .admin{float:right;margin-right:30px;height:60px;line-height:60px} | ||||
.admin-head .admin img{width:30px;height:30px;border-radius:50%} | .admin-head .admin img{width:30px;height:30px;border-radius:50%} | ||||
.admin-head .admin ul li{float:left;padding-left:30px;height:60px;line-height:60px} | .admin-head .admin ul li{float:left;padding-left:30px;height:60px;line-height:60px} | ||||
@@ -85,7 +85,7 @@ body.menu-hide .body-right{left:0;transition:all 0.5s} | |||||
.colordlg{padding:0.5rem;background:#fff;border:1px solid #dee2e6;z-index:10005} | .colordlg{padding:0.5rem;background:#fff;border:1px solid #dee2e6;z-index:10005} | ||||
.wsselect{padding:0.5rem;background:#fff;overflow:auto} | .wsselect{padding:0.5rem;background:#fff;overflow:auto} | ||||
.pubdlg{background:#fff;border:1px solid #dee2e6;z-index:8888} | .pubdlg{background:#fff;border:1px solid #dee2e6;z-index:8888} | ||||
.pubdlg .title{padding:0 0.5rem;height:30px;line-height:30px;color:#545b62;background:#f5f5f5;border-bottom:1px solid #dee2e6} | |||||
.pubdlg .title{padding:0 0.5rem;height:30px;line-height:30px;color:#6c757d;background:#f5f5f5;border-bottom:1px solid #dee2e6} | |||||
.fullpagediv{position:absolute;top:0;left:0;width:100%;height:100%;background:#f5f5f5;opacity:0.6;z-index:1999} | .fullpagediv{position:absolute;top:0;left:0;width:100%;height:100%;background:#f5f5f5;opacity:0.6;z-index:1999} | ||||
.quicksel{margin-left:10px;margin-top:10px;width:680px;height:420px;overflow:auto;z-index:10005} | .quicksel{margin-left:10px;margin-top:10px;width:680px;height:420px;overflow:auto;z-index:10005} | ||||
.quickselfoot{padding:0.5rem;background:#f5f5f5;border-top:1px solid #dee2e6} | .quickselfoot{padding:0.5rem;background:#f5f5f5;border-top:1px solid #dee2e6} | ||||
@@ -94,6 +94,12 @@ body.menu-hide .body-right{left:0;transition:all 0.5s} | |||||
.quickselitem .soncat{margin-bottom:1rem;padding:0 10px} | .quickselitem .soncat{margin-bottom:1rem;padding:0 10px} | ||||
.quickselitem .item{display:inline-block;padding-left:10px} | .quickselitem .item{display:inline-block;padding-left:10px} | ||||
.mysource,.mywriter{width:300px;background:#fff;border:1px solid #dee2e6;z-index:10001} | .mysource,.mywriter{width:300px;background:#fff;border:1px solid #dee2e6;z-index:10001} | ||||
.column .admin-td{border-bottom:1px solid #dee2e6!important} | |||||
.add-tab ul li{float:left;width:60px;line-height:30px;cursor:pointer} | |||||
.add-tab ul .active{color:#007bff} | |||||
.nw{float:left;width:160px} | |||||
.cls{clear:both} | |||||
.helpinfo{float:left;display:none;padding:10px;width:100%;background:#f5f5f5;border:1px solid #dee2e6;border-radius:0.5rem} | |||||
#toolimg{position:absolute;display:none} | #toolimg{position:absolute;display:none} | ||||
#uploadfield{float:left} | #uploadfield{float:left} | ||||
#uploadwait{z-index:19999} | #uploadwait{z-index:19999} | ||||
@@ -105,7 +111,7 @@ body.menu-hide .body-right{left:0;transition:all 0.5s} | |||||
.tips-box{margin:70px auto 0;width:500px;height:auto;background:#fff;border-radius:0.5rem;box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075)} | .tips-box{margin:70px auto 0;width:500px;height:auto;background:#fff;border-radius:0.5rem;box-shadow:0 0.125rem 0.25rem rgba(0,0,0,.075)} | ||||
.tips-head{margin:0 20px;padding:18px 0;border-bottom:1px solid #f5f5f5} | .tips-head{margin:0 20px;padding:18px 0;border-bottom:1px solid #f5f5f5} | ||||
.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #ff8400} | .tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #ff8400} | ||||
.tips-body{padding:20px;min-height:160px;color:#545b62;word-break:break-all;word-wrap:break-word} | |||||
.tips-body{padding:20px;min-height:160px;color:#6c757d;word-break:break-all;word-wrap:break-word} | |||||
.user-img-sm{width:30px;height:30px;border-radius:50%;border:1px solid #eee} | .user-img-sm{width:30px;height:30px;border-radius:50%;border:1px solid #eee} | ||||
.thumbnail-md{max-width:200px;max-height:120px} | .thumbnail-md{max-width:200px;max-height:120px} | ||||
.thumbnail-sm{max-width:80px;max-height:80px} | .thumbnail-sm{max-width:80px;max-height:80px} | ||||
@@ -118,13 +124,12 @@ body.menu-hide .body-right{left:0;transition:all 0.5s} | |||||
.fileinput-button{display:inline-block;position:relative;overflow:hidden} | .fileinput-button{display:inline-block;position:relative;overflow:hidden} | ||||
.fileinput-button input{position:absolute;top:0;right:0;margin:0;opacity:0;direction:ltr;cursor:pointer} | .fileinput-button input{position:absolute;top:0;right:0;margin:0;opacity:0;direction:ltr;cursor:pointer} | ||||
.maintable{width:98%!important;border:1px solid #dee2e6!important} | .maintable{width:98%!important;border:1px solid #dee2e6!important} | ||||
.table{margin-bottom:0;color:#545b62} | |||||
.table{margin-bottom:0;color:#6c757d} | |||||
.table td,.table th{padding:0.5rem;vertical-align:middle} | .table td,.table th{padding:0.5rem;vertical-align:middle} | ||||
.form-control{display:inline-block} | .form-control{display:inline-block} | ||||
.fa{font-size:14px!important;color:inherit} | .fa{font-size:14px!important;color:inherit} | ||||
.admin-win{background:#f5f5f5;border:1px solid #dee2e6!important} | .admin-win{background:#f5f5f5;border:1px solid #dee2e6!important} | ||||
.admin-win-iframe{width:100%;height:360px} | .admin-win-iframe{width:100%;height:360px} | ||||
.admin-border{border:1px solid #dee2e6!important} | |||||
.admin-main-sort{margin-left:1rem;padding:0;width:30px;text-align:center} | .admin-main-sort{margin-left:1rem;padding:0;width:30px;text-align:center} | ||||
.admin-td{padding:0.5rem;border-bottom:1px solid #dee2e6} | .admin-td{padding:0.5rem;border-bottom:1px solid #dee2e6} | ||||
.admin-textarea-xl{width:100%;height:90px} | .admin-textarea-xl{width:100%;height:90px} | ||||
@@ -141,7 +146,7 @@ table,input,select,textarea,.login-box,.menu-body,.coolbg,.mysource,.mywriter,.p | |||||
.page-item:last-child .page-link{border-top-right-radius:0.5rem!important;border-bottom-right-radius:0.5rem!important} | .page-item:last-child .page-link{border-top-right-radius:0.5rem!important;border-bottom-right-radius:0.5rem!important} | ||||
.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label,.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label::after,.input-group:not(.has-validation)>.custom-select:not(:last-child),.input-group:not(.has-validation)>.form-control:not(:last-child){border-top-right-radius:0!important;border-bottom-right-radius:0!important} | .input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label,.input-group:not(.has-validation)>.custom-file:not(:last-child) .custom-file-label::after,.input-group:not(.has-validation)>.custom-select:not(:last-child),.input-group:not(.has-validation)>.form-control:not(:last-child){border-top-right-radius:0!important;border-bottom-right-radius:0!important} | ||||
.input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0!important;border-bottom-left-radius:0!important} | .input-group>.input-group-append>.btn,.input-group>.input-group-append>.input-group-text,.input-group>.input-group-prepend:first-child>.btn:not(:first-child),.input-group>.input-group-prepend:first-child>.input-group-text:not(:first-child),.input-group>.input-group-prepend:not(:first-child)>.btn,.input-group>.input-group-prepend:not(:first-child)>.input-group-text{border-top-left-radius:0!important;border-bottom-left-radius:0!important} | ||||
.btn-sm{padding:0.375rem 0.55rem;height:30px;line-height:1.5;font-size:12px} | |||||
.btn-sm{padding:0.375rem 0.6rem;height:30px;line-height:1.5;font-size:12px} | |||||
.btn-xs{padding:0.22rem;height:20px;line-height:1;font-size:12px;border-radius:0.35rem!important} | .btn-xs{padding:0.22rem;height:20px;line-height:1;font-size:12px;border-radius:0.35rem!important} | ||||
.btn+.btn{margin-left:10px} | .btn+.btn{margin-left:10px} | ||||
.btn-version{float:left;margin-top:18px;margin-left:5px} | .btn-version{float:left;margin-top:18px;margin-left:5px} | ||||
@@ -2,8 +2,8 @@ | |||||
::-webkit-scrollbar-track{background:#f5f5f5} | ::-webkit-scrollbar-track{background:#f5f5f5} | ||||
::-webkit-scrollbar-thumb{background:#dee2e6} | ::-webkit-scrollbar-thumb{background:#dee2e6} | ||||
*{scrollbar-width:thin} | *{scrollbar-width:thin} | ||||
body{margin:0;line-height:1.6;letter-spacing:0.5px;font-size:14px;font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#fff} | |||||
a{color:#545b62;text-decoration:none} | |||||
body{margin:0;line-height:1.6;letter-spacing:0.5px;font-size:14px;font-family:Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#6c757d;background:#fff} | |||||
a{color:#6c757d;text-decoration:none} | |||||
a:hover{color:#007bff;text-decoration:none} | a:hover{color:#007bff;text-decoration:none} | ||||
img{max-width:100%;border-radius:0.5rem} | img{max-width:100%;border-radius:0.5rem} | ||||
ul,ol,li{margin:0;padding:0;list-style:none} | ul,ol,li{margin:0;padding:0;list-style:none} | ||||
@@ -78,14 +78,14 @@ input[type=file]{padding:0;height:auto;border:0} | |||||
.user-img-sm{width:36px;height:36px;border-radius:50%;border:1px solid #eee} | .user-img-sm{width:36px;height:36px;border-radius:50%;border:1px solid #eee} | ||||
.user-img-xs{width:30px;height:30px;border-radius:50%;border:1px solid #eee} | .user-img-xs{width:30px;height:30px;border-radius:50%;border:1px solid #eee} | ||||
.user-meter i{font-size:24px!important;color:#1eb867} | .user-meter i{font-size:24px!important;color:#1eb867} | ||||
.userspace .info{font-size:14px;font-weight:300;color:#545b62} | |||||
.userspace .info{font-size:14px;font-weight:300;color:#6c757d} | |||||
.nav-link{padding:0 10px;height:36px;line-height:36px} | .nav-link{padding:0 10px;height:36px;line-height:36px} | ||||
.navbar-dark .navbar-nav .nav-link{color:#eee} | .navbar-dark .navbar-nav .nav-link{color:#eee} | ||||
.list-group-item.active a{color:#fff} | .list-group-item.active a{color:#fff} | ||||
.list-group-flush>.list-group-item{cursor:pointer} | .list-group-flush>.list-group-item{cursor:pointer} | ||||
.pannel-main-container{padding:1.5rem;background:#fff} | .pannel-main-container{padding:1.5rem;background:#fff} | ||||
.input-group-append .btn-sm{line-height:1.8} | .input-group-append .btn-sm{line-height:1.8} | ||||
.table{color:#545b62} | |||||
.table{color:#6c757d} | |||||
.table td,.table th{padding:0.5rem;vertical-align:middle} | .table td,.table th{padding:0.5rem;vertical-align:middle} | ||||
.form-control{display:inline-block;height:36px} | .form-control{display:inline-block;height:36px} | ||||
.form-control,.fa{font-size:14px!important;color:inherit} | .form-control,.fa{font-size:14px!important;color:inherit} | ||||