File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1313 < h4 > Stacks:</ h4 >
1414 < div class ="row " id ="stacks "> </ div >
1515 < hr />
16- < h4 class ="card-title "> VDI :</ h4 >
16+ < h4 class ="card-title "> Desktops :</ h4 >
1717 < div class ="row " id ="vdi "> </ div >
1818 < hr />
1919 < h4 class ="card-title "> Terminals:</ h4 >
Original file line number Diff line number Diff line change @@ -69,6 +69,15 @@ $( document ).ready(function() {
6969 </div>\
7070 ' ) ;
7171 }
72+ else if ( labels . stacktype == 'rdpvnc' && container . State == 'running' ) {
73+ var linkurl = window . location . href . replace ( 'taisun-gateway' , 'user:' + pass + '@' + taisunport ) + '/' + labels . remote_type + '/' + container . Id ;
74+ $ ( '#vdi' ) . append ( '\
75+ <div class="mx-auto" style="width:140px;cursor:pointer;" onclick="window.open(\'' + linkurl + '\',\'_blank\');">\
76+ <center><img src="/public/img/monitor.png">\
77+ <h4 class="card-title">' + labels . stackname + '</h4></center>\
78+ </div>\
79+ ' ) ;
80+ }
7281 }
7382 } ) ;
7483 // Add Taisun link
You can’t perform that action at this time.
0 commit comments