Commit Graph

394 Commits

Author SHA1 Message Date
e83cde0db7 add settings page 2023-07-12 00:24:16 +00:00
55881bdcc0 update sync endpoint 2023-07-11 22:07:08 +00:00
1dd32eda81 implement better HTTP request types handling,
add live updating of instances using statushash endpoint to reduce data transfer
2023-07-11 21:14:54 +00:00
defc667041 fix add new instance handler 2023-07-11 00:22:49 +00:00
893f4aad54 use float left on legend and input-grid to remove legend span nesting,
improve linting tool
2023-07-06 04:53:47 +00:00
8a37615721 add pci devices to account 2023-07-05 23:29:14 +00:00
3b23a9043c update client with new user config endpoint paths 2023-07-05 23:16:20 +00:00
4d86104e43 use new endpoint params 2023-07-04 04:41:39 +00:00
240a8d2a73 fix utils.js 2023-06-30 00:34:22 +00:00
f7dd99e933 remove todo 2023-06-29 22:21:17 +00:00
e66d3ceb33 add js linting, fix js linting issues 2023-06-29 22:20:15 +00:00
a679e7a2d9 remove user vlan tag info,
update client with new api route
2023-06-29 02:08:52 +00:00
1359ebcc87 fix pci device pcie form get 2023-06-23 03:34:44 +00:00
59e75659bd fix issues in pci device config and add 2023-06-23 03:03:28 +00:00
8365102ce9 fix bugs in pcie device config dialogs 2023-06-22 00:33:53 +00:00
499d7eee02 add device config/add/delete handlers,
fix some styling with forms
2023-06-19 01:43:52 +00:00
3e50e4cbfe shorten cpu config labels
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-14 22:54:53 +00:00
c8d4b466fa populate processor types from config values
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-14 22:34:48 +00:00
0bb82dc81a fix proc type selector issue in config,
update account resource table with new API format
2023-06-14 04:56:49 +00:00
8fdd970a44 add processor type to config 2023-06-14 01:13:06 +00:00
7c1c3fbb8b remove clickable from inactive action buttons 2023-06-13 03:13:22 +00:00
8eee9fabf1 fix config page styling 2023-06-09 06:55:14 +00:00
55a3574da2 implement network add and delete 2023-06-09 04:25:53 +00:00
1532937f00 add vlan tag to account info 2023-06-09 00:28:26 +00:00
0c05140bfe update config.js to api route changes
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-08 23:33:55 +00:00
7409398e11 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
2d0b8aada6 fix config pci device population
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-02 23:15:26 +00:00
f6d51e742c display device_names in pcie devices config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-01 17:21:35 +00:00
e32c96c41a add pcie device list to instance config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-30 15:50:32 +00:00
ec96b9ec35 fix network name label in config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-19 20:07:34 +00:00
928d1d1516 fix bugs in api changes
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-18 20:19:57 +00:00
bff5ca3929 update account nodes to new route format
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-18 20:08:39 +00:00
3ebd43bfb0 update disk attach for new api change 2023-05-18 08:09:23 +00:00
c2670b9f31 fix formatting 2023-05-17 21:43:03 +00:00
5bbf928b2b fix formatting 2023-05-17 21:40:37 +00:00
6a00a22dc2 fix account network usage
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-16 16:51:39 +00:00
d10aeedcf2 remove org specific values,
add dynamic org handling

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-16 15:18:36 +00:00
d6a7785ab0 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
b94758c175 fix bug in instance delete
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 21:24:43 +00:00
6530240677 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
bbc67fa6fb reduce div nesting in instances
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 20:41:31 +00:00
9eb8aaa4be consolidate instance.js into index.js
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 20:36:28 +00:00
cd3027c35e code cleanup
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 20:16:38 +00:00
d057d98924 fix some styling 2023-05-15 02:56:48 +00:00
a3e1d2ed03 use safer pve ticket endpoint 2023-05-13 07:28:09 +00:00
06c6e926ca display errors as modal dialogs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-12 21:26:26 +00:00
759571535e add node vmid cores and memory limits to inputs in instance create form
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-12 21:14:49 +00:00
c459dad024 fix requestPVE call params 2023-05-11 07:13:41 +00:00
80bcdc340b add colors for light prefered color scheme
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-10 21:32:41 +00:00
c3000f8a3a use vars in more color styles 2023-05-08 02:27:14 +00:00
32f0625770 fix dialog styling 2023-05-07 04:35:44 +00:00
822c89adda code cleanup on custom dialogs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-05 21:43:15 +00:00
86dd966691 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
d351fdfb67 small style improvements 2023-05-02 03:42:58 +00:00
b959d3b872 improve styling for login box and alert box,
delete modal dialog alert box on close

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-28 23:53:38 +00:00
4b83cdaa77 update client with new instance resource api path
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-25 15:32:34 +00:00
938741d429 handle negative resources in account
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-25 15:20:59 +00:00
bcc7e0ea57 update client for api changes
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-24 21:47:03 +00:00
4c75398cac adjust some styling 2023-04-22 04:49:17 +00:00
2827f48ce0 improve mobile styling of instance actions 2023-04-22 04:34:48 +00:00
01878b1fe7 fix mobile styling for instance obj 2023-04-22 04:32:09 +00:00
9903f75959 add instance info to account 2023-04-21 22:58:15 +00:00
397cb16f48 minor change to user data
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-20 21:38:47 +00:00
aacc264314 fix login page error handling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-19 21:24:34 +00:00
fcdfe020c6 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
289ca85e81 fix cookie check logic 2023-04-19 05:58:30 +00:00
8f37806280 add units to non compact values 2023-04-19 03:12:50 +00:00
472952d298 add units to resource allocation 2023-04-19 03:10:51 +00:00
94ea16d4f5 fix bug in resource table 2023-04-19 01:42:18 +00:00
115cc51b16 update user db keys 2023-04-19 01:40:55 +00:00
a23aad9e99 use new resource return format
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-18 23:31:54 +00:00
9be45c952f improve login style and logic
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-18 20:08:59 +00:00
16be63e98f improve responsive scaling with medium screens
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-12 22:59:57 +00:00
ce18b94ea1 improve styling in config form
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-12 22:47:05 +00:00
4ef1cd7480 fix input and select styling for new instance dialog
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-12 22:35:17 +00:00
e8908310b6 improve styling for dialogs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-12 22:23:40 +00:00
ad43fa7f73 update dialogs to use w3 styling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-11 22:54:37 +00:00
de36f2261a use w3.css for primary styling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-11 21:38:51 +00:00
729f8c0faa add proper account resource usage functionality
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-11 18:01:06 +00:00
15822fdacb better responsive handling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 22:08:11 +00:00
389a548d00 bad fix for responsive instance container
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 21:55:31 +00:00
c1ca182d10 fix code style
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 21:26:32 +00:00
f89e5ceec6 add icons to instance and node status
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 21:21:11 +00:00
c9ce701696 improve some styling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 19:47:40 +00:00
a76168d1ab add more info to insatnce container 2023-04-06 04:21:03 +00:00
09bf0ebbe9 simplify styling 2023-04-06 03:46:39 +00:00
31042464a4 change resource page to account page,
improve table styling

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-05 22:48:36 +00:00
f1dc99dedd rename buttons.css to button.css,
add table styling and prepare for better table generation

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-05 22:29:15 +00:00
8b9cbec5fb use css vars for coloring
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 22:59:36 +00:00
c742ed7085 make instance article span entire width
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 22:49:24 +00:00
8e60ece366 add basic resource viewing
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 21:57:03 +00:00
33fe93089e fix remaining icons
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 21:17:18 +00:00
d41162ebae major changes to styling:
move nav bar to left side and implement hover animations,
generalize color scheme using css variables,
move button and btn-group related styles to buttons.css,
consolidate form input and select styles in form.css

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-25 23:38:15 +00:00
42e8d729d6 set default login realm in login page
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-24 22:25:14 +00:00
fa66459da7 add realm selector to login
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-24 21:13:33 +00:00
216f8bede9 fix request functionr return values
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-01 00:01:56 +00:00
e72ca340c9 gracefully recover from config error
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-28 23:56:39 +00:00
0caaded1a5 fix request function return value to include status value
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-28 22:50:12 +00:00
2df5284d90 implement instance add,
fix multiple onclick listeners being added

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-27 23:03:19 +00:00
fc1972a344 use new endpoint arg format 2023-02-27 02:29:55 +00:00