Commit Graph

54 Commits

Author SHA1 Message Date
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
bceb816478 add diskMove handler creation, improve form css
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-02 00:12:36 +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
37839d4117 add dialog confirm,
add resize handler

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-30 22:21:05 +00:00
Arthur Lu
cc72688bf8 create custom dialog form element
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-27 22:33:05 +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
584696772a 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
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
2fe9e847c9 hide instance actions if the node is offline
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:45:16 -08:00
Arthur Lu
23f3153294 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
Arthur Lu
1b4e818b6d fix unknown status check order
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:36:34 -08:00
Arthur Lu
d957fb35ef fix instance icon assignment
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:34:22 -08:00
Arthur Lu
1c0faf2a71 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
Arthur Lu
a98057ae39 remove resource bar from instance article 2022-12-21 15:31:31 -08:00
Arthur Lu
913175239c populate static elements of config.html,
add node info to config page search,
change login.css to form.css
2022-12-19 16:13:43 -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
f5e360046d fix config button updating 2022-12-18 21:05:05 -08:00
Arthur Lu
652c409055 change config button icon on power action 2022-12-18 21:00:58 -08:00
Arthur Lu
bbf94c983d handle instance action update by process id 2022-12-18 20:32:05 -08:00
Arthur Lu
a31e370d4d set proper alt for instance type/status and power action 2022-12-18 17:11:35 -08:00
Arthur Lu
6c64c06687 add loading icon 2022-12-18 17:06:05 -08:00
Arthur Lu
3fd9f3bb3f remove console 2022-12-18 16:56:02 -08:00
Arthur Lu
015855d38f add actionLock to element power action 2022-12-18 16:53:07 -08:00
Arthur Lu
f4374faccd assign alt properties 2022-12-17 17:36:45 -08:00
Arthur Lu
c39fca591c remove debug console.log 2022-12-17 16:44:43 -08:00
Arthur Lu
c5137481b7 update power action button in element updater 2022-12-17 16:37:26 -08:00
Arthur Lu
aacb2cb86d fix waitFor issue 2022-12-17 16:35:51 -08:00
Arthur Lu
14e35fe670 handle update element in listener 2022-12-17 16:34:40 -08:00
Arthur Lu
d37b8a5bc0 run instance population every second 2022-12-17 16:07:18 -08:00
Arthur Lu
2c7121d84a fix power management request 2022-12-15 23:08:56 -08:00
Arthur Lu
07b17cf12c fix import 2022-12-15 23:05:32 -08:00
Arthur Lu
5dcd6a805d implement basic power management 2022-12-15 23:03:50 -08:00
Arthur Lu
b2c8458e5d add action icons,
set action icons depending on instance status
2022-12-15 18:28:12 -08:00
Arthur Lu
b4a15c4118 add power button html and css 2022-12-15 18:04:20 -08:00
Arthur Lu
f53048edc4 fix resource disk text assignment 2022-12-14 17:28:48 -08:00
Arthur Lu
f12454a56c add resource details to instance article 2022-12-14 17:20:31 -08:00
Arthur Lu
866d3c6aca fix instance article element selection 2022-12-14 16:10:28 -08:00
Arthur Lu
1b57b587c7 fix instance article content 2022-12-14 16:07:25 -08:00
Arthur Lu
77673e80fe use templates to streamline instance creation 2022-12-14 16:05:15 -08:00
Arthur Lu
36b86e4edb improve instance article layout 2022-12-14 15:47:29 -08:00
Arthur Lu
90eba4904c arrange instance elements inline 2022-12-14 15:38:13 -08:00
Arthur Lu
223681ccc6 add top div to instance article 2022-12-14 15:32:22 -08:00
Arthur Lu
12ef3de58c fix node icon ref 2022-12-14 15:29:08 -08:00
Arthur Lu
7b276c2649 add icons 2022-12-14 15:28:22 -08:00
Arthur Lu
6400f36324 separate instance card data elements 2022-12-14 14:42:40 -08:00
Arthur Lu
8ef1cc3344 add instance styling 2022-12-14 14:30:46 -08:00
Arthur Lu
a1fd99e102 simplify instance display 2022-12-14 13:37:30 -08:00