Browse Source

update dist

master
zeus 4 years ago
parent
commit
09157fbe24
  1. 8
      client/css/app.f160db62.css
  2. 9
      client/css/chunk-vendors.b9dd8f74.css
  3. BIN
      client/favicon.ico
  4. BIN
      client/fonts/themify.2c454669.eot
  5. BIN
      client/fonts/themify.a1ecc3b8.woff
  6. BIN
      client/fonts/themify.e23a7dca.ttf
  7. BIN
      client/img/cloudvolume--512.9a2838d2.png
  8. BIN
      client/img/docker.7b56657d.png
  9. BIN
      client/img/hybrid-1.852eef88.png
  10. BIN
      client/img/loading.f4404720.gif
  11. BIN
      client/img/share2-512.118b3253.png
  12. 362
      client/img/themify.9c8e96ec.svg
  13. BIN
      client/img/venus1.826d0774.png
  14. BIN
      client/img/warning.f9cebb9b.png
  15. 1
      client/index.html
  16. 2
      client/js/app.dcf77132.js
  17. 1
      client/js/app.dcf77132.js.map
  18. 394
      client/js/chunk-vendors.f00828c9.js
  19. 1
      client/js/chunk-vendors.f00828c9.js.map
  20. 116
      llo/connect-new.js

8
client/css/app.f160db62.css

File diff suppressed because one or more lines are too long

9
client/css/chunk-vendors.b9dd8f74.css

File diff suppressed because one or more lines are too long

BIN
client/favicon.ico

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

BIN
client/fonts/themify.2c454669.eot

Binary file not shown.

BIN
client/fonts/themify.a1ecc3b8.woff

Binary file not shown.

BIN
client/fonts/themify.e23a7dca.ttf

Binary file not shown.

BIN
client/img/cloudvolume--512.9a2838d2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

BIN
client/img/docker.7b56657d.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

BIN
client/img/hybrid-1.852eef88.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

BIN
client/img/loading.f4404720.gif

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

BIN
client/img/share2-512.118b3253.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

362
client/img/themify.9c8e96ec.svg

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 229 KiB

BIN
client/img/venus1.826d0774.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

BIN
client/img/warning.f9cebb9b.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

1
client/index.html

@ -1 +0,0 @@
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><title>Vue App</title><link href=/css/app.f160db62.css rel=preload as=style><link href=/css/chunk-vendors.b9dd8f74.css rel=preload as=style><link href=/js/app.dcf77132.js rel=preload as=script><link href=/js/chunk-vendors.f00828c9.js rel=preload as=script><link href=/css/chunk-vendors.b9dd8f74.css rel=stylesheet><link href=/css/app.f160db62.css rel=stylesheet></head><body><div id=app></div><script src=/js/chunk-vendors.f00828c9.js></script><script src=/js/app.dcf77132.js></script></body></html>

2
client/js/app.dcf77132.js

File diff suppressed because one or more lines are too long

1
client/js/app.dcf77132.js.map

File diff suppressed because one or more lines are too long

394
client/js/chunk-vendors.f00828c9.js

File diff suppressed because one or more lines are too long

1
client/js/chunk-vendors.f00828c9.js.map

File diff suppressed because one or more lines are too long

116
llo/connect-new.js

@ -1988,9 +1988,16 @@ io.on('connection', function(socket) {
n.status = 'error'
n.exec = 'sharedefault'
n.data = data.toString()
n.command = `docker exec ${service.Name} /bin/sh -c "ip address show" <br> <br>
docker exec ${service.Name} /bin/sh -c "/sbin/ifconfig " <br>
`
n.command = `docker exec ${service.Name} /bin/sh -c "ifconfig" <br> <br>`
var grepjupyter1 = new RegExp('microservice-jupyter26');
var grepjupyter301 = new RegExp('microservice-jupyter30');
if(grepjupyter1.test(service.Name)){
n.command += `docker exec ${service.Name} /bin/sh -c "jupyter notebook list"`
}else if(grepjupyter301.test(service.Name)){
n.command += `docker exec ${service.Name} /bin/sh -c "jupyter server list"`
}
console.log(n.data)
io.emit('container_info_reserror', n);
});
@ -2340,8 +2347,18 @@ services:
`
shareinfo.share_dir = `${mypath}/hybrid/connect/${stackid[1]}/volumes_client/${stackid[1]}_${service.volumename}`
try {
var showexecyml = `${mypath}/hybrid/connect/${stackid[1]}/volumes_client/${stackid[1]}_${service.volumename}.yml`
fs.writeFileSync(showexecyml, stackid_yaml, { mode: 0o755 });
var showexecicreatedir = `./hybrid/connect/${stackid[1]}/volumes_client`
if (!fs.existsSync(showexecicreatedir)){
fs.mkdirSync(showexecicreatedir, { recursive: true });
var showexecyml = `./hybrid/connect/${stackid[1]}/volumes_client/${stackid[1]}_${service.volumename}.yml`
//fs.writeFileSync(showexecyml, stackid_yaml, { mode: 0o755 });
//console.log('create yaml ' + showexecyml)
fs.writeFileSync(showexecyml, stackid_yaml);
}else{
var showexecyml = `./hybrid/connect/${stackid[1]}/volumes_client/${stackid[1]}_${service.volumename}.yml`
//console.log('create yaml1 ' + showexecyml)
fs.writeFileSync(showexecyml, stackid_yaml);
}
} catch(err) {
console.error(err);
}
@ -2567,38 +2584,63 @@ services:
console.log(JSON.stringify(value));
try {
service.container = value
var showexec1 = `docker inspect --format '{{json .Mounts}}' ${service.container}`
log1 = spawn(showexec1, {
shell: true,
cwd: service.Dir,
detached: false,
stdio: 'pipe'
});
log1.stdout.on('data', function (data) {
var n = {}
n.status = 'data'
n.exec = 'infomountvolume'
n.data = data.toString()
n.data = JSON.parse(n.data)
console.log(JSON.stringify(n.data));
io.emit('info_nfsvolume_res_resclose', n);
});
log1.stderr.on('data', function (data) {
var n = {}
n.status = 'error'
n.exec = 'infomountvolume'
n.data = data.toString()
console.log(JSON.stringify(n.data));
io.emit('info_nfsvolume_res_reserror', n);
});
log1.on('close', function (code) {
var n = {}
n.status = 'error'
n.exec = 'infomountvolume'
n.data = code.toString()
console.log(JSON.stringify(n.data));
io.emit('info_nfsvolume_res_resclose', n);
});
var showmount = `docker exec ${service.container} /bin/sh -c "/usr/local/bin/check_mount"`
exec(showmount, (err, stdout, stderr) => {
if (err) {
console.error(`exec error: ${err}`);
return;
}
if (stdout) {
var string = stdout.toString()
string = string.replace(/(\r\n|\n|\r|\t)/g,"");
if(string == 'yes'){
var found = 'yes';
// mount yes find directory
var showexec1 = `docker inspect --format '{{json .Mounts}}' ${service.container}`
log1 = spawn(showexec1, {
shell: true,
cwd: service.Dir,
detached: false,
stdio: 'pipe'
});
log1.stdout.on('data', function (data) {
var n = {}
n.status = 'data'
n.mount = found
n.exec = 'infomountvolume'
n.data = data.toString()
n.data = JSON.parse(n.data)
console.log(JSON.stringify(n.data));
io.emit('info_nfsvolume_res_resclose', n);
});
log1.stderr.on('data', function (data) {
var n = {}
n.status = 'error'
n.exec = 'infomountvolume'
n.data = data.toString()
console.log(JSON.stringify(n.data));
io.emit('info_nfsvolume_res_reserror', n);
});
log1.on('close', function (code) {
var n = {}
n.status = 'error'
n.exec = 'infomountvolume'
n.data = code.toString()
console.log(JSON.stringify(n.data));
io.emit('info_nfsvolume_res_resclose', n);
});
}else{
var found = 'no';
var n = {}
n.status = 'error'
n.exec = 'infomountvolume'
n.mount = found
io.emit('info_nfsvolume_res_resclose', n);
}
}
});
} catch (err) {
console.log(err.stack || String(err));
}

Loading…
Cancel
Save