Browse Source

add info swarmlab-hybrid

master
zeus 4 years ago
parent
commit
47044b88f9
  1. 2
      dist/index.html
  2. 2
      dist/js/app.2e95200a.js
  3. 1
      dist/js/app.2e95200a.js.map
  4. 2
      dist/js/app.625b987f.js
  5. 1
      dist/js/app.625b987f.js.map
  6. 14
      src/components/mynetwork/myconnect-server.vue

2
dist/index.html

@ -1 +1 @@
<!DOCTYPE html><html lang=""><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.f8f5dc61.css" rel="preload" as="style"><link href="/css/chunk-vendors.e469b508.css" rel="preload" as="style"><link href="/js/app.625b987f.js" rel="preload" as="script"><link href="/js/chunk-vendors.d8d18fe6.js" rel="preload" as="script"><link href="/css/chunk-vendors.e469b508.css" rel="stylesheet"><link href="/css/app.f8f5dc61.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.d8d18fe6.js"></script><script src="/js/app.625b987f.js"></script></body></html> <!DOCTYPE html><html lang=""><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.f8f5dc61.css" rel="preload" as="style"><link href="/css/chunk-vendors.e469b508.css" rel="preload" as="style"><link href="/js/app.2e95200a.js" rel="preload" as="script"><link href="/js/chunk-vendors.d8d18fe6.js" rel="preload" as="script"><link href="/css/chunk-vendors.e469b508.css" rel="stylesheet"><link href="/css/app.f8f5dc61.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.d8d18fe6.js"></script><script src="/js/app.2e95200a.js"></script></body></html>

2
dist/js/app.2e95200a.js

File diff suppressed because one or more lines are too long

1
dist/js/app.2e95200a.js.map

File diff suppressed because one or more lines are too long

2
dist/js/app.625b987f.js

File diff suppressed because one or more lines are too long

1
dist/js/app.625b987f.js.map

File diff suppressed because one or more lines are too long

14
src/components/mynetwork/myconnect-server.vue

@ -291,16 +291,17 @@ export default {
var winfopath = log.data.data var winfopath = log.data.data
if(log.data.error_msg = 'ok'){ if(log.data.error_msg = 'ok'){
var winfo='sudo /bin/bash ' var winfo='<span class="text-success">sudo /bin/bash '
winfo += winfopath.trim() winfo += winfopath.trim()
winfo += '/hybrid/connect/join.sh' winfo += '/hybrid/connect/join.sh </span>'
}else{ }else{
var winfo='no exec file' var winfo='no exec file'
} }
var info='<h5>Swarmlab Connect</h5><br>' var info='<h4>Swarmlab Connect</h4> <h5><i>Copy-and-run-command </i></h5> <br>'
this.$swal({ this.$swal({
type: 'info', type: 'info',
html: info+winfo, html: info+winfo,
icon:'info',
showCloseButton: true, showCloseButton: true,
showLoaderOnConfirm: false, showLoaderOnConfirm: false,
allowOutsideClick: false, allowOutsideClick: false,
@ -324,15 +325,16 @@ export default {
var winfopath = log.data.data var winfopath = log.data.data
if(log.data.error_msg = 'ok'){ if(log.data.error_msg = 'ok'){
var winfo='sudo /bin/bash ' var winfo='<span class="text-success">sudo /bin/bash '
winfo += winfopath.trim() winfo += winfopath.trim()
winfo += '/hybrid/connect/leave.sh' winfo += '/hybrid/connect/leave.sh </span>'
}else{ }else{
var winfo='no exec file' var winfo='no exec file'
} }
var info='<h5>Swarmlab Disconnect</h5><br>' var info='<h4>Swarmlab Disconnect</h4> <h5><i>Copy-and-run-command </i></h5> <br>'
this.$swal({ this.$swal({
type: 'info', type: 'info',
icon:'info',
html: info+winfo, html: info+winfo,
showCloseButton: true, showCloseButton: true,
showLoaderOnConfirm: false, showLoaderOnConfirm: false,

Loading…
Cancel
Save