Commit Graph

39 Commits

Author SHA1 Message Date
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
Arthur Lu
fe27bba986 modularize redirect function 2022-12-18 21:52:39 -08:00
Arthur Lu
5971c1ebef remove periodic refresh in favor of refresh as needed 2022-12-17 17:52:20 -08:00
Arthur Lu
8397f313c9 disable reload for now 2022-12-17 16:15:28 -08:00
Arthur Lu
d37b8a5bc0 run instance population every second 2022-12-17 16:07:18 -08:00
Arthur Lu
cff0986b29 set qemu instance maxswap to 0 2022-12-14 17:31:05 -08:00
Arthur Lu
08dca0cb9e add implicit instance typing 2022-12-14 17:01:38 -08:00
Arthur Lu
5c0176dc98 simplify instacne node assignment 2022-12-14 14:11:20 -08:00
Arthur Lu
0b4f50c85c fix instance node data assignment 2022-12-14 13:48:29 -08:00
Arthur Lu
f81fea1268 add node data to instances 2022-12-14 13:47:28 -08:00
Arthur Lu
f12be4b2a9 fix concat logic 2022-12-14 13:40:19 -08:00
Arthur Lu
a1fd99e102 simplify instance display 2022-12-14 13:37:30 -08:00
Arthur Lu
f681ad77e7 make body optional parameter for request function 2022-12-12 16:30:55 -08:00
Arthur Lu
4a97631ec9 move js to scripts folder,
move css to css folder
2022-12-12 16:27:45 -08:00