Commit Graph

304 Commits

Author SHA1 Message Date
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
c6d5d5dbc5 use safer pve ticket endpoint 2023-05-13 07:28:09 +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
b8ec177877 add colors for light prefered color scheme
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-10 21:32:41 +00:00
Arthur Lu
e509c22e3a use vars in more color styles 2023-05-08 02:27:14 +00:00
Arthur Lu
8cc6b49fbe fix dialog styling 2023-05-07 04:35:44 +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
35d35af59a small style improvements 2023-05-02 03:42:58 +00:00
Arthur Lu
9703faa1fa 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
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
7a4216e255 handle negative resources in account
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-25 15:20:59 +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
1be6566527 adjust some styling 2023-04-22 04:49:17 +00:00
Arthur Lu
5d5b805d05 improve mobile styling of instance actions 2023-04-22 04:34:48 +00:00
Arthur Lu
47cc47bee6 fix mobile styling for instance obj 2023-04-22 04:32:09 +00:00
Arthur Lu
46116e32f4 add instance info to account 2023-04-21 22:58:15 +00:00
Arthur Lu
6fd6d06978 minor change to user data
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-20 21:38:47 +00:00
Arthur Lu
41c3ba3dd3 fix login page error handling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-19 21:24:34 +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
e9ec759940 fix cookie check logic 2023-04-19 05:58:30 +00:00
Arthur Lu
9f6bf6a8ad add units to non compact values 2023-04-19 03:12:50 +00:00
Arthur Lu
4bfb619c25 add units to resource allocation 2023-04-19 03:10:51 +00:00
Arthur Lu
91278ed505 fix bug in resource table 2023-04-19 01:42:18 +00:00
Arthur Lu
23e5445995 update user db keys 2023-04-19 01:40:55 +00:00
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