From 68819aea916bfd5209c59cd818ad6e65aa76ec2c Mon Sep 17 00:00:00 2001 From: thelamer Date: Fri, 24 May 2019 23:04:10 -0700 Subject: [PATCH] adding new RDP VNC types to remote access landing page --- public/index.html | 2 +- public/js/gateway.js | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 13104eb..7b14e50 100644 --- a/public/index.html +++ b/public/index.html @@ -13,7 +13,7 @@

Stacks:


-

VDI:

+

Desktops:


Terminals:

diff --git a/public/js/gateway.js b/public/js/gateway.js index 08edbb6..022be6f 100644 --- a/public/js/gateway.js +++ b/public/js/gateway.js @@ -69,6 +69,15 @@ $( document ).ready(function() { \ '); } + else if (labels.stacktype == 'rdpvnc' && container.State == 'running'){ + var linkurl = window.location.href.replace('taisun-gateway', 'user:' + pass + '@' + taisunport) + '/' + labels.remote_type + '/' + container.Id; + $('#vdi').append('\ +
\ +
\ +

'+ labels.stackname + '

\ +
\ + '); + } } }); // Add Taisun link