summaryrefslogtreecommitdiff
path: root/src/views/Control/SerialOverLan/SerialOverLan.vue
diff options
context:
space:
mode:
authorSukanya Pandey <sukapan1@in.ibm.com>2020-08-19 16:43:49 +0300
committerDerick Montague <derick.montague@ibm.com>2020-10-05 20:44:13 +0300
commit615b3150c7504d76a105c57728b2bddc58d9e5f2 (patch)
treefd0c37daca410115b1fa5adc2b95a2bae54b8170 /src/views/Control/SerialOverLan/SerialOverLan.vue
parent14d80dd65ad5ecc2e10c185415a7d2dd0af492a9 (diff)
downloadwebui-vue-615b3150c7504d76a105c57728b2bddc58d9e5f2.tar.xz
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 <sukapan1@in.ibm.com> Change-Id: I39d79259e0470d11c15e596908eefee7a799262a
Diffstat (limited to 'src/views/Control/SerialOverLan/SerialOverLan.vue')
-rw-r--r--src/views/Control/SerialOverLan/SerialOverLan.vue45
1 files changed, 7 insertions, 38 deletions
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 @@
<template>
<b-container fluid="xl">
- <page-title />
+ <page-title class="mb-4" :description="$t('pageSerialOverLan.subTitle')" />
- <page-section :section-title="$t('pageSerialoverLAN.subTitle')">
- <p>{{ $t('pageSerialoverLAN.subTitleDesc') }}</p>
-
- <div class="terminal-container">
- <serial-over-lan-console />
- </div>
- <div class="text-right">
- <b-button
- variant="link"
- type="button"
- class="button-launch"
- @click="openConsoleWindow()"
- >
- <icon-launch />
-
- {{ $t('pageSerialoverLAN.openNewTab') }}
- </b-button>
- </div>
+ <page-section class="mb-0">
+ <serial-over-lan-console :is-full-window="false" />
</page-section>
</b-container>
</template>
<script>
-import IconLaunch from '@carbon/icons-vue/es/launch/32';
import PageTitle from '@/components/Global/PageTitle';
import PageSection from '@/components/Global/PageSection';
import SerialOverLanConsole from './SerialOverLanConsole';
export default {
name: 'SerialOverLan',
- components: { IconLaunch, PageSection, PageTitle, SerialOverLanConsole },
- methods: {
- openConsoleWindow() {
- window.open(
- '#/console/serial-over-lan-console',
- '_blank',
- 'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=600,height=550'
- );
- }
+ components: {
+ PageSection,
+ PageTitle,
+ SerialOverLanConsole
}
};
</script>
-
-<style scoped>
-.button-launch > svg {
- height: 25px;
-}
-.terminal-container {
- width: 100%;
-}
-</style>