summaryrefslogtreecommitdiff
path: root/src/components/AppNavigation/AppNavigation.vue
diff options
context:
space:
mode:
authorMaksim Zakharov <m.zakharov@IBS.RU>2022-05-23 16:46:24 +0300
committerMaksim Zakharov <m.zakharov@IBS.RU>2022-05-23 16:46:24 +0300
commit5c7a1dd3d6a22e02b983a01be39b654b8eaa6ad1 (patch)
tree3f11b86aa27b02fa6b33142f53e5b2c25b33f85f /src/components/AppNavigation/AppNavigation.vue
parent8086773d610f64ab71a11bd13cc896111b710fc8 (diff)
downloadwebui-vue-5c7a1dd3d6a22e02b983a01be39b654b8eaa6ad1.tar.xz
Add pages: BMC, Ipv4/6, console settings. Fix routes: add console mixin, disable fullscreen console, add global styles.
Diffstat (limited to 'src/components/AppNavigation/AppNavigation.vue')
-rw-r--r--src/components/AppNavigation/AppNavigation.vue16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/components/AppNavigation/AppNavigation.vue b/src/components/AppNavigation/AppNavigation.vue
index 2aa61984..dc7a58d0 100644
--- a/src/components/AppNavigation/AppNavigation.vue
+++ b/src/components/AppNavigation/AppNavigation.vue
@@ -114,8 +114,9 @@ export default {
computed: {
sideBar() {
if (
- this.$route.path === '/operations/kvm' ||
- this.$route.path === '/operations/serial-over-lan'
+ this.$route.path === '/console-settings' ||
+ this.$route.path === '/console/serial-over-lan' ||
+ this.$route.path === '/console/kvm'
) {
return this.kvmNavigationItems;
} else {
@@ -159,6 +160,7 @@ svg {
align-items: center;
padding-left: $spacer * 4;
outline: none;
+ box-sizing: border-box;
height: 68px;
border-top: 1px solid rgba(26, 62, 91, 0.2);
&:not(.nav-link--current) {
@@ -205,12 +207,6 @@ svg {
border-top: 1px solid rgba(26, 62, 91, 0.2);
font-weight: 600;
line-height: 20px;
- &.collapsed {
- .icon-expand {
- transform: rotate(180deg);
- transition: 0.3s linear;
- }
- }
&.not-collapsed {
font-weight: 600;
line-height: 20px;
@@ -218,9 +214,7 @@ svg {
}
.icon-expand {
- float: right;
- transition: 0.3s linear;
- margin-top: $spacer / 4;
+ margin: 0;
}
.btn-link,