PrinterImg

This commit is contained in:
Douglas Barone 2023-06-28 12:35:24 -04:00
parent 15790c0e0c
commit 54948c1795
8 changed files with 24 additions and 4 deletions

5
.prettierrc Normal file
View File

@ -0,0 +1,5 @@
{
"tabWidth": 2,
"useTabs": false,
"htmlWhitespaceSensitivity": "ignore"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 KiB

View File

@ -0,0 +1,12 @@
<template>
<v-img height="300" :src="`/img/${model}.png`" />
</template>
<script lang="ts" setup>
defineProps({
model: {
type: String,
required: true,
},
});
</script>

View File

@ -15,11 +15,11 @@
<v-spacer />
<v-chip variant="flat" color="primary">
<v-chip color="primary">
<v-avatar v-if="me?.thumbnailPhoto" :image="me?.thumbnailPhoto" start />
{{ me?.displayName }}
</v-chip>
<v-btn class="ml-2" variant="text" @click="logout" icon size="small">
<v-btn class="mx-2" @click="logout" icon size="small">
<v-icon icon="mdi-logout"></v-icon>
</v-btn>
</v-app-bar>

View File

@ -1,7 +1,10 @@
<template>
<div>
<h1>Home</h1>
<printer-img model="ECOSYS P6235cdn" />
</div>
</template>
<script lang="ts" setup></script>
<script lang="ts" setup>
import PrinterImg from "@/components/PrinterImg.vue";
</script>