Commit Graph

63 Commits

Author SHA1 Message Date
Arthur Lu
fabc934be6 use /cluster/* api routes 2023-08-03 00:35:56 +00:00
Arthur Lu
c230adeb18 fix linting errors 2023-07-28 18:32:04 +00:00
Arthur Lu
93e120edb5 add default sync sheme 2023-07-12 22:46:59 +00:00
Arthur Lu
0e07557375 implement always and hash sync 2023-07-12 22:37:08 +00:00
Arthur Lu
ab257e907a update sync endpoint 2023-07-11 22:07:08 +00:00
Arthur Lu
f8d59fd9c9 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
Arthur Lu
2b161d44d8 fix add new instance handler 2023-07-11 00:22:49 +00:00
Arthur Lu
24c1ac00a5 use new endpoint params 2023-07-04 04:41:39 +00:00
Arthur Lu
392148852a add js linting, fix js linting issues 2023-06-29 22:20:15 +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
d34874ca02 remove clickable from inactive action buttons 2023-06-13 03:13:22 +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
cf316fbee0 fix formatting 2023-05-17 21:43:03 +00:00
Arthur Lu
7141c0d23c fix formatting 2023-05-17 21:40:37 +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
4fbc4ee868 fix bug in instance delete
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 21:24:43 +00:00
Arthur Lu
d9b56ecc48 reduce div nesting in instances
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 20:41:31 +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
b5c181b818 code cleanup
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 20:16:38 +00:00
Arthur Lu
56bf77df96 fix some styling 2023-05-15 02:56:48 +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
54533e213b 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
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
35d35af59a small style improvements 2023-05-02 03:42:58 +00:00
Arthur Lu
e9ec759940 fix cookie check logic 2023-04-19 05:58:30 +00:00
Arthur Lu
069b3d197f improve responsive scaling with medium screens
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-12 22:59:57 +00:00
Arthur Lu
ac2f5b8a21 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
Arthur Lu
484ed1b92a use w3.css for primary styling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-11 21:38:51 +00:00
Arthur Lu
15f14215d1 bad fix for responsive instance container
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 21:55:31 +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
5df3cf23f5 add more info to insatnce container 2023-04-06 04:21:03 +00:00
Arthur Lu
3c2fa28f0a make instance article span entire width
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 22:49:24 +00:00
Arthur Lu
81e4832fa2 add basic resource viewing
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 21:57:03 +00:00
Arthur Lu
d1cd928d11 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
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
35ca6ad9ca 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
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
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
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
78edc9e0a3 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
Arthur Lu
18da1b996d fix goToPage 2022-12-18 21:58:46 -08:00