Commit Graph

318 Commits

Author SHA1 Message Date
Arthur Lu
bceb816478 add diskMove handler creation, improve form css
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-02 00:12:36 +00:00
Arthur Lu
ed36cb62d2 improve dialog box custom element
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-01 23:42:30 +00:00
Arthur Lu
4e6f8e8a63 add example entries in vars.js.template
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-01 22:26:56 +00:00
Arthur Lu
1ae3ffe886 add button titles to instance
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-01 00:02:10 +00:00
Arthur Lu
7f9130b33f add temp fix for long disk size change issue
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-30 23:43:00 +00:00
Arthur Lu
77baa2f30c fix disk detach and disk resize issues
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-30 23:35:26 +00:00
Arthur Lu
37839d4117 add dialog confirm,
add resize handler

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-30 22:21:05 +00:00
Arthur Lu
dbbb3ab09c add icon to all pages 2023-01-28 03:18:20 +00:00
Arthur Lu
98bae790f3 add favicon
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-28 00:30:46 +00:00
Arthur Lu
cc72688bf8 create custom dialog form element
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-27 22:33:05 +00:00
Arthur Lu
d6a37ef59c change vars export naming
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-27 21:49:50 +00:00
Arthur Lu
c6ff9c8cfa simplify power button logic,
add icons for loading instances

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-26 20:50:15 +00:00
Arthur Lu
0ba917706e avoid refreshing page on disk change
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-26 19:55:17 +00:00
Arthur Lu
603b20ee9c separate disk and resource population
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-26 19:48:41 +00:00
Arthur Lu
584696772a remove template in index,
add article content in js

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-26 19:33:39 +00:00
Arthur Lu
120e719a28
Update README.md 2023-01-26 01:10:23 -08:00
Arthur Lu
6c3905c847 add detach disk handler 2023-01-25 02:06:31 +00:00
Arthur Lu
10c197f3df
Update README.md 2023-01-23 17:45:03 -08:00
Arthur Lu
c5d36c26ee update README with new instructions 2023-01-20 05:02:50 +00:00
Arthur Lu
32cdfb3334 add template file for vars.js 2023-01-20 04:58:33 +00:00
Arthur Lu
d8ff6c1235 remove vars.js 2023-01-20 04:56:31 +00:00
Arthur Lu
b53c16b21b update README.md with new instructions
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 20:40:22 +00:00
Arthur Lu
7ecf78f24d untrack vars.js
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 20:33:34 +00:00
Arthur Lu
860fd2c828 move api path info to vars.js
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 20:33:05 +00:00
Arthur Lu
c09300e6a0 add config for tronnet, will remove later
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 19:59:12 +00:00
Arthur Lu
c9f9ad590c use extra js file to store config data
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 19:58:44 +00:00
Arthur Lu
1b4e8478dc change attach and detach icons
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 18:08:00 +00:00
Arthur Lu
2298b907d9 change attach and detach icons,
imrpove action bar layout

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 02:23:28 +00:00
Arthur Lu
1bb0aa5d3e add action button icons
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 02:13:07 +00:00
Arthur Lu
2557292a28 add unused disk to disk populate
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 00:54:14 +00:00
Arthur Lu
be589fd586 revert to show disk text config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 00:35:52 +00:00
Arthur Lu
5f3f6a9f53 improve acessibility
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-18 23:43:57 +00:00
Arthur Lu
d52e730dd1 remove padding from first form fieldset
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-18 22:58:00 +00:00
Arthur Lu
2fe9e847c9 hide instance actions if the node is offline
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:45:16 -08:00
Arthur Lu
23f3153294 set instance to original if request returns an error
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:41:52 -08:00
Arthur Lu
1b4e818b6d fix unknown status check order
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:36:34 -08:00
Arthur Lu
d957fb35ef fix instance icon assignment
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:34:22 -08:00
Arthur Lu
1c0faf2a71 show blank name if instance is unknown,
show stopped icon if instance is unknown

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:33:21 -08:00
Arthur Lu
f2da3882dc ensure node search returns a node
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:29:10 -08:00
Arthur Lu
3457e46a69 fix variable item typo
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:27:15 -08:00
Arthur Lu
7127439970 fix finding nodes in resources
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:26:49 -08:00
Arthur Lu
94bf131c43 fix instance population
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:26:19 -08:00
Arthur Lu
1d4981c93f use resource path rather than querying each node
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:24:51 -08:00
Arthur Lu
9dbbb5909a remove unrelated comments
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:02:02 -08:00
Arthur Lu
004c5279fb remove unused function getDiskImageOptions
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:56:20 -08:00
Arthur Lu
720413760a keep disk filename prefixes to assign value correctly
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:50:59 -08:00
Arthur Lu
8cd7142d97 remove iso/ prefix from disk filename
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:48:50 -08:00
Arthur Lu
9d3ab59768 fix varaible naming for storage in handleStorageChange
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:45:29 -08:00
Arthur Lu
445fc10e5f fix varaible instantiation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:44:34 -08:00
Arthur Lu
c5224b71dc fix disk image select id assignment
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:43:50 -08:00