Compare commits
No commits in common. "ab72acc92ce30beb2312977ddc3ce44cb5ee8162" and "d61b4f3fcbe841e17a58123feac140812d523ea6" have entirely different histories.
ab72acc92c
...
d61b4f3fcb
4 changed files with 58 additions and 9 deletions
1
web/components.d.ts
vendored
1
web/components.d.ts
vendored
|
@ -7,6 +7,7 @@ export {}
|
|||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
ActionToolbar: typeof import('./src/components/actionToolbar.vue')['default']
|
||||
CategoryContainer: typeof import('./src/components/CategoryContainer.vue')['default']
|
||||
HeaderBar: typeof import('./src/components/HeaderBar.vue')['default']
|
||||
ListViewElement: typeof import('./src/components/ListViewElement.vue')['default']
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<div v-else>
|
||||
<HeaderBar />
|
||||
<div class="ma-8">
|
||||
<actionToolbar />
|
||||
<li>
|
||||
<CategoryContainer licenseGroupName="Jetbrains Ultimate"/>
|
||||
<CategoryContainer licenseGroupName="Microsoft"/>
|
||||
|
@ -21,6 +22,7 @@
|
|||
<script setup lang="ts">
|
||||
import HeaderBar from './components/HeaderBar.vue';
|
||||
import CategoryContainer from './components/CategoryContainer.vue';
|
||||
import actionToolbar from './components/actionToolbar.vue';
|
||||
import { store } from './store';
|
||||
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
clearable
|
||||
rounded="pill"
|
||||
></v-text-field>
|
||||
<v-btn icon variant="outlined" @click="handlelogout">
|
||||
<v-btn icon variant="outlined" >
|
||||
<LogOut />
|
||||
</v-btn>
|
||||
</v-toolbar>
|
||||
|
@ -29,14 +29,6 @@
|
|||
|
||||
<script setup lang="ts">
|
||||
import { LogOut } from 'lucide-vue-next';
|
||||
import { store } from '@/store';
|
||||
|
||||
|
||||
function handlelogout() {
|
||||
console.log('logout');
|
||||
store.setToken(null);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
|
54
web/src/components/actionToolbar.vue
Normal file
54
web/src/components/actionToolbar.vue
Normal file
|
@ -0,0 +1,54 @@
|
|||
<template>
|
||||
<v-card flat>
|
||||
<v-container fluid>
|
||||
<v-row class="child-flex">
|
||||
<div>
|
||||
<v-toolbar>
|
||||
<v-btn
|
||||
class="hidden-xs-only"
|
||||
icon
|
||||
>
|
||||
<v-icon>mdi-arrow-left</v-icon>
|
||||
</v-btn>
|
||||
|
||||
<v-toolbar-title>Title</v-toolbar-title>
|
||||
|
||||
<v-spacer></v-spacer>
|
||||
|
||||
<v-btn
|
||||
class="hidden-xs-only"
|
||||
icon
|
||||
>
|
||||
<v-icon>mdi-magnify</v-icon>
|
||||
</v-btn>
|
||||
</v-toolbar>
|
||||
</div>
|
||||
|
||||
<div style="flex-basis: 20%">
|
||||
<v-toolbar dark>
|
||||
<v-spacer></v-spacer>
|
||||
|
||||
<v-btn icon>
|
||||
<v-icon>mdi-reply</v-icon>
|
||||
</v-btn>
|
||||
|
||||
<v-btn icon>
|
||||
<v-icon>mdi-dots-vertical</v-icon>
|
||||
</v-btn>
|
||||
</v-toolbar>
|
||||
</div>
|
||||
</v-row>
|
||||
</v-container>
|
||||
</v-card>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
|
Loading…
Add table
Reference in a new issue