Skip to content

Commit

Permalink
更换前端页面,更美观(采用xadmin)
Browse files Browse the repository at this point in the history
  • Loading branch information
cksgf committed Nov 13, 2019
1 parent d92e70d commit 4b1408e
Show file tree
Hide file tree
Showing 278 changed files with 8,344 additions and 722 deletions.
2 changes: 1 addition & 1 deletion index.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ def index():
t=Thread(target=main_slaver, args=(connectIP,'127.0.0.1:'+str(port),pwd))
t.setDaemon(True)
t.start()
app.run(host='0.0.0.0',port=port,debug = False)
app.run(host='0.0.0.0',port=port,debug = True)
Binary file modified readme/SSH.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 readme/SSH链接.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 readme/本地桌面.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 readme/资源监控.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 readme/进程监控-总览.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions route/controlPanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
import platform,datetime,psutil,re,requests
import socket
from .login import cklogin
url.append({
"title": "控制面板",
"href": "#"
})
NAThost = '未获取'
netIP = '未获取'
PCname = socket.gethostname()
Expand Down
4 changes: 2 additions & 2 deletions route/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
from .login import cklogin
url.append( {"title": "文件管理",
"children": [
{"title": "文件管理器","href": "/file"},
{"title": "文件分享","href": "/getFileShare"}
{"title": "文件管理器","href": "/file"},
{"title": "文件分享","href": "/getFileShare"}
]
})
sep=os.path.sep #当前系统分隔符
Expand Down
4 changes: 2 additions & 2 deletions route/linkButton.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
url.append( {
"title": "快捷操作",
"children": [
{"title": "快捷按钮","href": "/linkButton"},
{"title": "快捷文件","href": "/linkFile"},
{"title": "快捷按钮","href": "/linkButton"},
{"title": "快捷文件","href": "/linkFile"},
]
})
@app.route('/linkButton',methods=['GET','POST'])
Expand Down
4 changes: 2 additions & 2 deletions route/webssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from .login import cklogin
url.append( {"title": "SHELL",
"children": [
{"title": "web shell","href": "/ssh"},
{"title": "批量主机","href": "/BatchExec"}
{"title": "web shell","href": "/ssh"},
{"title": "批量主机","href": "/BatchExec"}
]
})
sshListDict={}
Expand Down
10 changes: 5 additions & 5 deletions static/css/font.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@font-face {
font-family: 'iconfont';
src: url('../fonts/iconfont.eot');
src: url('../fonts/iconfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/iconfont.woff') format('woff'),
url('../fonts/iconfont.ttf') format('truetype'),
url('../fonts/iconfont.svg#iconfont') format('svg');
src: url('../font/iconfont.eot');
src: url('../font/iconfont.eot?#iefix') format('embedded-opentype'),
url('../font/iconfont.woff') format('woff'),
url('../font/iconfont.ttf') format('truetype'),
url('../font/iconfont.svg#iconfont') format('svg');
}
.iconfont{
font-family:"iconfont" !important;
Expand Down
Binary file added static/font/iconfont.eot
Binary file not shown.
477 changes: 477 additions & 0 deletions static/font/iconfont.svg
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 static/font/iconfont.ttf
Binary file not shown.
Binary file added static/font/iconfont.woff
Binary file not shown.
4 changes: 2 additions & 2 deletions static/js/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
layui.config({
base: '/static/js/'
}).use(['element', 'layer', 'navbar', 'tab'], function() {
var element = layui.element(),
$ = layui.jquery,
var element = layui.element()
var $ = layui.jquery,
layer = layui.layer,
navbar = layui.navbar(),
tab = layui.tab({
Expand Down
Loading

0 comments on commit 4b1408e

Please sign in to comment.