Commit Graph

380 Commits

Author SHA1 Message Date
Arthur Lu
be50bf3de9 add basic xternjs functionality 2023-02-14 05:14:33 +00:00
Arthur Lu
1e076ca3e0 improve some styling to adapt to different screen sizes
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 01:36:25 +00:00
Arthur Lu
a7affa28a8 add blank.svg,
fix usage of conflicting id values to use dataset
2023-02-13 22:51:22 +00:00
Arthur Lu
7e36a8c835 remove commented code 2023-02-13 04:15:46 +00:00
Arthur Lu
e7973db190 improve power management status update
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 22:48:52 +00:00
Arthur Lu
12ec4f1ee4 fix lxc handling in disk attach
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 22:17:23 +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
bbebce3c99 add disk attach
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 21:15:00 +00:00
Arthur Lu
a7bc917e16
fix README code formatting 2023-02-06 16:28:58 -08:00
Arthur Lu
382da648fd fix form input labels in login 2023-02-06 21:59:00 +00:00
Arthur Lu
fcf1ea5b96 implement disk move delete source
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-02 19:35:14 +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
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
4e6f8e8a63 add example entries in vars.js.template
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-01 22:26:56 +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
7f9130b33f 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
Arthur Lu
77baa2f30c fix disk detach and disk resize issues
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-30 23:35:26 +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
dbbb3ab09c add icon to all pages 2023-01-28 03:18:20 +00:00
Arthur Lu
98bae790f3 add favicon
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-28 00:30:46 +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
0ba917706e avoid refreshing page on disk change
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-26 19:55:17 +00:00
Arthur Lu
603b20ee9c separate disk and resource population
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-26 19:48:41 +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
120e719a28
Update README.md 2023-01-26 01:10:23 -08:00
Arthur Lu
6c3905c847 add detach disk handler 2023-01-25 02:06:31 +00:00
Arthur Lu
10c197f3df
Update README.md 2023-01-23 17:45:03 -08:00
Arthur Lu
c5d36c26ee update README with new instructions 2023-01-20 05:02:50 +00:00
Arthur Lu
32cdfb3334 add template file for vars.js 2023-01-20 04:58:33 +00:00
Arthur Lu
d8ff6c1235 remove vars.js 2023-01-20 04:56:31 +00:00
Arthur Lu
b53c16b21b update README.md with new instructions
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 20:40:22 +00:00
Arthur Lu
7ecf78f24d untrack vars.js
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 20:33:34 +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
c09300e6a0 add config for tronnet, will remove later
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 19:59:12 +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
2298b907d9 change attach and detach icons,
imrpove action bar layout

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 02:23:28 +00:00
Arthur Lu
1bb0aa5d3e add action button icons
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 02:13:07 +00:00
Arthur Lu
2557292a28 add unused disk to disk populate
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 00:54:14 +00:00
Arthur Lu
be589fd586 revert to show disk text config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 00:35:52 +00:00
Arthur Lu
5f3f6a9f53 improve acessibility
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-18 23:43:57 +00:00
Arthur Lu
d52e730dd1 remove padding from first form fieldset
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-18 22:58:00 +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