Browse Source

add li

master
zeus 3 years ago
parent
commit
f42212fcf8
  1. 2
      dist/index.html
  2. 2
      dist/js/app.4034c465.js
  3. 1
      dist/js/app.4034c465.js.map
  4. 2
      dist/js/app.65a36eb0.js
  5. 1
      dist/js/app.65a36eb0.js.map
  6. 9
      src/components/mynetwork/dockerservices.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.834ff37e.css" rel="preload" as="style"><link href="/css/chunk-vendors.e469b508.css" rel="preload" as="style"><link href="/js/app.65a36eb0.js" rel="preload" as="script"><link href="/js/chunk-vendors.dd2c43c6.js" rel="preload" as="script"><link href="/css/chunk-vendors.e469b508.css" rel="stylesheet"><link href="/css/app.834ff37e.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.dd2c43c6.js"></script><script src="/js/app.65a36eb0.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.834ff37e.css" rel="preload" as="style"><link href="/css/chunk-vendors.e469b508.css" rel="preload" as="style"><link href="/js/app.4034c465.js" rel="preload" as="script"><link href="/js/chunk-vendors.dd2c43c6.js" rel="preload" as="script"><link href="/css/chunk-vendors.e469b508.css" rel="stylesheet"><link href="/css/app.834ff37e.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.dd2c43c6.js"></script><script src="/js/app.4034c465.js"></script></body></html>

2
dist/js/app.4034c465.js

File diff suppressed because one or more lines are too long

1
dist/js/app.4034c465.js.map

File diff suppressed because one or more lines are too long

2
dist/js/app.65a36eb0.js

File diff suppressed because one or more lines are too long

1
dist/js/app.65a36eb0.js.map

File diff suppressed because one or more lines are too long

9
src/components/mynetwork/dockerservices.vue

@ -180,10 +180,14 @@ export default {
const field_microservice = /^microservice-/g; const field_microservice = /^microservice-/g;
const field_hybrid = /^hybrid-/g; const field_hybrid = /^hybrid-/g;
const field_storage = /^storage-/g; const field_storage = /^storage-/g;
const field_poc = /^poc-/g;
const field_swarmlab1 = /^swarmlab-filemanager-agent/g; const field_swarmlab1 = /^swarmlab-filemanager-agent/g;
const field_swarmlab2 = /^swarmlab-sidecar-agent/g; const field_swarmlab2 = /^swarmlab-sidecar-agent/g;
const field_swarmlab3 = /^swarmlab-volumemanager-agent/g; const field_swarmlab3 = /^swarmlab-volumemanager-agent/g;
const field_swarmlab4 = /^swarmlabadmin/g; const field_swarmlab4 = /^swarmlabadmin/g;
const field_swarmlab5 = /^swarmlab-hybrid-agent/g;
const field_swarmlab6 = /^swlabadminvenus/g;
const field_swarmlab67 = /^swarmlab-hybrid_swarmlabnovnc/g;
if (value.match(field_microservice)) { if (value.match(field_microservice)) {
var v = `<button type="button" class="btn btn-link text-info" var v = `<button type="button" class="btn btn-link text-info"
>${value}</button>` >${value}</button>`
@ -193,7 +197,10 @@ export default {
}else if (value.match(field_storage)) { }else if (value.match(field_storage)) {
var v = `<button type="button" class="btn btn-link text-success" var v = `<button type="button" class="btn btn-link text-success"
>${value}</button>` >${value}</button>`
}else if (value.match(field_swarmlab1) || value.match(field_swarmlab2) || value.match(field_swarmlab3) || value.match(field_swarmlab4)) { }else if (value.match(field_poc)) {
var v = `<button type="button" class="btn btn-link text-primary"
>${value}</button>`
}else if (value.match(field_swarmlab1) || value.match(field_swarmlab2) || value.match(field_swarmlab3) || value.match(field_swarmlab4) || value.match(field_swarmlab5) || value.match(field_swarmlab6) || value.match(field_swarmlab7)) {
var v = `<button type="button" class="btn btn-link text-warning" var v = `<button type="button" class="btn btn-link text-warning"
>${value}</button>` >${value}</button>`
}else{ }else{

Loading…
Cancel
Save