Commit Graph

376 Commits

Author SHA1 Message Date
89d5fcff16 use resource path rather than querying each node
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:24:51 -08:00
7f29719532 remove unrelated comments
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:02:02 -08:00
3b79a997be remove unused function getDiskImageOptions
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:56:20 -08:00
0127b60bf3 keep disk filename prefixes to assign value correctly
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:50:59 -08:00
b29b1dd08f remove iso/ prefix from disk filename
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:48:50 -08:00
faea8bf08d fix varaible naming for storage in handleStorageChange
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:45:29 -08:00
940ea453d1 fix varaible instantiation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:44:34 -08:00
cd2d93ad34 fix disk image select id assignment
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:43:50 -08:00
977f363934 add storage change handler
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:39:28 -08:00
3784a4511a fix config disk grid layout
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:26:42 -08:00
253342826c use grid-column to span some inputs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:15:04 -08:00
70d1995453 remove storage and iso from disk image options
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:04:28 -08:00
d9ccaddd3c populate diskImageSelect with options
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:59:06 -08:00
5ccf122ca6 add options to disk image selection
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:48:09 -08:00
c0cd6a546e add ids to storage and size input
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:31:26 -08:00
453dc9051b set non resiable disk size value to 0
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:26:11 -08:00
6cd66db083 fix handleDeviceChange not implemented
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:19:07 -08:00
5e03f48ba6 min input content,
disable disk device reassignment for all disks

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:18:22 -08:00
f3b9a5d81e hide device input if device input is not required
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:01:06 -08:00
ca59f11bdb add hidden class
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 09:56:48 -08:00
44f837b33d remove unit selector for unit text,
hide size input and unit text if disk is not resizable

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 09:52:20 -08:00
ecf593f9ef change volume contents includes to be specific to bus type
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 16:14:33 -08:00
b928f87a79 fix min checking
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 16:10:56 -08:00
b8fb562c41 fix invalid query selector ids
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 16:08:20 -08:00
c21838d760 fix query selector in handleUnitChange
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 16:07:06 -08:00
680bb92242 set minimum size on unit change,
check min  size value on unit change

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 16:06:19 -08:00
a4ea5a2a60 disable size unit select if resizable is false
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:50:32 -08:00
ef44a7bfbc fix disk config layout
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:48:54 -08:00
28a4dc94cb add required params to addDiskLine
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:48:20 -08:00
7fe8dd2b7e fix variable naming conflict
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:47:13 -08:00
474a9c9222 add selector for size unit
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:45:51 -08:00
dfba5cdd5a remove unit from size
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:27:41 -08:00
359bb8a7f3 fix config disk layout
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:25:03 -08:00
75e77b1362 fix delete button alt text
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:24:24 -08:00
ba7a96f0eb add delete disk button
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:22:39 -08:00
4512242336 fix storageSelect and sizeInput populating
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:16:02 -08:00
f7a11046e0 fix storage options populating
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:14:34 -08:00
32a3c50f97 fix icon alt again
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:13:17 -08:00
5bc908eaae fix bus prefix issue
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:12:46 -08:00
5041f7ea1c fix icon alt text
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:10:24 -08:00
fd8025ed32 fix icon reference
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:09:21 -08:00
2ea2865d8d make each disk configurable
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:05:58 -08:00
bee34d4569 remove name field
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 14:25:31 -08:00
b0b3698258 right align all disk config buttons 2023-01-12 15:26:45 -08:00
24351ded1e add grey backgroudn to disabled inputs 2023-01-12 15:21:08 -08:00
6598ae3133 disable bus when lxc,
disable path when qemu
2023-01-12 15:17:35 -08:00
cb9c3a051f remove console.log s 2023-01-12 15:08:45 -08:00
5b111b1114 removed redundant params in populateResources 2023-01-12 15:08:02 -08:00
976b62fce8 add storage target option adding 2023-01-12 15:05:22 -08:00
ad84fc9772 add fetch storage options 2023-01-12 14:43:17 -08:00