Update KVM layout and add open in new window functionality
-Adds heading with new layout consistency class name
-Adds open in new window functionality
Resolves: openbmc/phosphor-webui#81
Tested on a Witherspoon with power on and with build
that allows up to 4 kvm sessions connected
at a time https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/25231.
KVM console loads in firefox, chrome, safari, edge and IE11.
Opening new window and returning to parent window is
functional across all browsers.
Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com>
Change-Id: I32cda025bdd459740ca2b42d573b431fac687860
diff --git a/app/server-control/index.js b/app/server-control/index.js
index 8b8b215..98f9c48 100644
--- a/app/server-control/index.js
+++ b/app/server-control/index.js
@@ -52,6 +52,11 @@
'template': require('./controllers/kvm-controller.html'),
authenticated: true
})
+ .when('/server-control/kvm-window', {
+ 'template': require('./controllers/kvm-window-controller.html'),
+ 'controller': 'kvmWindowController',
+ authenticated: true
+ })
.when('/server-control/virtual-media', {
'template':
require('./controllers/virtual-media-controller.html'),