Skip to content

Commit

Permalink
7.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
showpy committed Feb 24, 2020
1 parent 87460d1 commit 0620a9f
Show file tree
Hide file tree
Showing 58 changed files with 2,113 additions and 509 deletions.
14 changes: 14 additions & 0 deletions BT-Task
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/python
#coding: utf-8
# +-------------------------------------------------------------------
# | 宝塔Linux面板
# +-------------------------------------------------------------------
# | Copyright (c) 2015-2099 宝塔软件(http://bt.cn) All rights reserved.
# +-------------------------------------------------------------------
# | Author: 黄文良 <[email protected]>
# +-------------------------------------------------------------------

import os,sys
os.chdir('/www/server/panel')
import task
task.main()
14 changes: 8 additions & 6 deletions BTPanel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@
import public
from flask import Flask,current_app,session,render_template,send_file,request,redirect,g,url_for,make_response,render_template_string,abort
from flask_session import Session
from werkzeug.contrib.cache import SimpleCache

try:
from werkzeug.contrib.cache import SimpleCache
except:
from cachelib import SimpleCache

from werkzeug.wrappers import Response
from flask_sockets import Sockets
sys.setrecursionlimit(1000000)
Expand Down Expand Up @@ -142,9 +147,6 @@
]
if admin_path in admin_path_checks: admin_path = '/bt'




@app.route('/service_status',methods = method_get)
def service_status():
return 'True'
Expand Down Expand Up @@ -753,8 +755,8 @@ def plugin(pdata = None):
pluginObject = panelPlugin.panelPlugin()
defs = ('set_score','get_score','update_zip','input_zip','export_zip','add_index','remove_index','sort_index',
'install_plugin','uninstall_plugin','get_soft_find','get_index_list','get_soft_list','get_cloud_list',
'check_deps','flush_cache','GetCloudWarning','install','unInstall','getPluginList','getPluginInfo',
'getPluginStatus','setPluginStatus','a','getCloudPlugin','getConfigHtml','savePluginSort')
'check_deps','flush_cache','GetCloudWarning','install','unInstall','getPluginList','getPluginInfo','get_make_args','add_make_args',
'getPluginStatus','setPluginStatus','a','getCloudPlugin','getConfigHtml','savePluginSort','del_make_args','set_make_args')
return publicObject(pluginObject,defs,None,pdata)


Expand Down
226 changes: 211 additions & 15 deletions BTPanel/static/css/site.css

Large diffs are not rendered by default.

Binary file modified BTPanel/static/img/dep_ico/URLshorting.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 modified BTPanel/static/img/dep_ico/bgkcrm.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 modified BTPanel/static/img/dep_ico/metinfo.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/qilenews.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 modified BTPanel/static/img/dep_ico/qrpay.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 modified BTPanel/static/img/dep_ico/shopxo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0620a9f

Please sign in to comment.