Commit Graph

55 Commits

Author SHA1 Message Date
3b23a9043c update client with new user config endpoint paths 2023-07-05 23:16:20 +00:00
240a8d2a73 fix utils.js 2023-06-30 00:34:22 +00:00
e66d3ceb33 add js linting, fix js linting issues 2023-06-29 22:20:15 +00:00
7c1c3fbb8b remove clickable from inactive action buttons 2023-06-13 03:13:22 +00:00
e32c96c41a add pcie device list to instance config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-30 15:50:32 +00:00
c2670b9f31 fix formatting 2023-05-17 21:43:03 +00:00
5bbf928b2b fix formatting 2023-05-17 21:40:37 +00:00
d10aeedcf2 remove org specific values,
add dynamic org handling

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-16 15:18:36 +00:00
d6a7785ab0 improve response error handling,
add handler for network config,
fix import errors

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 22:41:54 +00:00
6530240677 add network interface to config,
improve w3-card styling

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 21:22:12 +00:00
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