Commit Graph

226 Commits

Author SHA1 Message Date
3e910f8e5d differentiate cancel and confirm buttons in dialog
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 21:13:38 +00:00
3d020fefb9 capitalize all button text
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 21:11:10 +00:00
6b1ed9399c separate dialog and instance custom elements
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 21:08:48 +00:00
1a6e31621e remove unecessary hr id
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 21:04:11 +00:00
5c83cacd45 improve disk dialog creation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 21:03:53 +00:00
cccf01258d remove handler for inactive buttons,
change delete icon

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 20:05:56 +00:00
afa0b4838f change disk icon to loading after action triggers 2023-02-14 09:23:37 +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
73f89fa48d add blank.svg,
fix usage of conflicting id values to use dataset
2023-02-13 22:51:22 +00:00
f989f7fc13 remove commented code 2023-02-13 04:15:46 +00:00
6c2d6e9ca2 improve power management status update
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 22:48:52 +00:00
5d42dbe637 fix lxc handling in disk attach
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 22:17:23 +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
efa2585de2 add disk attach
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 21:15:00 +00:00
ae49938303 implement disk move delete source
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-02 19:35:14 +00:00
426313a2ae populate handler for disk move
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-02 18:26:44 +00:00
4d66972aae add diskMove handler creation, improve form css
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-02 00:12:36 +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
f3c46f6f07 add temp fix for long disk size change issue
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-30 23:43:00 +00:00
e5601f9f3a fix disk detach and disk resize issues
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-30 23:35:26 +00:00
821d4622f7 add dialog confirm,
add resize handler

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-30 22:21:05 +00:00
04b959bd16 create custom dialog form element
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-27 22:33:05 +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
8134925c03 avoid refreshing page on disk change
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-26 19:55:17 +00:00
7b712ad80b separate disk and resource population
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-26 19:48:41 +00:00
a8f9c67711 remove template in index,
add article content in js

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-26 19:33:39 +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
c99f6cef2d add config for tronnet, will remove later
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 19:59:12 +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
63b2bebf2e add action button icons
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 02:13:07 +00:00
62b4fa40e8 add unused disk to disk populate
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 00:54:14 +00:00
727a5dcd81 revert to show disk text config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 00:35:52 +00:00
96ab6791b2 improve acessibility
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-18 23:43:57 +00:00
dd165d58a5 hide instance actions if the node is offline
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:45:16 -08:00
019ee1b140 set instance to original if request returns an error
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:41:52 -08:00
dccb5ec582 fix unknown status check order
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:36:34 -08:00
93490a7e65 fix instance icon assignment
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:34:22 -08:00
72e0407be2 show blank name if instance is unknown,
show stopped icon if instance is unknown

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:33:21 -08:00
6a20785b7c ensure node search returns a node
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:29:10 -08:00
80be88c6b9 fix variable item typo
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:27:15 -08:00
5077dca134 fix finding nodes in resources
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:26:49 -08:00
18b70c4506 fix instance population
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:26:19 -08:00
89d5fcff16 use resource path rather than querying each node
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:24:51 -08:00
7f29719532 remove unrelated comments
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:02:02 -08:00