Browse Source

update dist

master
zeus 1 week ago
parent
commit
09157fbe24
20 changed files with 79 additions and 815 deletions
  1. +0
    -8
      client/css/app.f160db62.css
  2. +0
    -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. +0
    -362
      client/img/themify.9c8e96ec.svg
  13. BIN
      client/img/venus1.826d0774.png
  14. BIN
      client/img/warning.f9cebb9b.png
  15. +0
    -1
      client/index.html
  16. +0
    -2
      client/js/app.dcf77132.js
  17. +0
    -1
      client/js/app.dcf77132.js.map
  18. +0
    -394
      client/js/chunk-vendors.f00828c9.js
  19. +0
    -1
      client/js/chunk-vendors.f00828c9.js.map
  20. +79
    -37
      llo/connect-new.js

+ 0
- 8
client/css/app.f160db62.css
File diff suppressed because it is too large
View File


+ 0
- 9
client/css/chunk-vendors.b9dd8f74.css
File diff suppressed because it is too large
View File


BIN
client/favicon.ico View File

Before After

BIN
client/fonts/themify.2c454669.eot View File


BIN
client/fonts/themify.a1ecc3b8.woff View File


BIN
client/fonts/themify.e23a7dca.ttf View File


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

Before After
Width: 512  |  Height: 512  |  Size: 4.7KB

BIN
client/img/docker.7b56657d.png View File

Before After
Width: 200  |  Height: 200  |  Size: 16KB

BIN
client/img/hybrid-1.852eef88.png View File

Before After
Width: 151  |  Height: 165  |  Size: 12KB

BIN
client/img/loading.f4404720.gif View File

Before After
Width: 441  |  Height: 291  |  Size: 17KB

BIN
client/img/share2-512.118b3253.png View File

Before After
Width: 512  |  Height: 512  |  Size: 8.5KB

+ 0
- 362
client/img/themify.9c8e96ec.svg
File diff suppressed because it is too large
View File


BIN
client/img/venus1.826d0774.png View File

Before After
Width: 511  |  Height: 634  |  Size: 80KB

BIN
client/img/warning.f9cebb9b.png View File

Before After
Width: 407  |  Height: 43  |  Size: 4.8KB

+ 0
- 1
client/index.html View File

@@ -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>

+ 0
- 2
client/js/app.dcf77132.js
File diff suppressed because it is too large
View File


+ 0
- 1
client/js/app.dcf77132.js.map
File diff suppressed because it is too large
View File


+ 0
- 394
client/js/chunk-vendors.f00828c9.js
File diff suppressed because it is too large
View File


+ 0
- 1
client/js/chunk-vendors.f00828c9.js.map
File diff suppressed because it is too large
View File


+ 79
- 37
llo/connect-new.js View File

@@ -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