Serial over lan popup functionality added
Change-Id: If624d4b1858abea7d15ecc54caf78ae1deb38232
Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
diff --git a/app/server-control/controllers/remote-console-controller.html b/app/server-control/controllers/remote-console-controller.html
index 4fbb4b1..1519073 100644
--- a/app/server-control/controllers/remote-console-controller.html
+++ b/app/server-control/controllers/remote-console-controller.html
@@ -9,10 +9,10 @@
</section>
<section class="row column">
<p class="serial-lan__copy">The Serial over LAN (SoL) console redirects the output of the server’s serial port to a browser window on your workstation.</p>
- <div class="serial-lan__wrapper">
+ <div class="serial-lan__wrapper" ng-class="{'disabled': dataService.remote_window_active}">
<div id="terminal" class="serial-lan__terminal"></div>
<div class="serial-lan__actions">
- <a href="#" class="inline btn-pop-out" target="_blank">Open in new tab</a>
+ <button class="inline btn-pop-out" ng-click="openTerminalWindow()">Open in new tab</button>
<a href="#" class="inline btn-export" download="{{export_name}}">Export console data</a>
</div>
</div>