Commit Graph

166 Commits

Author SHA1 Message Date
Arthur Lu
83a310095f update client for api changes
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-24 21:47:03 +00:00
Arthur Lu
ce9ab6c322 improve error handling for future error display,
fix styling with config disk actions

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-19 21:11:35 +00:00
Arthur Lu
85a73b3a63 improve styling in config form
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-12 22:47:05 +00:00
Arthur Lu
df4ab8a94b fix code style
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 21:26:32 +00:00
Arthur Lu
41bcedc4df add icons to instance and node status
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 21:21:11 +00:00
Arthur Lu
08dcc8bcdf improve some styling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 19:47:40 +00:00
Arthur Lu
444f8e93d2 simplify styling 2023-04-06 03:46:39 +00:00
Arthur Lu
eecf272e99 use css vars for coloring
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 22:59:36 +00:00
Arthur Lu
c16046f3fa fix remaining icons
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 21:17:18 +00:00
Arthur Lu
7f3bbbbff2 gracefully recover from config error
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-28 23:56:39 +00:00
Arthur Lu
bf00f9adf6 use new endpoint arg format 2023-02-27 02:29:55 +00:00
Arthur Lu
74509bf78e remove console.log,
add node logic to new instance form

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-24 23:27:03 +00:00
Arthur Lu
300f55c38f add node field for add new instance
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-23 22:14:06 +00:00
Arthur Lu
0639d53a5d add extra input fields for container specific options
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-23 21:58:42 +00:00
Arthur Lu
aeee33d705 add create instance form dialog
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-23 21:11:43 +00:00
Arthur Lu
108a2bdda0 group action icons by type
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-21 21:50:54 +00:00
Arthur Lu
7539ff731b add saving cpu and memory resource values on exit
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-17 22:17:20 +00:00
Arthur Lu
d8d36bee96 add handle cd add 2023-02-16 05:19:22 +00:00
Arthur Lu
03df04ac1c add cd-add button to vm config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-16 00:57:11 +00:00
Arthur Lu
f8ea7a0a03 add disk add for both vm and container
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-15 00:17:35 +00:00
Arthur Lu
e796b1a6f0 remove unecessary line
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 22:57:42 +00:00
Arthur Lu
d1546f5511 remove appendFormBody
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 22:55:09 +00:00
Arthur Lu
13a3a8f425 add create disk dialog form creation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 21:56:27 +00:00
Arthur Lu
d12ac0cf9a separate dialog and instance custom elements
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 21:08:48 +00:00
Arthur Lu
a2b37f5fe9 improve disk dialog creation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 21:03:53 +00:00
Arthur Lu
134431d88c remove handler for inactive buttons,
change delete icon

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 20:05:56 +00:00
Arthur Lu
7204968187 change disk icon to loading after action triggers 2023-02-14 09:23:37 +00:00
Arthur Lu
a7affa28a8 add blank.svg,
fix usage of conflicting id values to use dataset
2023-02-13 22:51:22 +00:00
Arthur Lu
7e36a8c835 remove commented code 2023-02-13 04:15:46 +00:00
Arthur Lu
12ec4f1ee4 fix lxc handling in disk attach
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 22:17:23 +00:00
Arthur Lu
6fec7b61a7 implement disk delete (all disk actions finished)
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 21:36:47 +00:00
Arthur Lu
bbebce3c99 add disk attach
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 21:15:00 +00:00
Arthur Lu
fcf1ea5b96 implement disk move delete source
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-02 19:35:14 +00:00
Arthur Lu
93b1450d8c populate handler for disk move
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-02 18:26:44 +00:00
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
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
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
6c3905c847 add detach disk handler 2023-01-25 02:06:31 +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
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
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
9dbbb5909a remove unrelated comments
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:02:02 -08:00