blob: b498180dfae1ebe54a59eca862867be787f09188 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<template>
<b-container fluid="xl">
<page-title />
<div
class="terminal-container"
:class="{
disabledDiv: isNotAdmin,
}"
>
<kvm-console :is-full-window="false" />
</div>
</b-container>
</template>
<script>
import PageTitle from '@/components/_sila/Global/PageTitle';
import KvmConsole from './KvmConsole';
export default {
name: 'Kvm',
components: { PageTitle, KvmConsole },
computed: {
isNotAdmin() {
return this.$store.getters['authentication/role'] === 'ReadOnly';
},
},
};
</script>
<style scoped>
.terminal-container {
width: 100%;
}
</style>
|