Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/src/components/notifications/index.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<v-container>
<v-row>
<v-col cols="12" md="12" lg="8">
<v-col cols="12" md="12" lg="12" xl="6">
<v-expansion-panels multiple elevation="0" class="mb-6">
<v-expansion-panel>
<v-expansion-panel-title class="text-h6 font-weight-bold">What are Notifications?</v-expansion-panel-title>
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/podsizes/index.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<v-container>
<v-row>
<v-col cols="12" md="12" lg="8">
<v-col cols="12" md="12" lg="12" xl="6">
<v-expansion-panels multiple elevation="0" class="mb-6">
<v-expansion-panel>
<v-expansion-panel-title class="text-h6 font-weight-bold">What are PodSizes?</v-expansion-panel-title>
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/runpacks/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<v-container>
<v-row>
<v-col cols="12" md="12" lg="8">
<v-col cols="12" md="12" lg="12" xl="6">
<v-expansion-panels multiple elevation="0" class="mb-6">
<v-expansion-panel>
<v-expansion-panel-title class="text-h6 font-weight-bold">What are Runpacks?</v-expansion-panel-title>
Expand Down
27 changes: 26 additions & 1 deletion client/src/layouts/default/NavDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
color="navBG"
expand-on-hover
permanent
rail
:rail="rail"
>
<v-list class="profile-dark-bg">
<v-list-item
Expand All @@ -20,6 +20,20 @@
<template #subtitle>
{{ userEmail }}
</template>
<template v-slot:append>
<v-btn
v-if="rail"
icon="mdi-chevron-right"
variant="text"
@click="rail = false"
></v-btn>
<v-btn
v-else
icon="mdi-chevron-left"
variant="text"
@click="rail = true"
></v-btn>
</template>
</v-list-item>
</v-list>

Expand Down Expand Up @@ -73,23 +87,27 @@
title="General"
prepend-icon="mdi-tune"
density="compact"
style="transform: scale(0.9);"
></v-list-item>
<v-list-item
link to="/runpacks"
v-if="kubero.isAuthenticated && !kubero.adminDisabled"
prepend-icon="mdi-cube-outline"
style="transform: scale(0.9);"
title="Runpacks">
</v-list-item>
<v-list-item
link to="/podsizes"
v-if="kubero.isAuthenticated && !kubero.adminDisabled"
prepend-icon="mdi-arrow-expand-vertical"
style="transform: scale(0.9);"
title="Pod Sizes">
</v-list-item>
<v-list-item
link to="/notifications"
v-if="kubero.isAuthenticated && !kubero.adminDisabled"
prepend-icon="mdi-email-fast-outline"
style="transform: scale(0.9);"
title="Notifications">
</v-list-item>
</v-list-group>
Expand Down Expand Up @@ -253,6 +271,7 @@ const theme = useTheme()
const userAvatar = ref<string>('')
const userName = ref<string>('')
const userEmail = ref<string>('')
const rail = ref(true)

async function loadUserProfile() {
try {
Expand Down Expand Up @@ -369,3 +388,9 @@ img.image-icon {
background: rgba(var(--v-theme-secondary), 0.5) !important;
}
</style>

<style>
.v-list-group__items {
--indent-padding: inherit;
}
</style>
Loading
Loading