Commit Graph

401 Commits

Author SHA1 Message Date
Arthur Lu
767c239c82 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
Arthur Lu
bbfdfa0f98 disable size unit select if resizable is false
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:50:32 -08:00
Arthur Lu
3e03bc5ede fix disk config layout
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:48:54 -08:00
Arthur Lu
e11f281a59 add required params to addDiskLine
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:48:20 -08:00
Arthur Lu
299f60a878 fix variable naming conflict
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:47:13 -08:00
Arthur Lu
eaf51064ac add selector for size unit
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:45:51 -08:00
Arthur Lu
abe70d0b72 remove unit from size
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:27:41 -08:00
Arthur Lu
2ae003b98c fix config disk layout
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:25:03 -08:00
Arthur Lu
a2b4dcd985 fix delete button alt text
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:24:24 -08:00
Arthur Lu
14ee712d3c add delete disk button
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:22:39 -08:00
Arthur Lu
36d93017f9 fix storageSelect and sizeInput populating
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:16:02 -08:00
Arthur Lu
0aa983594f fix storage options populating
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:14:34 -08:00
Arthur Lu
ea06755a1e fix icon alt again
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:13:17 -08:00
Arthur Lu
9c37a9e562 fix bus prefix issue
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:12:46 -08:00
Arthur Lu
f378a1c7f9 fix icon alt text
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:10:24 -08:00
Arthur Lu
4d0a44995b fix icon reference
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:09:21 -08:00
Arthur Lu
92739d9660 make each disk configurable
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:05:58 -08:00
Arthur Lu
40c844a6f4 remove name field
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 14:25:31 -08:00
Arthur Lu
39cce60fc0 right align all disk config buttons 2023-01-12 15:26:45 -08:00
Arthur Lu
68146260ed add grey backgroudn to disabled inputs 2023-01-12 15:21:08 -08:00
Arthur Lu
d0482e867f disable bus when lxc,
disable path when qemu
2023-01-12 15:17:35 -08:00
Arthur Lu
a1727eebdc remove console.log s 2023-01-12 15:08:45 -08:00
Arthur Lu
79a46b1f9b removed redundant params in populateResources 2023-01-12 15:08:02 -08:00
Arthur Lu
6984f20998 add storage target option adding 2023-01-12 15:05:22 -08:00
Arthur Lu
8345dd61f2 add fetch storage options 2023-01-12 14:43:17 -08:00
Arthur Lu
0da9812b89 fix event listener callback function 2023-01-11 03:02:17 -08:00
Arthur Lu
ec1426f0c1 fix disk populating bugs 2023-01-11 03:00:01 -08:00
Arthur Lu
cdb06ce8cc add query select for addDiskDevice 2023-01-11 02:58:22 -08:00
Arthur Lu
79fd1f0625 try global vars 2023-01-11 02:57:37 -08:00
Arthur Lu
d5d495f566 fix parameters 2023-01-11 02:52:52 -08:00
Arthur Lu
8b2fb8c1ba consolidate handler params 2023-01-11 02:51:06 -08:00
Arthur Lu
32ca9c2309 add missing type param in add disk handlers 2023-01-11 02:47:36 -08:00
Arthur Lu
acc6d834c4 fix missing param in add disk handlers 2023-01-11 02:46:25 -08:00
Arthur Lu
906c292e53 streamline add disk code 2023-01-11 02:43:56 -08:00
Arthur Lu
d8c44b3fb1 remoe focus outline 2023-01-11 02:27:10 -08:00
Arthur Lu
2da3d77860 add correct event listener 2023-01-11 02:16:30 -08:00
Arthur Lu
fadf3f206c add red border on add disk device input focus 2023-01-11 02:15:58 -08:00
Arthur Lu
e9bfea7233 populate add disk device with next avaliable value,
add red border around invalid device number
2023-01-11 02:01:34 -08:00
Arthur Lu
9b455a2616 flip qemu disk ordering 2023-01-11 01:33:50 -08:00
Arthur Lu
0ee6a217e3 add pointer to disk items 2023-01-11 01:32:51 -08:00
Arthur Lu
f45647210d generalize button img hover 2023-01-11 01:30:28 -08:00
Arthur Lu
5dbdde2d9f fix form img hover 2023-01-11 01:28:09 -08:00
Arthur Lu
1aca7439a5 add hover cursor change 2023-01-11 01:24:28 -08:00
Arthur Lu
d9d9a0a0e7 fixes to limit and bus selection 2023-01-10 17:16:05 -08:00
Arthur Lu
d6d028ff89 use capital case for disk name 2023-01-10 17:12:24 -08:00
Arthur Lu
b3f76107ec fix prefix in disk population 2023-01-10 17:11:00 -08:00
Arthur Lu
5e11295390 remove all references to disks 2023-01-10 17:09:59 -08:00
Arthur Lu
724048e7d0 fix populating bug 2023-01-10 17:09:10 -08:00
Arthur Lu
583286041e fix variable typo 2023-01-10 17:06:34 -08:00
Arthur Lu
d54605edd5 fix variable name collision 2023-01-10 17:05:41 -08:00