Commit Graph

45 Commits

Author SHA1 Message Date
9eb8aaa4be consolidate instance.js into index.js
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 20:36:28 +00:00
cd3027c35e code cleanup
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 20:16:38 +00:00
a3e1d2ed03 use safer pve ticket endpoint 2023-05-13 07:28:09 +00:00
80bcdc340b add colors for light prefered color scheme
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-10 21:32:41 +00:00
822c89adda code cleanup on custom dialogs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-05 21:43:15 +00:00
fcdfe020c6 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
f89e5ceec6 add icons to instance and node status
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 21:21:11 +00:00
fa66459da7 add realm selector to login
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-24 21:13:33 +00:00
216f8bede9 fix request functionr return values
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-01 00:01:56 +00:00
0caaded1a5 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
8e0fa94daa fix removed import
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-24 22:38:31 +00:00
6866b4e8a0 use client api endpont for proxmox requests
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-24 22:25:36 +00:00
26dc801fe4 add delete instance logic
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-21 22:50:01 +00:00
b6642c9f0c group action icons by type
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-21 21:50:54 +00:00
00683eddb8 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
17f243a006 use proxmox builtin consoles 2023-02-17 05:12:28 +00:00
bbc88bb5f2 open console in new window 2023-02-14 05:36:21 +00:00
139bc324e8 fix user name by adding username cookie 2023-02-14 05:21:45 +00:00
eb26054c74 add basic xternjs functionality 2023-02-14 05:14:33 +00:00
4496c5f27c implement disk delete (all disk actions finished)
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 21:36:47 +00:00
426313a2ae populate handler for disk move
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-02 18:26:44 +00:00
2d061a6650 improve dialog box custom element
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-01 23:42:30 +00:00
7e87c870d3 add button titles to instance
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-01 00:02:10 +00:00
f752baa46a change vars export naming
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-27 21:49:50 +00:00
b75f390619 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
f9691f0857 add detach disk handler 2023-01-25 02:06:31 +00:00
2d1d64a765 move api path info to vars.js
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 20:33:05 +00:00
0f9a28ae83 use extra js file to store config data
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 19:58:44 +00:00
8676eb6dc3 change attach and detach icons
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 18:08:00 +00:00
0740d65363 fix cookie deletion
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 15:16:24 -08:00
9d0e0db27d 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
915450b0b0 fix some styling 2023-01-08 21:46:14 -08:00
9854792407 try window.assign 2022-12-20 15:45:43 -08:00
818748ef2b remove unecessary cookie header 2022-12-19 15:22:20 -08:00
e369456c57 add config.html,
add config.js,
add getURIData function to parse URI search params
2022-12-18 22:14:57 -08:00
73ab09983c fix goToPage 2022-12-18 21:58:46 -08:00
5dc35cbbf3 modularize redirect function 2022-12-18 21:52:39 -08:00
4153d7f76c run instance population every second 2022-12-17 16:07:18 -08:00
fcb28f0a9d remove csrf token from cookie 2022-12-15 23:51:51 -08:00
c83c706a32 put CSRF only for POST 2022-12-15 23:44:48 -08:00
aa8ff06b6f try setting CSRFPreventionToken header 2022-12-15 23:40:04 -08:00
7618b24898 add csrf token saving 2022-12-15 23:15:52 -08:00
ccf7efb9b9 add useful login statuses 2022-12-12 17:12:11 -08:00
ad9969c393 make body optional parameter for request function 2022-12-12 16:30:55 -08:00
5cee249285 move js to scripts folder,
move css to css folder
2022-12-12 16:27:45 -08:00