Skip to content

Commit

Permalink
7.5.32-2
Browse files Browse the repository at this point in the history
  • Loading branch information
showpy committed Jan 6, 2021
1 parent 37d6a20 commit 057a8cb
Show file tree
Hide file tree
Showing 43 changed files with 95 additions and 5,022 deletions.
8 changes: 8 additions & 0 deletions BTPanel/static/css/bootstrap-table.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion BTPanel/static/css/files_style.min.css

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions BTPanel/static/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -9408,6 +9408,17 @@ select[name="network-io"]{
max-height: 200px;
overflow: auto;
}
.site_class_type.bt_select_updown:hover .bt_select_value span{
color: #fff;
}
.site_class_type.bt_select_updown:hover .bt_select_value{
background-color: #20a53a;
}
.bt_select_updown .bt_select_list .divider{
border-top:1px solid #ececec;
width: 100%;
margin: 5px 0;
}
.bt_select_list.show+.bt_select_value .glyphicon{
transform: rotate(180deg);
transition: all 500ms;
Expand Down
Binary file added BTPanel/static/img/bt_app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/dep_ico/#U5e1d#U56fdCMS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/dep_ico/#U5fae#U64ce.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/dep_ico/#U7c73#U62d3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/dep_ico/blfk_v3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/dep_ico/bolefaka_v3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/dep_ico/bthost.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/dep_ico/dbshopv3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/dep_ico/mdclub.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/dep_ico/qvmhcn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/dep_ico/timemailx.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/dep_ico/wdja_course.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/dep_ico/├╫═╪.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/dep_ico/╡█╣·CMS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/dep_ico/╬в╟ц.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/soft_ico.tar.gz
Binary file not shown.
Binary file not shown.
Binary file added BTPanel/static/img/soft_ico/ico-baktomail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/soft_ico/ico-btappmanager.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/soft_ico/ico-btrenwubeifen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/soft_ico/ico-cloud189.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/soft_ico/ico-encryption365.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/soft_ico/ico-ftplimit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/soft_ico/ico-load_balance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/soft_ico/ico-msonedrive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/soft_ico/ico-mysqlfind.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added BTPanel/static/img/soft_ico/ico-node_admin.png
Binary file added BTPanel/static/img/soft_ico/ico-su_baidu.png
54 changes: 19 additions & 35 deletions BTPanel/static/js/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ $('#show_recommend').click(function(){

$('#show_workorder').click(function(){
var status = !$(this).prop("checked"),that = $(this);
layer.confirm(status?'关闭企业版工单,将无法实时向宝塔技术人员反馈问题?':'开启企业版工单,实时向宝塔技术人员反馈问题?',{title:status?'关闭企业版工单':'开启企业版工单',closeBtn:2,icon:13,cancel:function(){
layer.confirm(status?'关闭在线客服,将无法实时向宝塔技术人员反馈问题?':'开启BUG反馈,实时向宝塔技术人员反馈问题?',{title:status?'关闭在线客服':'开启在线客服',closeBtn:2,icon:13,cancel:function(){
that.prop("checked",status);
}}, function() {
$.post('/config?action=show_workorder',function(rdata){
Expand All @@ -124,7 +124,7 @@ $('#panel_verification').click(function(){
layer.open({
type: 1,
area: ['500px','530px'],
title: 'Google身份认证绑定',
title: '动态口令设置',
closeBtn: 2,
shift: 5,
shadeClose: false,
Expand All @@ -134,26 +134,21 @@ $('#panel_verification').click(function(){
<h3>危险!此功能不懂别开启!</h3>\
<ul style="width:91%;margin-bottom:10px;margin-top:10px;">\
<li style="color:red;">必须要用到且了解此功能才决定自己是否要开启!</li>\
<li style="color:red;">如果无法验证,命令行输入"bt 24" 取消谷歌登录认证</li>\
<li>请先下载APP,并完成安装和初始化</li>\
<li style="color:red;">如果无法验证,命令行输入"bt 24" 取消动态口令认证</li>\
<li>开启服务后,请立即绑定,以免出现面板不能访问。</li>\
<li>开启后导致面板不能访问,可以点击下面链接了解解决方法。</li>\
<li>请先下载宝塔APP或(谷歌认证器),并完成安装和初始化</li>\
<li>基于google Authenticator 开发,如遇到问题请点击<a target="_blank" class="btlink" href="https://www.bt.cn/bbs/forum.php?mod=viewthread&tid=37437">了解详情</a></li>\
</ul>\
</div>\
<div class="download_Qcode">\
<div class="item_down">\
<div class="qcode_title">Android 应用下载</div>\
<div class="qcode_conter"><img src="/static/img/icon_qcode_android.png" /></div>\
</div>\
<div class="item_down">\
<div class="qcode_title">IOS 应用下载</div>\
<div class="qcode_conter"><img src="/static/img/icon_qcode_ios.png" /></div>\
<div class="qcode_title">Android/IOS应用 扫码下载</div>\
<div class="qcode_conter"><img src="/static/img/bt_app.png" /></div>\
</div>\
</div>\
<div class="details" style="width: 90%;margin-bottom:10px;">\
<input type="checkbox" id="check_verification">\
<label style="font-weight: 400;margin: 3px 5px 0px;" for="check_verification">我已安装APP和了解详情,并愿意承担风险</label>\
<a target="_blank" class="btlink" href="https://www.bt.cn/bbs/forum.php?mod=viewthread&tid=37437">了解详情</a>\
<label style="font-weight: 400;margin: 3px 5px 0px;" for="check_verification">我已安装APP和了解详情,并愿意承担风险!</label>\
</div>\
<div class="bt-form-submit-btn">\
<button type="button" class="btn btn-sm btn-danger close_verify">关闭</button>\
Expand All @@ -167,7 +162,7 @@ $('#panel_verification').click(function(){
layer.msg('请先勾选同意风险',{icon:0});
return false;
}
var loadT = layer.msg('正在开启Google身份认证,请稍后...', { icon: 16, time: 0, shade: [0.3, '#000'] });
var loadT = layer.msg('正在开启动态口令认证,请稍后...', { icon: 16, time: 0, shade: [0.3, '#000'] });
set_two_step_auth({act:_checked},function(rdata){
layer.close(loadT);
if (rdata.status) layer.closeAll();
Expand All @@ -188,12 +183,12 @@ $('#panel_verification').click(function(){
});
}else{
bt.confirm({
title: 'Google身份认证',
msg: '是否关闭Google身份认证,是否继续?',
title: '动态口令认证',
msg: '是否关闭动态口令认证,是否继续?',
cancel: function () {
$('#panel_verification').prop('checked',!_checked);
}}, function () {
var loadT = layer.msg('正在关闭Google身份认证,请稍后...', { icon: 16, time: 0, shade: [0.3, '#000'] });
var loadT = layer.msg('正在关闭动态口令认证,请稍后...', { icon: 16, time: 0, shade: [0.3, '#000'] });
set_two_step_auth({act:_checked},function(rdata){
layer.close(loadT);
if (rdata.status) layer.closeAll();
Expand All @@ -214,37 +209,26 @@ $('#panel_verification').click(function(){
$('.open_two_verify_view').click(function(){
var _checked = $('#panel_verification').prop('checked');
if(!_checked){
layer.msg('请先开启Google身份认证服务',{icon:0});
layer.msg('请先开启动态口令认证',{icon:0});
return false;
}
layer.open({
type: 1,
area: ['600px','670px'],
title: 'Google身份认证绑定',
area: '560px',
title: '动态口令认证绑定',
closeBtn: 2,
shift: 5,
shadeClose: false,
content: '<div class="bt-form pd20" style="padding:20px 35px;">\
<div class="verify_title">基于Google Authenticator用户进行登录认证</div>\
<div class="verify_item">\
<div class="verify_vice_title">1. 密钥绑定</div>\
<div class="verify_conter">\
<div class="verify_box">\
<div class="verify_box_line">账号:<span class="username"></sapn></div>\
<div class="verify_box_line">密钥:<span class="userkey"></sapn></div>\
<div class="verify_box_line">类型:<span class="usertype">基于时间</sapn></div>\
</div>\
</div>\
</div>\
content: '<div class="bt-form" style="padding:40px 25px; 20px 25px">\
<div class="verify_item">\
<div class="verify_vice_title">2. 扫码绑定 ( 使用Google 身份验证器APP扫码 )</div>\
<div class="verify_vice_title" style="font-weight: 500;font-size:16px;">扫码绑定(使用宝塔面板APP或Google身份验证器APP扫码)</div>\
<div class="verify_conter" style="text-align:center;padding-top:10px;">\
<div id="verify_qrcode"></div>\
</div>\
</div>\
<div class="verify_tips">\
<p>提示:请使用“ Google 身份验证器APP ”绑定,各大软件商店均可下载该APP,支持安卓、IOS系统。<a href="https://www.bt.cn/bbs/forum.php?mod=viewthread&tid=37437" class="btlink" target="_blank">使用教程</a></p>\
<p style="color:red;">开启服务后,请立即使用“Google 身份验证器APP”绑定,以免出现无法登录的情况。</p>\
<p>提示:请使用“ 宝塔面板APP或Google身份验证器APP ”绑定,各大软件商店均可下载该APP,支持安卓、IOS系统。<a href="https://www.bt.cn/bbs/forum.php?mod=viewthread&tid=37437" class="btlink" target="_blank">使用教程</a></p>\
<p style="color:red;">开启服务后,请立即使用“宝塔面板APP或Google身份验证器APP”绑定,以免出现无法登录的情况。</p>\
</div>\
</div>',
success:function(e){
Expand Down
Loading

0 comments on commit 057a8cb

Please sign in to comment.