Commit Graph

150 Commits

Author SHA1 Message Date
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
5971c1ebef remove periodic refresh in favor of refresh as needed 2022-12-17 17:52:20 -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
8397f313c9 disable reload for now 2022-12-17 16:15:28 -08:00
Arthur Lu
d37b8a5bc0 run instance population every second 2022-12-17 16:07:18 -08:00
Arthur Lu
e66cf54a2e remove csrf token from cookie 2022-12-15 23:51:51 -08:00
Arthur Lu
9dc6b6d588 put CSRF only for POST 2022-12-15 23:44:48 -08:00
Arthur Lu
c62f583dd4 try setting CSRFPreventionToken header 2022-12-15 23:40:04 -08:00
Arthur Lu
b63a9b254f add csrf token saving 2022-12-15 23:15:52 -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
cff0986b29 set qemu instance maxswap to 0 2022-12-14 17:31:05 -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
08dca0cb9e add implicit instance typing 2022-12-14 17:01:38 -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
5c0176dc98 simplify instacne node assignment 2022-12-14 14:11:20 -08:00
Arthur Lu
0b4f50c85c fix instance node data assignment 2022-12-14 13:48:29 -08:00
Arthur Lu
f81fea1268 add node data to instances 2022-12-14 13:47:28 -08:00
Arthur Lu
f12be4b2a9 fix concat logic 2022-12-14 13:40:19 -08:00
Arthur Lu
a1fd99e102 simplify instance display 2022-12-14 13:37:30 -08:00
Arthur Lu
4730ada40a fix instanceDiv 2022-12-13 23:28:07 -08:00
Arthur Lu
979307095d fix instance type setting,
add min-content to center-div
2022-12-13 23:26:43 -08:00
Arthur Lu
f0e5b31bdf fix node and instance element stylesheet reference 2022-12-12 21:43:19 -08:00
Arthur Lu
184cc5ee60 add useful login statuses 2022-12-12 17:12:11 -08:00
Arthur Lu
f681ad77e7 make body optional parameter for request function 2022-12-12 16:30:55 -08:00
Arthur Lu
4a97631ec9 move js to scripts folder,
move css to css folder
2022-12-12 16:27:45 -08:00