Commit Graph

219 Commits

Author SHA1 Message Date
Arthur Lu
191936fde7 fix username input 2022-12-19 18:47:05 -08:00
Arthur Lu
6ac057bdbf use grid layout for forms 2022-12-19 18:46:28 -08:00
Arthur Lu
9825b6b951 undo input width 2022-12-19 18:36:41 -08:00
Arthur Lu
2d37f3e589 make config inputs 100% width 2022-12-19 18:35:09 -08:00
Arthur Lu
86eadf1791 use innerHTML directly 2022-12-19 18:21:48 -08:00
Arthur Lu
3368305b9b remove unecessary line 2022-12-19 18:17:19 -08:00
Arthur Lu
4b5c00f541 use label property 2022-12-19 18:16:07 -08:00
Arthur Lu
51965010e8 use innerHTML 2022-12-19 18:14:00 -08:00
Arthur Lu
35dfbc9b70 use setAttribute 2022-12-19 18:12:39 -08:00
Arthur Lu
4294fd7ca0 fix config populating bug 2022-12-19 18:08:16 -08:00
Arthur Lu
cf0f06fb22 populate cores and memory in config 2022-12-19 17:59:34 -08:00
Arthur Lu
1a4d32f876 remove btn-group:after 2022-12-19 17:35:55 -08:00
Arthur Lu
a584fa61b9 remove extra white space 2022-12-19 17:23:04 -08:00
Arthur Lu
39c60a654c fix word break issue 2022-12-19 17:16:04 -08:00
Arthur Lu
ad6e330a74 improve form layout handling 2022-12-19 17:05:04 -08:00
Arthur Lu
e0e3d5802e add await to config form request 2022-12-19 16:21:24 -08:00
Arthur Lu
1cb66da505 fix config form button ids 2022-12-19 16:17:57 -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
529959cba5 remove unecessary cookie header 2022-12-19 15:22:20 -08:00
Arthur Lu
474e5b2e09 remove extra end tag in config.html 2022-12-18 22:49:19 -08:00
Arthur Lu
ecb7e6f192 add config.html,
add config.js,
add getURIData function to parse URI search params
2022-12-18 22:14:57 -08:00
Arthur Lu
4fd15f804b readd proper imports to login.js 2022-12-18 22:00:59 -08:00
Arthur Lu
f497973cc8 fix login.js imports 2022-12-18 22:00:02 -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
8d4c5e122a minify svgs 2022-12-18 19:58:08 -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
b6e61c310c darken inactive config icon 2022-12-15 18:32:06 -08:00
Arthur Lu
1e216a7817 limit height of action buttons 2022-12-15 18:31:05 -08:00