Commit Graph

274 Commits

Author SHA1 Message Date
Arthur Lu
a7de1b7366 use new resource return format
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-18 23:31:54 +00:00
Arthur Lu
ed7c79df78 improve login style and logic
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-18 20:08:59 +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
85a73b3a63 improve styling in config form
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-12 22:47:05 +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
6d5488abd6 improve styling for dialogs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-12 22:23:40 +00:00
Arthur Lu
1dc42baeb1 update dialogs to use w3 styling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-11 22:54:37 +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
0b701cc0d0 add proper account resource usage functionality
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-11 18:01:06 +00:00
Arthur Lu
3ec4edab24 better responsive handling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 22:08:11 +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
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
5df3cf23f5 add more info to insatnce container 2023-04-06 04:21:03 +00:00
Arthur Lu
444f8e93d2 simplify styling 2023-04-06 03:46:39 +00:00
Arthur Lu
c6659cffd9 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
Arthur Lu
055e7ddc14 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
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
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
c16046f3fa fix remaining icons
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 21:17:18 +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
fc0e878353 set default login realm in login page
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-24 22:25:14 +00:00
Arthur Lu
4f1c6a1e10 add realm selector to login
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-24 21:13:33 +00:00
Arthur Lu
d7e835b3c5 fix request functionr return values
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-01 00:01:56 +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
7f6d5d319e 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
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
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
5046bfb1c5 fix removed import
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-24 22:38:31 +00:00
Arthur Lu
b1a8dba7c5 use client api endpont for proxmox requests
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-24 22:25:36 +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
f72bb605e5 add delete instance logic
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-21 22:50:01 +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
26e46a9c6b add delete button to insances,
add confirm message on start/stop,
change power action from shutdown to stop,
improve action button alt texts

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-21 19:57:47 +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
87e50051c7 use proxmox builtin consoles 2023-02-17 05:12:28 +00:00
Arthur Lu
d8d36bee96 add handle cd add 2023-02-16 05:19:22 +00:00
Arthur Lu
c665d89fc9 comment out console handler
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-16 01:25:17 +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
2218fd558a differentiate cancel and confirm buttons in dialog
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 21:13:38 +00:00
Arthur Lu
a410933ff2 capitalize all button text
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 21:11:10 +00:00