update
This commit is contained in:
parent
1e4989857e
commit
fe68bf7226
|
|
@ -130,7 +130,8 @@ def requestAfter(response):
|
|||
|
||||
@app.errorhandler(404)
|
||||
def page_unauthorized(error):
|
||||
return render_template_string('404 not found', error_info=error), 404
|
||||
return redirect('/', code=302)
|
||||
# return render_template_string('404 not found', error_info=error), 404
|
||||
|
||||
|
||||
# 设置模板全局变量
|
||||
|
|
|
|||
|
|
@ -1140,7 +1140,7 @@ function getPanelList(){
|
|||
var con ='';
|
||||
$.post("/setting/get_panel_list",function(rdata){
|
||||
for(var i=0; i<rdata.length; i++){
|
||||
con +='<h3 class="mypcip mypcipnew" style="opacity:.6" data-url="'+rdata[i].url+'" data-user="'+rdata[i].username+'" data-pw="'+rdata[i].password+'">\
|
||||
con +='<h3 class="mypcip mypcipnew" style="opacity:.6;cursor: pointer;" data-url="'+rdata[i].url+'" data-user="'+rdata[i].username+'" data-pw="'+rdata[i].password+'">\
|
||||
<span class="f14 cw">'+rdata[i].title+'</span>\
|
||||
<em class="btedit" onclick="bindPanel(0,\'c\',\''+rdata[i].title+'\',\''+rdata[i].id+'\',\''+rdata[i].url+'\',\''+rdata[i].username+'\',\''+rdata[i].password+'\')"></em>\
|
||||
</h3>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue