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