From 615b3150c7504d76a105c57728b2bddc58d9e5f2 Mon Sep 17 00:00:00 2001 From: Sukanya Pandey Date: Wed, 19 Aug 2020 19:13:49 +0530 Subject: Add changes related to SOL page -Changes incorporated can be referred through below link: -https://github.com/openbmc/webui-vue/issues/25 Signed-off-by: Sukanya Pandey Change-Id: I39d79259e0470d11c15e596908eefee7a799262a --- src/assets/styles/bmc/custom/_index.scss | 1 + src/assets/styles/bmc/custom/_sol.scss | 3 + src/locales/en-US.json | 14 +-- src/views/Control/SerialOverLan/SerialOverLan.vue | 45 ++------- .../Control/SerialOverLan/SerialOverLanConsole.vue | 109 ++++++++++++++++++++- 5 files changed, 123 insertions(+), 49 deletions(-) create mode 100644 src/assets/styles/bmc/custom/_sol.scss diff --git a/src/assets/styles/bmc/custom/_index.scss b/src/assets/styles/bmc/custom/_index.scss index 4456dd29..9d6218ff 100644 --- a/src/assets/styles/bmc/custom/_index.scss +++ b/src/assets/styles/bmc/custom/_index.scss @@ -12,5 +12,6 @@ @import "./kvm"; @import "./modal"; @import "./pagination"; +@import "./sol"; @import "./tables"; @import "./toasts"; \ No newline at end of file diff --git a/src/assets/styles/bmc/custom/_sol.scss b/src/assets/styles/bmc/custom/_sol.scss new file mode 100644 index 00000000..6987cf79 --- /dev/null +++ b/src/assets/styles/bmc/custom/_sol.scss @@ -0,0 +1,3 @@ +#terminal .xterm .xterm-viewport { + overflow: auto; +} \ No newline at end of file diff --git a/src/locales/en-US.json b/src/locales/en-US.json index 127df614..b730b817 100644 --- a/src/locales/en-US.json +++ b/src/locales/en-US.json @@ -99,7 +99,7 @@ "primaryNavigation": "Primary navigation", "rebootBmc": "@:appPageTitle.rebootBmc", "sensors": "@:appPageTitle.sensors", - "serialOverLan": "@:appPageTitle.serialOverLan", + "serialOverLan": "SOL console", "serverLed": "@:appPageTitle.serverLed", "serverPowerOperations": "@:appPageTitle.serverPowerOperations", "snmpSettings": "@:appPageTitle.snmpSettings", @@ -123,7 +123,7 @@ "profileSettings": "Profile settings", "rebootBmc": "Reboot BMC", "sensors": "Sensors", - "serialOverLan": "Serial over LAN console", + "serialOverLan": "Serial over LAN (SOL) console", "serverLed": "Server LED", "serverPowerOperations": "Server power operations", "snmpSettings": "SNMP settings", @@ -446,7 +446,7 @@ "bmcTime": "BMC time", "editNetworkSettings": "Edit network settings", "serverLed": "Server LED", - "solConsole": "Serial over LAN console" + "solConsole": "@:appNavigation.serialOverLan" } }, "pageProfileSettings": { @@ -534,10 +534,12 @@ "upperCritical": "Upper critical" } }, - "pageSerialoverLAN": { + "pageSerialOverLan": { + "connected": "Connected", + "disconnected": "Disconnected", "openNewTab": "Open in new tab", - "subTitle": "Access the Serial over LAN console", - "subTitleDesc": "The Serial over LAN (SoL) console redirects the output of the server's serial port to a browser window on your workstation." + "status": "Status", + "subTitle": "SOL console redirects server's serial port output to this window." }, "pageServerLed": { "serverLedSubTitle": "Server indicator LED", diff --git a/src/views/Control/SerialOverLan/SerialOverLan.vue b/src/views/Control/SerialOverLan/SerialOverLan.vue index 61f91e0e..037a4963 100644 --- a/src/views/Control/SerialOverLan/SerialOverLan.vue +++ b/src/views/Control/SerialOverLan/SerialOverLan.vue @@ -1,55 +1,24 @@ - - diff --git a/src/views/Control/SerialOverLan/SerialOverLanConsole.vue b/src/views/Control/SerialOverLan/SerialOverLanConsole.vue index 69ccf8df..d5e9b214 100644 --- a/src/views/Control/SerialOverLan/SerialOverLanConsole.vue +++ b/src/views/Control/SerialOverLan/SerialOverLanConsole.vue @@ -1,14 +1,71 @@ - -- cgit v1.2.3