Commit Graph

194 Commits

Author SHA1 Message Date
Arthur Lu
bb069f9d5a fix bugs in pcie device config dialogs 2023-06-22 00:33:53 +00:00
Arthur Lu
41e28f4c4b add device config/add/delete handlers,
fix some styling with forms
2023-06-19 01:43:52 +00:00
Arthur Lu
b946fcc773 shorten cpu config labels
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-14 22:54:53 +00:00
Arthur Lu
22c97fc026 populate processor types from config values
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-14 22:34:48 +00:00
Arthur Lu
0f29d3b40e fix proc type selector issue in config,
update account resource table with new API format
2023-06-14 04:56:49 +00:00
Arthur Lu
73ea740600 add processor type to config 2023-06-14 01:13:06 +00:00
Arthur Lu
d34874ca02 remove clickable from inactive action buttons 2023-06-13 03:13:22 +00:00
Arthur Lu
c8f8737582 fix config page styling 2023-06-09 06:55:14 +00:00
Arthur Lu
a0c2599f4e implement network add and delete 2023-06-09 04:25:53 +00:00
Arthur Lu
262a54df2b update config.js to api route changes
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-08 23:33:55 +00:00
Arthur Lu
ee661b3dca add buttons to add and delete network interfaces and pcie devices
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-03 00:25:57 +00:00
Arthur Lu
85dd99000d fix config pci device population
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-02 23:15:26 +00:00
Arthur Lu
8a930228c6 display device_names in pcie devices config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-01 17:21:35 +00:00
Arthur Lu
aebab2222c add pcie device list to instance config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-30 15:50:32 +00:00
Arthur Lu
eb61b95c79 fix network name label in config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-19 20:07:34 +00:00
Arthur Lu
c254ba302b fix bugs in api changes
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-18 20:19:57 +00:00
Arthur Lu
6182a87e2c update disk attach for new api change 2023-05-18 08:09:23 +00:00
Arthur Lu
7141c0d23c fix formatting 2023-05-17 21:40:37 +00:00
Arthur Lu
2bb73ce828 fix account network usage
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-16 16:51:39 +00:00
Arthur Lu
0f149ba5c7 remove org specific values,
add dynamic org handling

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-16 15:18:36 +00:00
Arthur Lu
d6b576abcc improve response error handling,
add handler for network config,
fix import errors

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 22:41:54 +00:00
Arthur Lu
2fed6e6134 add network interface to config,
improve w3-card styling

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 21:22:12 +00:00
Arthur Lu
a645102684 consolidate instance.js into index.js
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 20:36:28 +00:00
Arthur Lu
119efcda33 display errors as modal dialogs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-12 21:26:26 +00:00
Arthur Lu
f5b0c29109 fix requestPVE call params 2023-05-11 07:13:41 +00:00
Arthur Lu
aff0d6aac8 code cleanup on custom dialogs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-05 21:43:15 +00:00
Arthur Lu
8edca1eed0 improve account style,
add allowed nodes to account page,
reduce use of innerHTML

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-03 21:06:27 +00:00
Arthur Lu
927ae672a6 update client with new instance resource api path
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-25 15:32:34 +00:00
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