diff options
author | Sukanya Pandey <sukapan1@in.ibm.com> | 2020-11-03 08:43:23 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-11-04 06:47:03 +0300 |
commit | d9dc6fb88eee9934aaafe43061210798c109c41a (patch) | |
tree | 671cb6f25fe74e93642079309e2f34c3a415ed07 /src/views | |
parent | ad48a0cc27322a570aa62591d415ad3101da3627 (diff) | |
download | webui-vue-d9dc6fb88eee9934aaafe43061210798c109c41a.tar.xz |
Resolve vue/no-lone-template lint warning message
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com>
Change-Id: Ib2a7bdff5b4075f56f5beda5eb5861645ffa211b
Diffstat (limited to 'src/views')
-rw-r--r-- | src/views/Control/SerialOverLan/SerialOverLanConsole.vue | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/src/views/Control/SerialOverLan/SerialOverLanConsole.vue b/src/views/Control/SerialOverLan/SerialOverLanConsole.vue index b734bb13..2b49562c 100644 --- a/src/views/Control/SerialOverLan/SerialOverLanConsole.vue +++ b/src/views/Control/SerialOverLan/SerialOverLanConsole.vue @@ -1,32 +1,30 @@ <template> <div :class="isFullWindow ? 'full-window-container' : 'terminal-container'"> - <template> - <b-row class="d-flex"> - <b-col class="d-flex flex-column justify-content-end"> - <dl class="mb-2" sm="6" md="6"> - <dt class="d-inline font-weight-bold mr-1"> - {{ $t('pageSerialOverLan.status') }}: - </dt> - <dd class="d-inline"> - <status-icon :status="hostStatusIcon" /> {{ connectionStatus }} - </dd> - </dl> - </b-col> + <b-row class="d-flex"> + <b-col class="d-flex flex-column justify-content-end"> + <dl class="mb-2" sm="6" md="6"> + <dt class="d-inline font-weight-bold mr-1"> + {{ $t('pageSerialOverLan.status') }}: + </dt> + <dd class="d-inline"> + <status-icon :status="hostStatusIcon" /> {{ connectionStatus }} + </dd> + </dl> + </b-col> - <b-col v-if="!isFullWindow" class="d-flex justify-content-end"> - <b-button - variant="link" - type="button" - class="pr-0 button-launch" - @click="openConsoleWindow()" - > - <icon-launch aria-hidden="true" /> + <b-col v-if="!isFullWindow" class="d-flex justify-content-end"> + <b-button + variant="link" + type="button" + class="pr-0 button-launch" + @click="openConsoleWindow()" + > + <icon-launch aria-hidden="true" /> - {{ $t('pageSerialOverLan.openNewTab') }} - </b-button> - </b-col> - </b-row> - </template> + {{ $t('pageSerialOverLan.openNewTab') }} + </b-button> + </b-col> + </b-row> <div id="terminal" ref="panel"></div> </div> </template> |