Skip to content

Commit ef189ce

Browse files
iceteabottleyadvr
andcommitted
compute: work-in-progress VM deployment wizard (#7)
This implements a work-in-progress VM deployment wizard. Co-authored-by: Rohit Yadav <rohit@apache.org> Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 2e50c06 commit ef189ce

16 files changed

+1326
-249
lines changed

ui/package-lock.json

Lines changed: 2 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@
4343
"core-js": "^3.6.1",
4444
"enquire.js": "^2.1.6",
4545
"js-cookie": "^2.2.1",
46-
"lodash.get": "^4.4.2",
47-
"lodash.pick": "^4.4.0",
46+
"lodash": "^4.17.15",
4847
"md5": "^2.2.1",
4948
"moment": "^2.24.0",
5049
"node-emoji": "^1.10.0",

ui/src/components/view/InfoCard.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,16 @@
425425
<a-icon type="calendar" />{{ resource.created }}
426426
</div>
427427
</div>
428+
<div class="resource-detail-item" v-if="resource.affinitygroup && resource.affinitygroup.length > 0">
429+
<a-icon type="swap" />
430+
<span
431+
v-for="(group, index) in resource.affinitygroup"
432+
:key="group.id"
433+
>
434+
<router-link :to="{ path: '/affinitygroup/' + group.id }">{{ group.name }}</router-link>
435+
<span v-if="index + 1 < resource.affinitygroup.length">, </span>
436+
</span>
437+
</div>
428438
</div>
429439

430440
<div class="account-center-tags" v-if="$route.meta.related">

ui/src/locales/en.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,17 @@
10551055
"instance": "Instance",
10561056
"yourInstance": "Your instance",
10571057
"newInstance": "New instance",
1058+
"defaultNetwork": "Default network",
10581059
"cpu": "CPU",
1059-
"ram": "RAM",
1060+
"minMaxIops": "Min IOPS / Max IOPS",
1061+
"isSelf": "Self",
1062+
"isShared": "Shared",
1063+
"networks": "Networks",
1064+
"BasicSetup": "Basic setup",
1065+
"templateIso": "Template/ISO",
1066+
"addAnotherNetwork": "Add another network",
1067+
"addNewNetworks": "Add new networks",
1068+
"existingNetworks": "Existing networks",
1069+
"sshKeyPairs": "SSH keypairs",
10601070
"wednesday": "Wednesday"
10611071
}

0 commit comments

Comments
 (0)