Commit Graph
100 Commits
Author SHA1 Message Date
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
alu c2046113a6 add top nav bar
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 14:29:27 -08:00
alu 915450b0b0 fix some styling 2023-01-08 21:46:14 -08:00
alu 594254dac3 fix memory populating bug 2023-01-08 21:32:22 -08:00
alu 80e259b4f7 add label for in name fieldset 2023-01-08 21:28:35 -08:00
alu b572b79798 fix label for assignment,
fix disk icon alt
2023-01-08 21:26:44 -08:00
alu 835b7261aa add image alts in config page,
add for to labels in config page
2023-01-08 21:23:08 -08:00
alu 72ec1c134f add config button to disk entry 2023-01-08 20:49:57 -08:00
alu b78d749df1 add config button to disk items 2023-01-08 20:48:58 -08:00
alu 0a544f87bc add row gap in input grid 2023-01-08 20:38:07 -08:00
alu b95187ee2c populate name field using addMetaLine 2023-01-08 20:32:15 -08:00
alu eb4970344f populate id parameter in addDiskLine 2023-01-08 20:30:09 -08:00
alu 4e15b71d5b fix another variable name conflict 2023-01-08 20:28:50 -08:00
alu 089e52b1a0 fix variable name conflict 2023-01-08 20:28:19 -08:00