Browse Source

update dist

master
zeus 4 years ago
parent
commit
9e2f353ec8
  1. 8
      client/css/app.b5111772.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/docker.7b56657d.png
  8. BIN
      client/img/hybrid-1.852eef88.png
  9. BIN
      client/img/loading.f4404720.gif
  10. 362
      client/img/themify.9c8e96ec.svg
  11. BIN
      client/img/venus1.826d0774.png
  12. BIN
      client/img/warning.f9cebb9b.png
  13. 1
      client/index.html
  14. 2
      client/js/app.928e7c0e.js
  15. 1
      client/js/app.928e7c0e.js.map
  16. 394
      client/js/chunk-vendors.f00828c9.js
  17. 1
      client/js/chunk-vendors.f00828c9.js.map
  18. 23
      hybrid/scripts/check-wg-connection.sh
  19. 2
      llo/connect-new.js
  20. 2
      start-venus-stats

8
client/css/app.b5111772.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/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

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.b5111772.css rel=preload as=style><link href=/css/chunk-vendors.b9dd8f74.css rel=preload as=style><link href=/js/app.928e7c0e.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.b5111772.css rel=stylesheet></head><body><div id=app></div><script src=/js/chunk-vendors.f00828c9.js></script><script src=/js/app.928e7c0e.js></script></body></html>

2
client/js/app.928e7c0e.js

File diff suppressed because one or more lines are too long

1
client/js/app.928e7c0e.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

23
hybrid/scripts/check-wg-connection.sh

@ -1,13 +1,31 @@
#!/bin/bash #!/bin/bash
declare -a wgint
for fint in $(docker inspect --format '{{.HostConfig.NetworkMode}}' $(docker ps --format '{{ .Names }}') | grep "^swlab"); do
#echo $fint
ff=$fint
ff="${ff#"${ff%%[![:space:]]*}"}"
ff="${ff%"${ff##*[![:space:]]}"}"
ff=${ff:5}
#echo $ff
wgint+=($ff)
done
for f in /sys/class/net/swlab*; do for f in /sys/class/net/swlab*; do
if [ -L "$f" ]; then if [ -L "$f" ]; then
#echo $f
f=$(basename $f) f=$(basename $f)
f="${f#"${f%%[![:space:]]*}"}" f="${f#"${f%%[![:space:]]*}"}"
f="${f%"${f##*[![:space:]]}"}" f="${f%"${f##*[![:space:]]}"}"
f=${f:5} f=${f:5}
f=$(basename $f)
#echo $f
wgint+=($f)
fi
done
#echo "---------------"
for f in "${wgint[@]}"; do
#for fdir in ./hybrid/connect/$f*; do
for fdir in /config/$f*; do for fdir in /config/$f*; do
if [[ -d "$fdir" && ! -L "$fdir" ]]; then if [[ -d "$fdir" && ! -L "$fdir" ]]; then
fdirfull=$fdir fdirfull=$fdir
@ -87,7 +105,6 @@ for f in /sys/class/net/swlab*; do
fi fi
fi fi
done done
fi
done done
echo [$JSON] echo [$JSON]

2
llo/connect-new.js

@ -535,7 +535,7 @@ app.get('/getserviceshybridstatus', (req, res, next) => {
app.get('/getwginterfaces', (req, res, next) => { app.get('/getwginterfaces', (req, res, next) => {
var mypath = process.cwd() var mypath = process.cwd()
var mongoserver = JSON.parse(fs.readFileSync('./hybrid/venus-stats/config.json', 'utf8')) //var mongoserver = JSON.parse(fs.readFileSync('./hybrid/venus-stats/config.json', 'utf8'))
var showexec = `docker exec swlabadminvenus /bin/bash -c "/usr/local/bin/check-wg-connection.sh"` var showexec = `docker exec swlabadminvenus /bin/bash -c "/usr/local/bin/check-wg-connection.sh"`
var RES = new Object(); var RES = new Object();
const page = req.query["page"] const page = req.query["page"]

2
start-venus-stats

@ -71,6 +71,7 @@ port=$(EPHEMERAL_PORT)
coll=logs coll=logs
ip='127.0.0.1' ip='127.0.0.1'
venusadmin=$wdir/hybrid/connect venusadmin=$wdir/hybrid/connect
venusint=$wdir/hybrid/scripts/check-wg-connection.sh
cat << FOE > $wdir/hybrid/venus-stats/.env cat << FOE > $wdir/hybrid/venus-stats/.env
@ -85,6 +86,7 @@ MONGO_VENUS_IP=$ip
MONGO_VENUS_PORT=$port MONGO_VENUS_PORT=$port
MONGO_VENUS_COLLECTION=$coll MONGO_VENUS_COLLECTION=$coll
VENUSADMIN=$venusadmin VENUSADMIN=$venusadmin
VENUSINT=$venusint
FOE FOE

Loading…
Cancel
Save