Commit Graph

40 Commits

Author SHA1 Message Date
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
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
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
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
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
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
87e50051c7 use proxmox builtin consoles 2023-02-17 05:12:28 +00:00
Arthur Lu
cd857d7835 open console in new window 2023-02-14 05:36:21 +00:00
Arthur Lu
fca1adea24 fix user name by adding username cookie 2023-02-14 05:21:45 +00:00
Arthur Lu
be50bf3de9 add basic xternjs functionality 2023-02-14 05:14:33 +00:00
Arthur Lu
6fec7b61a7 implement disk delete (all disk actions finished)
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 21:36:47 +00:00
Arthur Lu
93b1450d8c populate handler for disk move
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-02 18:26:44 +00:00
Arthur Lu
ed36cb62d2 improve dialog box custom element
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-01 23:42:30 +00:00
Arthur Lu
1ae3ffe886 add button titles to instance
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-01 00:02:10 +00:00
Arthur Lu
d6a37ef59c change vars export naming
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-27 21:49:50 +00:00
Arthur Lu
c6ff9c8cfa simplify power button logic,
add icons for loading instances

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-26 20:50:15 +00:00
Arthur Lu
6c3905c847 add detach disk handler 2023-01-25 02:06:31 +00:00
Arthur Lu
860fd2c828 move api path info to vars.js
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 20:33:05 +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
1b4e8478dc change attach and detach icons
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 18:08:00 +00:00
Arthur Lu
dace5237c8 fix cookie deletion
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 15:16:24 -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
45d6a6993b fix some styling 2023-01-08 21:46:14 -08:00
Arthur Lu
d2bee8d432 try window.assign 2022-12-20 15:45:43 -08:00
Arthur Lu
529959cba5 remove unecessary cookie header 2022-12-19 15:22:20 -08:00
Arthur Lu
ecb7e6f192 add config.html,
add config.js,
add getURIData function to parse URI search params
2022-12-18 22:14:57 -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
d37b8a5bc0 run instance population every second 2022-12-17 16:07:18 -08:00
Arthur Lu
e66cf54a2e remove csrf token from cookie 2022-12-15 23:51:51 -08:00
Arthur Lu
9dc6b6d588 put CSRF only for POST 2022-12-15 23:44:48 -08:00
Arthur Lu
c62f583dd4 try setting CSRFPreventionToken header 2022-12-15 23:40:04 -08:00
Arthur Lu
b63a9b254f add csrf token saving 2022-12-15 23:15:52 -08:00
Arthur Lu
184cc5ee60 add useful login statuses 2022-12-12 17:12:11 -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