Merge remote-tracking branch 'origin/main'
# Conflicts: # web/src/components/NavBar.vue
This commit is contained in:
commit
956c1d5ee6
2 changed files with 18 additions and 40 deletions
|
@ -1,45 +1,23 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts"></script>
|
||||||
import { ref } from "vue";
|
|
||||||
|
|
||||||
const expanded = defineProps();
|
|
||||||
const drawer = ref(false);
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<v-app-bar rounded="lg">
|
<v-app class="mx-5 my-3">
|
||||||
<template v-slot:prepend>
|
<v-app-bar :elevation="2" rounded density="comfortable">
|
||||||
<v-app-bar-nav-icon @click="drawer = !drawer"></v-app-bar-nav-icon>
|
<template v-slot:prepend>
|
||||||
</template>
|
<v-app-bar-nav-icon></v-app-bar-nav-icon>
|
||||||
|
</template>
|
||||||
|
|
||||||
<template v-slot:append>
|
<v-app-bar-title>Application Bar</v-app-bar-title>
|
||||||
<!-- FIXME: Button invisible -->
|
|
||||||
<v-btn icon="mdi-account" variant="text">
|
|
||||||
<v-menu activator="parent">
|
|
||||||
<v-list>
|
|
||||||
<v-list-item
|
|
||||||
v-for="(item, index) in [
|
|
||||||
{ title: 'Profile' },
|
|
||||||
{ title: 'Settings' },
|
|
||||||
{ title: 'Log Out' },
|
|
||||||
]"
|
|
||||||
:key="index"
|
|
||||||
:value="index"
|
|
||||||
>
|
|
||||||
<v-list-item-title>{{ item.title }}</v-list-item-title>
|
|
||||||
</v-list-item>
|
|
||||||
</v-list>
|
|
||||||
</v-menu>
|
|
||||||
</v-btn>
|
|
||||||
</template>
|
|
||||||
</v-app-bar>
|
|
||||||
|
|
||||||
<v-navigation-drawer v-if="drawer">
|
<template v-slot:append>
|
||||||
<v-list-item title="DocuSphere" subtitle="Vuetify"></v-list-item>
|
<v-btn icon="mdi-heart"></v-btn>
|
||||||
<v-divider></v-divider>
|
|
||||||
<v-list-item link title="List Item 1"></v-list-item>
|
<v-btn icon="mdi-magnify"></v-btn>
|
||||||
<v-list-item link title="List Item 2"></v-list-item>
|
|
||||||
<v-list-item link title="List Item 3"></v-list-item>
|
<v-btn icon="mdi-dots-vertical"></v-btn>
|
||||||
</v-navigation-drawer>
|
</template>
|
||||||
|
</v-app-bar>
|
||||||
|
</v-app>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped></style>
|
<style scoped></style>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<NavBar/>
|
<NavBar />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import NavBar from '@/components/NavBar.vue'
|
import NavBar from "@/components/NavBar.vue";
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue