This commit is contained in:
parent
29e3017e51
commit
51ccbefb04
|
|
@ -2277,6 +2277,8 @@ function pluginOpInitD(a, _version, b) {
|
|||
}
|
||||
|
||||
function pluginLogs(_name, version, func, line){
|
||||
|
||||
var _this = this;
|
||||
if ( typeof(version) == 'undefined' ){
|
||||
version = '';
|
||||
}
|
||||
|
|
@ -2317,9 +2319,10 @@ function pluginLogs(_name, version, func, line){
|
|||
if(rdata.data == '') {
|
||||
rdata.data = '当前没有日志!';
|
||||
}
|
||||
var ebody = '<div class="soft-man-con">\
|
||||
<textarea readonly="" style="margin: 0px;width: 100%;height: 520px;background-color: #333;color:#fff; padding:0 5px" id="info_log">'+rdata.data+'</textarea>\
|
||||
</div>';
|
||||
|
||||
|
||||
var h = parseInt($('.bt-w-menu').css('height')) - 40;
|
||||
var ebody = '<textarea readonly="" style="margin: 0px;height: '+h+'px;width: 100%;background-color: #333;color:#fff; padding:0 5px" id="info_log">'+rdata.data+'</textarea>';
|
||||
$(".soft-man-con").html(ebody);
|
||||
var ob = document.getElementById('info_log');
|
||||
ob.scrollTop = ob.scrollHeight;
|
||||
|
|
|
|||
|
|
@ -102,7 +102,6 @@
|
|||
</div>
|
||||
|
||||
<div class="title c6 plr15"><h3 class="f16">安全</h3></div>
|
||||
|
||||
<div class="setting-con pd15">
|
||||
|
||||
<p class="mtb15">
|
||||
|
|
@ -148,6 +147,21 @@
|
|||
<span class="set-info c7">为非管理员临时提供面板访问权限</span>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="title c6 plr15"><h3 class="f16">通知</h3></div>
|
||||
|
||||
<div class="setting-con pd15">
|
||||
|
||||
<p class="mtb15">
|
||||
<span class="set-tit text-right" title="TelegramBot" style="float: left;">TG机器人通知</span>
|
||||
<input id="cfg_ssl" name="bind_ssl" class="btswitch btswitch-ios" type="checkbox" {{data['ssl']}}>
|
||||
<label class="btswitch-btn ml5" for="cfg_ssl" style="float: left;margin-top:4px;"></label>
|
||||
<button ype="button" class="btn btn-default btn-xs panel_api_btn" style="vertical-align: middle; margin-left: 10px" onclick="getPanelSSL();">TelegramBot配置</button>
|
||||
<span class="set-info c7">Telegram Bot机器人通知</span>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue