Web UI: Take off logic from generic table component
This commit is contained in:
parent
2d3fc613ec
commit
3f1484480e
13 changed files with 287 additions and 190 deletions
22
webui/src/components/_commons/ProviderIcon.vue
Normal file
22
webui/src/components/_commons/ProviderIcon.vue
Normal file
|
@ -0,0 +1,22 @@
|
|||
<template>
|
||||
<q-avatar class="provider-logo">
|
||||
<q-icon :name="`img:statics/providers/${name}.svg`" />
|
||||
</q-avatar>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: ['name']
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.provider-logo {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
Loading…
Add table
Add a link
Reference in a new issue