web: add toolbar buttons

This commit is contained in:
Mika 2024-07-09 13:07:33 +02:00
parent 6834b8d6e9
commit c0afe8b56e
2 changed files with 26 additions and 12 deletions

View file

@ -6,9 +6,21 @@
prominent prominent
> >
<img src="../assets/turbologo.svg" alt="logo" class="logo" width="75" /> <img src="../assets/turbologo.svg" alt="logo" class="logo" width="75" />
<v-toolbar-title>Vuetify</v-toolbar-title>
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-text-field <!-- Create, Delete, Edit -->
<div>
<v-btn icon class="mr-3">
<Plus />
</v-btn>
<v-btn icon class="mr-3">
<Trash2 />
</v-btn>
<v-btn icon class="mr-3">
<Pencil />
</v-btn>
</div>
<v-text-field
class="compact-form mr-2" class="compact-form mr-2"
label="Search" label="Search"
variant="solo" variant="solo"
@ -30,7 +42,9 @@
<script setup lang="ts"> <script setup lang="ts">
import { LogOut } from 'lucide-vue-next'; import { LogOut } from 'lucide-vue-next';
import { store } from '@/store'; import { store } from '@/store';
import { Plus } from 'lucide-vue-next';
import { Trash2 } from 'lucide-vue-next';
import { Pencil } from 'lucide-vue-next';
function handlelogout() { function handlelogout() {
console.log('logout'); console.log('logout');

View file

@ -1,8 +1,8 @@
<template> <template>
<v-sheet <v-sheet
elevation="4" elevation="4"
width="93vw" width="93vw"
rounded="lg" rounded="lg"
> >
<div class="values ml-2 py-3"> <div class="values ml-2 py-3">
<div class="mr-3"> <div class="mr-3">
@ -10,26 +10,26 @@
</div> </div>
<div class="mr-3"> <div class="mr-3">
<span style="display: flex;"> <span style="display: flex;">
<KeyRound class="transform mr-1"/> <KeyRound class="transform mr-1"/>
{{ props.licenseKey }} {{ props.licenseKey }}
</span> </span>
</div> </div>
<div class="mr-3"> <div class="mr-3">
<span style="display: flex;"> <span style="display: flex;">
<Check class="mr-1"/> <Check class="mr-1"/>
{{ props.startDate }} {{ props.startDate }}
</span> </span>
</div> </div>
<div class="mr-3"> <div class="mr-3">
<span style="display: flex;"> <span style="display: flex;">
<Skull class="mr-1"/> <Skull class="mr-1"/>
{{ props.endDate }} {{ props.endDate }}
</span> </span>
</div> </div>
<div class="mr-3"> <div class="mr-3">
<span style="display: flex;"> <span style="display: flex;">
<img src="../assets/doublekey.svg" alt="logo" class="logo mr-1" width="24" /> <img src="../assets/doublekey.svg" alt="logo" class="logo mr-1" width="24" />
{{ props.amount }} {{ props.amount }}
</span> </span>
</div> </div>
</div> </div>