Commit Graph
100 Commits
Author SHA1 Message Date
alu 977f363934 add storage change handler
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:39:28 -08:00
alu 3784a4511a fix config disk grid layout
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:26:42 -08:00
alu 253342826c use grid-column to span some inputs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:15:04 -08:00
alu 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
alu d9ccaddd3c populate diskImageSelect with options
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:59:06 -08:00
alu 5ccf122ca6 add options to disk image selection
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:48:09 -08:00
alu c0cd6a546e add ids to storage and size input
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:31:26 -08:00
alu 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
alu 6cd66db083 fix handleDeviceChange not implemented
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:19:07 -08:00
alu 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
alu 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
alu ca59f11bdb add hidden class
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 09:56:48 -08:00
alu 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
alu 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
alu b928f87a79 fix min checking
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 16:10:56 -08:00
alu b8fb562c41 fix invalid query selector ids
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 16:08:20 -08:00
alu c21838d760 fix query selector in handleUnitChange
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 16:07:06 -08:00
alu 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
alu 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
alu ef44a7bfbc fix disk config layout
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:48:54 -08:00
alu 28a4dc94cb add required params to addDiskLine
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:48:20 -08:00
alu 7fe8dd2b7e fix variable naming conflict
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:47:13 -08:00
alu 474a9c9222 add selector for size unit
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:45:51 -08:00
alu dfba5cdd5a remove unit from size
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:27:41 -08:00
alu 359bb8a7f3 fix config disk layout
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:25:03 -08:00
alu 75e77b1362 fix delete button alt text
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:24:24 -08:00
alu ba7a96f0eb add delete disk button
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:22:39 -08:00
alu 4512242336 fix storageSelect and sizeInput populating
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:16:02 -08:00
alu f7a11046e0 fix storage options populating
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:14:34 -08:00
alu 32a3c50f97 fix icon alt again
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:13:17 -08:00
alu 5bc908eaae fix bus prefix issue
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:12:46 -08:00
alu 5041f7ea1c fix icon alt text
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:10:24 -08:00
alu fd8025ed32 fix icon reference
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:09:21 -08:00
alu 2ea2865d8d make each disk configurable
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:05:58 -08:00
alu bee34d4569 remove name field
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 14:25:31 -08:00
alu b0b3698258 right align all disk config buttons 2023-01-12 15:26:45 -08:00
alu 24351ded1e add grey backgroudn to disabled inputs 2023-01-12 15:21:08 -08:00
alu 6598ae3133 disable bus when lxc,
disable path when qemu
2023-01-12 15:17:35 -08:00
alu cb9c3a051f remove console.log s 2023-01-12 15:08:45 -08:00
alu 5b111b1114 removed redundant params in populateResources 2023-01-12 15:08:02 -08:00
alu 976b62fce8 add storage target option adding 2023-01-12 15:05:22 -08:00
alu ad84fc9772 add fetch storage options 2023-01-12 14:43:17 -08:00
alu c6f8b7542d fix event listener callback function 2023-01-11 03:02:17 -08:00
alu ba97c056d8 fix disk populating bugs 2023-01-11 03:00:01 -08:00
alu d43363c066 add query select for addDiskDevice 2023-01-11 02:58:22 -08:00
alu 4f8f4ae863 try global vars 2023-01-11 02:57:37 -08:00
alu 7e71d098c4 fix parameters 2023-01-11 02:52:52 -08:00
alu 4556abc8ea consolidate handler params 2023-01-11 02:51:06 -08:00
alu 3993b23d22 add missing type param in add disk handlers 2023-01-11 02:47:36 -08:00
alu da1b0661ca fix missing param in add disk handlers 2023-01-11 02:46:25 -08:00
alu 7799954b0f streamline add disk code 2023-01-11 02:43:56 -08:00
alu 1575fa33fd remoe focus outline 2023-01-11 02:27:10 -08:00
alu 1ce205c17b add correct event listener 2023-01-11 02:16:30 -08:00
alu 847f2d4d64 add red border on add disk device input focus 2023-01-11 02:15:58 -08:00
alu 801bd1e105 populate add disk device with next avaliable value,
add red border around invalid device number
2023-01-11 02:01:34 -08:00
alu f12ee81b3e flip qemu disk ordering 2023-01-11 01:33:50 -08:00
alu 49416cdd34 add pointer to disk items 2023-01-11 01:32:51 -08:00
alu 30c6deb86c generalize button img hover 2023-01-11 01:30:28 -08:00
alu 17836e432d fix form img hover 2023-01-11 01:28:09 -08:00
alu a221643ce4 add hover cursor change 2023-01-11 01:24:28 -08:00
alu 619003616a fixes to limit and bus selection 2023-01-10 17:16:05 -08:00
alu f53882a50b use capital case for disk name 2023-01-10 17:12:24 -08:00
alu dbd6213b86 fix prefix in disk population 2023-01-10 17:11:00 -08:00
alu ffbfc04511 remove all references to disks 2023-01-10 17:09:59 -08:00
alu 60737d1e77 fix populating bug 2023-01-10 17:09:10 -08:00
alu 81da4724e9 fix variable typo 2023-01-10 17:06:34 -08:00
alu d3c4f338cf fix variable name collision 2023-01-10 17:05:41 -08:00
alu 0b139f37c0 used variable to store disk configuration 2023-01-10 17:04:20 -08:00
alu 17676a8564 add logic for bus select and device limit 2023-01-10 16:49:57 -08:00
alu b222f95483 align add disk button to the right 2023-01-10 16:15:44 -08:00
alu 15b2e7ec58 add disk mini form 2023-01-10 16:01:13 -08:00
alu de7f7ed2b5 add some top margin to create disk button 2023-01-10 00:21:48 -08:00
alu 95d735979a add disk create button 2023-01-10 00:18:23 -08:00
alu 392446219d fix disk populating issue 2023-01-09 23:51:11 -08:00
alu 0dee24b337 sort disks in numerical order 2023-01-09 23:50:11 -08:00
alu 39594672bf decrease stop.svg thickness 2023-01-09 23:02:57 -08:00
alu 3de452435c increase stop.svg slightly 2023-01-09 23:00:11 -08:00
alu 5c2a0e53d6 increase stop.svg thickness 2023-01-09 22:59:09 -08:00
alu 7bbff982fe increase start.svg size 2023-01-09 22:54:41 -08:00
alu 56bbfa01f8 use better icon for drive 2023-01-09 22:43:54 -08:00
alu ee19c32f04 use a cleaner drive icon 2023-01-09 22:31:45 -08:00
alu 4c23ac5c5e add logic for disk and drive icon 2023-01-09 22:24:04 -08:00
alu 5b8ab3859d add drive.svg,
add width and height to some svg
2023-01-09 22:19:20 -08:00
aluandGitHub da87996348 Fix bracket escape in README.md 2023-01-09 18:01:51 -08:00
aluandGitHub 8a107df67a Create README.md 2023-01-09 17:50:05 -08:00
alu 6adf04efe8 generalize disk populating
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 16:21:45 -08:00
alu cd028002a0 change center div to fit-content
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 16:08:02 -08:00
alu 45e3fb9509 add configurable disk population
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 16:02:25 -08:00
alu e20b952a2c add some margin to nav bar
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 15:29:36 -08:00
alu cf96ffe561 add auth successful message to login
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 15:20:34 -08:00
alu 0740d65363 fix cookie deletion
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 15:16:24 -08:00
alu 9d0e0db27d add deleteAllCookies util function,
add functionality to nav buttons

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 15:08:45 -08:00
alu 78dd24d6cc add border to active button
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 15:01:21 -08:00
alu e38ab19c1d fix some nav styling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 14:54:47 -08:00
alu 58736e6992 use btn-group class for nav bar
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 14:53:29 -08:00
alu 85f3571ef6 fix style bug
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 14:50:52 -08:00
alu 941e135762 fix nav bar positioning
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 14:50:07 -08:00
alu 9fe86b0317 simplify nav heiarchy
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 14:43:48 -08:00
alu ba772cfdbb readd script to index
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 14:37:32 -08:00
alu 788f3e07a7 fix nav styling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 14:36:50 -08:00