mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
update
This commit is contained in:
@@ -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>
|
||||
Executable
+20
@@ -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()
|
||||
Reference in New Issue
Block a user