mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-08-16 12:49:14 +00:00
* feat: forklift poc first commit * feat: add migration and plan detail pages with progress tracking * feat(forklift): UI based on the FIGMA * feat(forklift): Fixed config based on new figma changes * feat(forklift): New changes added based on new figma * feat(forklift): Add the succeded state * Merge the new APIs * feat(forklift): Applied fix to select the proper data on network. Added condition to show critical * feat(forklift): Added icons, critical state, fix grids, action button * feat(forklift): Change to use the proper provider instead of a hardcoded * feat(forklift): Added pagination UI * feat(forklift): FIxed the routing for the extension * feat(forklift): route and router doesnt work properly on extensions * feat(forklift): fixed to fix the icon on extension * feat(forklift): Added overflow hidden to mapping target list * feat(forklift): Added better handling on the saving and testing * feat(forklift): Remove test flags * feat(forklift): Changed based on review * feat(forklift): fixed title and button * feat(forklift): Design changes * feat(forklift): Changed to Wizard * feat(forklift): added the provider wizard * feat(forklift): Fixed some UI changes * feat(forklift): Removed wrong configs used for testing * feat(forklift): update size * feat(forklift): small fixes * feat(forklift): small fixes after Copilot * feat(forklift): small fixes after Copilot * feat(forklift): reverted settings.json changes * feat(forklift): small fixes after Copilot * feat(forklift): Fix the way it is registered * feat(forklift): Fixed the type for VMware * feat(forklift): small changes before rebase * feat: Added new API for the vms * feat: Fix some labels * feat: Added some final fixes to structure * feat: added loading to provider steps * feat: added comments from copilot review --------- (cherry picked from commit 560643d299216e679942d05803af9d1ce0f74f6a) Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com> Co-authored-by: marcelofukumoto <marceloyfukumoto@gmail.com>
60 lines
1006 B
Vue
60 lines
1006 B
Vue
<script setup>
|
|
defineProps({
|
|
networkEntries: {
|
|
type: Array,
|
|
default: () => [],
|
|
},
|
|
storageEntries: {
|
|
type: Array,
|
|
default: () => [],
|
|
},
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<div class="mappings-cell">
|
|
<div
|
|
v-for="(entry, idx) in networkEntries"
|
|
:key="'net-' + idx"
|
|
class="mapping-entry"
|
|
>
|
|
<i
|
|
class="icon icon-network"
|
|
aria-hidden="true"
|
|
/>
|
|
<span>{{ entry }}</span>
|
|
</div>
|
|
<div
|
|
v-for="(entry, idx) in storageEntries"
|
|
:key="'stor-' + idx"
|
|
class="mapping-entry"
|
|
>
|
|
<i
|
|
class="icon icon-datastore"
|
|
aria-hidden="true"
|
|
/>
|
|
<span>{{ entry }}</span>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<style lang="scss" scoped>
|
|
.mappings-cell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.mapping-entry {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
|
|
.icon {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
</style>
|