This commit is contained in:
Mr Chen
2019-02-19 14:28:16 +08:00
parent c45044d744
commit 1969c4bed1
5 changed files with 44 additions and 88 deletions
+6 -7
View File
@@ -1,10 +1,9 @@
<script type="text/javascript">
resetPluginWinWidth(480);
$.getScript( "/plugins/file?name=webssh&f=js/webssh.js", function() {
if ($(".term-box #term").text() != 'W') {
layer.closeAll();
web_shell2();
}
});
// $.getScript( "/plugins/file?name=webssh&f=js/webssh.js", function() {
//});
if ($(".term-box #term").text() != 'W') {
layer.closeAll();
webShell();
}
</script>
+20
View File
@@ -0,0 +1,20 @@
# coding: utf-8
import time
import random
import os
import json
import re
import sys
sys.path.append(os.getcwd() + "/class/core")
import public
def status():
return 'start'
if __name__ == "__main__":
func = sys.argv[1]
if func == 'status':
print status()