mirror of https://github.com/midoks/mdserver-web
parent
c45044d744
commit
1969c4bed1
@ -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') { |
||||
// $.getScript( "/plugins/file?name=webssh&f=js/webssh.js", function() { |
||||
//}); |
||||
if ($(".term-box #term").text() != 'W') { |
||||
layer.closeAll(); |
||||
web_shell2(); |
||||
} |
||||
}); |
||||
webShell(); |
||||
} |
||||
</script> |
@ -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() |
Loading…
Reference in new issue