569 Commits
Author SHA1 Message Date
alu 80ac09e040 add fuzzy search using wfa 2024-06-05 22:11:53 +00:00
alu 199f1b1e99 fix lint 2024-04-27 03:50:29 +00:00
alu 29c36cdbf5 update for new pool and node format 2024-04-16 21:38:25 +00:00
alu a6a76930f9 fix styling 2024-01-29 21:49:19 +00:00
alu e5a0e92ebb fix instance power button prompt 2023-12-23 02:07:25 +00:00
alu 230fe2c9e4 update account page, instance creation form, and config page,
fix issue with instance delete confirm popup,
fix issues with dialog exit handling without form element
2023-11-15 20:18:01 +00:00
alu 7f4bdacef0 fix linting 2023-11-14 22:24:26 +00:00
alu e97f8d5bbc fix bugs in network config change,
generalize dialog layout,
add form validation callback,
add password change form
2023-11-14 00:09:41 +00:00
alu 4806d7f18f fix bug with sync and deleting instance 2023-11-07 05:09:28 +00:00
alu 89f0b14c21 add password form to account,
fix form input grid styling
2023-10-31 18:13:40 +00:00
alu 8cfafe7399 fix nav styling,
fix linting
2023-10-19 17:26:37 +00:00
alu e2f5bf9a0a add bottom padding to main,
improve error handling with request function
2023-10-18 19:33:58 +00:00
alu 09bdf686b3 improve account page loading time 2023-10-17 16:42:33 +00:00
alu c4ddc4ded3 fix handling of instances with empty name,
improve instance table headers
2023-10-16 22:32:19 +00:00
alu 72db810ef0 add local copy of w3.css fallback,
change how the dashboard and api is proxied
2023-10-12 17:27:37 +00:00
alu 9705470798 fix linting issues 2023-10-11 20:50:10 +00:00
alu 63f3aae9e6 remove hover effects for small charts 2023-10-11 00:26:25 +00:00
alu 98a00488a3 improve resource chart interface 2023-10-09 23:30:39 +00:00
alu 4c11714958 update readme 2023-10-05 21:09:31 +00:00
alu a18cc5f39c add alternate chart layout for narrow screens 2023-10-05 16:38:25 +00:00
alu c5c54b0691 fix search regexp escape,
wrap chartjs with custom element
2023-10-04 18:59:46 +00:00
alu c8a0eaf1f1 fix draggable getDragSource docstring 2023-09-29 21:17:34 +00:00
alu a3fb992159 fix nav.css style issue,
make search feature not case sensitive
2023-09-28 01:38:19 +00:00
alu 49b2405814 fix aria-current value for nav bar to "page",
improve nav css readability
2023-09-26 19:15:54 +00:00
alu f179c0f7fb fix config form icon alts 2023-09-21 22:41:16 +00:00
alu bf2509ee8f add visual highlight to matching search query substrings,
add missing aria-label for search input,
fix missing network add icon
2023-09-20 22:17:06 +00:00
alu 497bd60653 fix linting errors 2023-09-19 20:59:28 +00:00
alu 1b71c16eec implement simple search logic 2023-09-18 19:37:07 +00:00
alu 0f8a85d22a finish renaming,
improve search bar and add instance responsiveness
2023-09-15 22:13:21 +00:00
alu 691483b6b4 change name from client to dashboard 2023-09-15 07:02:42 +00:00
alu 8c6e3a6860 add search form layout to main page,
add search icon
2023-09-14 20:38:23 +00:00
alu bab1ab8830 improve draggable item style 2023-09-13 20:03:36 +00:00
alu ea8d2e5b8c update client user resource data format 2023-09-11 19:04:07 +00:00
alu 4f6dc18162 improve draggable-item custom element interface 2023-09-07 21:42:19 +00:00
alu 32106b96ee add autocomplete attribute for login form inputs,
fix config form labels
2023-09-07 02:44:11 +00:00
alu 820fe376d5 improve responsiveness of account resources 2023-09-05 21:47:39 +00:00
alu a3abc49075 fix missing label for rate sync in settings.html 2023-09-02 00:21:03 +00:00
alu 53c8da841d display account resource usage in charts 2023-08-31 19:01:58 +00:00
alu d02a585665 improve draggable item generalization 2023-08-29 21:26:57 +00:00
alu 98e2445979 fix linting 2023-08-23 22:55:48 +00:00
alu e6f622d643 fix bugs with draggable container value,
fix bugs with draggable item value after drop,
fix bugs with boot entry details,
improve addBootLine deleteBootLine updateBootLine
2023-08-22 21:23:14 +00:00
alu 9b42fd236c add drag icon to draggable items 2023-08-19 03:32:52 +00:00
alu 8c328dd22c fix draggable list responsiveness,
add event handlers for adding/removing boot options
2023-08-16 23:14:42 +00:00
alu 2b75732e92 use custom element for instances 2023-08-15 20:27:45 +00:00
alu 820db1058b add draggable list custom element,
improve boot order list
2023-08-14 23:42:02 +00:00
alu 4440330c88 add boot order draggable list mockup 2023-08-11 22:06:26 +00:00
alu 690c8b2938 fix add network and device icon 2023-08-11 03:28:12 +00:00
alu 0fe9200429 add boot order card in config 2023-08-09 21:52:55 +00:00
alu 6cbac6b4fc set title and header in settings page 2023-08-09 00:33:51 +00:00
alu 0ec045a666 use /cluster/* api routes 2023-08-03 00:35:56 +00:00
alu 482d2a512a fix linting errors 2023-07-28 18:32:04 +00:00
alu ddfca3b5ef improve settings page 2023-07-20 22:00:54 +00:00
alu c8919307af change vars.js.template to tempalte.vars.js,
implement interrupt based client sync
2023-07-13 22:53:57 +00:00
alu 995513c9b8 add default sync sheme 2023-07-12 22:46:59 +00:00
alu d25ce49ede implement always and hash sync 2023-07-12 22:37:08 +00:00
alu e83cde0db7 add settings page 2023-07-12 00:24:16 +00:00
alu 55881bdcc0 update sync endpoint 2023-07-11 22:07:08 +00:00
alu 1dd32eda81 implement better HTTP request types handling,
add live updating of instances using statushash endpoint to reduce data transfer
2023-07-11 21:14:54 +00:00
alu defc667041 fix add new instance handler 2023-07-11 00:22:49 +00:00
alu 84d3512417 fix input grid positioning 2023-07-06 05:02:04 +00:00
alu 893f4aad54 use float left on legend and input-grid to remove legend span nesting,
improve linting tool
2023-07-06 04:53:47 +00:00
alu 8a37615721 add pci devices to account 2023-07-05 23:29:14 +00:00
alu 3b23a9043c update client with new user config endpoint paths 2023-07-05 23:16:20 +00:00
alu 4d86104e43 use new endpoint params 2023-07-04 04:41:39 +00:00
alu bbaeac32ea add html validation 2023-06-30 01:21:47 +00:00
alu 240a8d2a73 fix utils.js 2023-06-30 00:34:22 +00:00
alu 8496d9d565 add css linting, fix css linting issues 2023-06-29 22:39:21 +00:00
alu f7dd99e933 remove todo 2023-06-29 22:21:17 +00:00
alu e66d3ceb33 add js linting, fix js linting issues 2023-06-29 22:20:15 +00:00
alu 6ce1cc332a fix nav bar width 2023-06-29 21:38:14 +00:00
alu a679e7a2d9 remove user vlan tag info,
update client with new api route
2023-06-29 02:08:52 +00:00
alu 1359ebcc87 fix pci device pcie form get 2023-06-23 03:34:44 +00:00
alu 59e75659bd fix issues in pci device config and add 2023-06-23 03:03:28 +00:00
alu 8365102ce9 fix bugs in pcie device config dialogs 2023-06-22 00:33:53 +00:00
alu 499d7eee02 add device config/add/delete handlers,
fix some styling with forms
2023-06-19 01:43:52 +00:00
alu 3e50e4cbfe shorten cpu config labels
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-14 22:54:53 +00:00
alu c8d4b466fa populate processor types from config values
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-14 22:34:48 +00:00
alu 0bb82dc81a fix proc type selector issue in config,
update account resource table with new API format
2023-06-14 04:56:49 +00:00
alu 8fdd970a44 add processor type to config 2023-06-14 01:13:06 +00:00
alu 7c1c3fbb8b remove clickable from inactive action buttons 2023-06-13 03:13:22 +00:00
alu 7c3ba9b1ed improve small screen instance list 2023-06-09 07:00:21 +00:00
alu 8eee9fabf1 fix config page styling 2023-06-09 06:55:14 +00:00
alu 55a3574da2 implement network add and delete 2023-06-09 04:25:53 +00:00
alu 1532937f00 add vlan tag to account info 2023-06-09 00:28:26 +00:00
alu 0c05140bfe update config.js to api route changes
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-08 23:33:55 +00:00
alu 7409398e11 add buttons to add and delete network interfaces and pcie devices
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-03 00:25:57 +00:00
alu 2d0b8aada6 fix config pci device population
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-02 23:15:26 +00:00
alu f6d51e742c display device_names in pcie devices config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-06-01 17:21:35 +00:00
alu e32c96c41a add pcie device list to instance config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-30 15:50:32 +00:00
alu ec96b9ec35 fix network name label in config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-19 20:07:34 +00:00
alu 928d1d1516 fix bugs in api changes
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-18 20:19:57 +00:00
alu bff5ca3929 update account nodes to new route format
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-18 20:08:39 +00:00
alu 3ebd43bfb0 update disk attach for new api change 2023-05-18 08:09:23 +00:00
alu c2670b9f31 fix formatting 2023-05-17 21:43:03 +00:00
alu 5bbf928b2b fix formatting 2023-05-17 21:40:37 +00:00
alu 6a00a22dc2 fix account network usage
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-16 16:51:39 +00:00
alu d10aeedcf2 remove org specific values,
add dynamic org handling

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-16 15:18:36 +00:00
alu d6a7785ab0 improve response error handling,
add handler for network config,
fix import errors

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 22:41:54 +00:00
alu b94758c175 fix bug in instance delete
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 21:24:43 +00:00
alu 6530240677 add network interface to config,
improve w3-card styling

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 21:22:12 +00:00
alu bbc67fa6fb reduce div nesting in instances
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 20:41:31 +00:00
alu 9eb8aaa4be consolidate instance.js into index.js
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 20:36:28 +00:00
alu cd3027c35e code cleanup
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-15 20:16:38 +00:00
alu d057d98924 fix some styling 2023-05-15 02:56:48 +00:00
alu a3e1d2ed03 use safer pve ticket endpoint 2023-05-13 07:28:09 +00:00
alu 06c6e926ca display errors as modal dialogs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-12 21:26:26 +00:00
alu be57da94db add margin to table
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-12 21:17:29 +00:00
alu 759571535e add node vmid cores and memory limits to inputs in instance create form
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-12 21:14:49 +00:00
alu c459dad024 fix requestPVE call params 2023-05-11 07:13:41 +00:00
alu a8ad9986d7 remove extra divs for hamburger nav 2023-05-11 06:13:00 +00:00
alu f9e0903671 improve nav bar styling 2023-05-11 06:03:37 +00:00
alu 891b5c3af0 fix add-cd and add-disk
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-10 22:10:23 +00:00
alu 362ba28833 add color scheme styling for svg icons
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-10 22:01:41 +00:00
alu 80bcdc340b add colors for light prefered color scheme
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-10 21:32:41 +00:00
alu c3000f8a3a use vars in more color styles 2023-05-08 02:27:14 +00:00
alu a601dde72b use css vars for colors 2023-05-08 00:50:14 +00:00
alu 512a78bd75 consolidate h1 styles 2023-05-08 00:02:47 +00:00
alu 32f0625770 fix dialog styling 2023-05-07 04:35:44 +00:00
alu e2a6083e22 fix icons and some styling 2023-05-07 04:31:04 +00:00
alu 45d82b1cf3 dark mode for client 2023-05-07 04:15:22 +00:00
alu 92267a731a fix heigh issue with main
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-05 21:44:08 +00:00
alu 822c89adda code cleanup on custom dialogs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-05 21:43:15 +00:00
alu a0fe199ccb fix responsiveness of account resource table on large screens 2023-05-05 05:03:12 +00:00
alu c677d08637 improve responsiveness for very narrow screens 2023-05-05 05:01:05 +00:00
alu 08fc8d127b add transition to hamburger menu
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-03 22:08:00 +00:00
alu 2f459f7c5b improve hanburger menu style
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-03 21:39:26 +00:00
alu 1fe8491c38 fix login for styling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-03 21:25:55 +00:00
alu 86dd966691 improve account style,
add allowed nodes to account page,
reduce use of innerHTML

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-03 21:06:27 +00:00
alu d351fdfb67 small style improvements 2023-05-02 03:42:58 +00:00
alu 4d4edaa025 improve styling for account page
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-28 23:57:42 +00:00
alu b959d3b872 improve styling for login box and alert box,
delete modal dialog alert box on close

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-28 23:53:38 +00:00
alu fd26f81e30 change some styling for index and config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-28 23:43:09 +00:00
alu d738b10b2b Update README.md 2023-04-26 16:36:06 -07:00
alu 92493670b7 move nav bar css to nav.css,
simplify some css rules for nav responsiveness

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-25 21:35:50 +00:00
alu 98fe0b2b3f change nav styling and responsiveness
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-25 21:25:03 +00:00
alu 4b83cdaa77 update client with new instance resource api path
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-25 15:32:34 +00:00
alu 938741d429 handle negative resources in account
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-25 15:20:59 +00:00
alu bcc7e0ea57 update client for api changes
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-24 21:47:03 +00:00
alu 4c75398cac adjust some styling 2023-04-22 04:49:17 +00:00
alu 2827f48ce0 improve mobile styling of instance actions 2023-04-22 04:34:48 +00:00
alu 01878b1fe7 fix mobile styling for instance obj 2023-04-22 04:32:09 +00:00
alu 9903f75959 add instance info to account 2023-04-21 22:58:15 +00:00
alu 90d77af0d9 shorten table headers 2023-04-21 22:24:58 +00:00
alu c9b10efed6 fix table responsiveness 2023-04-21 22:22:19 +00:00
alu 1b2b95a1a9 add w3-responsive to table 2023-04-21 22:16:21 +00:00
alu 549e0ae1ab Merge commit 'a9e7a26a9f999624ba9b5410b4b4271f196ca340' 2023-04-20 21:39:09 +00:00
alu 397cb16f48 minor change to user data
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-20 21:38:47 +00:00
alu a9e7a26a9f Update README.md 2023-04-20 14:26:51 -07:00
alu aacc264314 fix login page error handling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-19 21:24:34 +00:00
alu fcdfe020c6 improve error handling for future error display,
fix styling with config disk actions

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-19 21:11:35 +00:00
alu 6d946f08f9 Merge commit '13991f5178c1db90c2a050cf670eba3f1d40b532' 2023-04-19 05:59:01 +00:00
alu 289ca85e81 fix cookie check logic 2023-04-19 05:58:30 +00:00
alu 13991f5178 Update README.md 2023-04-18 22:54:20 -07:00
alu 8f37806280 add units to non compact values 2023-04-19 03:12:50 +00:00
alu 472952d298 add units to resource allocation 2023-04-19 03:10:51 +00:00
alu 94ea16d4f5 fix bug in resource table 2023-04-19 01:42:18 +00:00
alu 115cc51b16 update user db keys 2023-04-19 01:40:55 +00:00
alu a23aad9e99 use new resource return format
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-18 23:31:54 +00:00
alu 9be45c952f improve login style and logic
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-18 20:08:59 +00:00
alu 16be63e98f improve responsive scaling with medium screens
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-12 22:59:57 +00:00
alu ce18b94ea1 improve styling in config form
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-12 22:47:05 +00:00
alu 4ef1cd7480 fix input and select styling for new instance dialog
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-12 22:35:17 +00:00
alu e8908310b6 improve styling for dialogs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-12 22:23:40 +00:00
alu ad43fa7f73 update dialogs to use w3 styling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-11 22:54:37 +00:00
alu a42c8a8d23 Update README.md 2023-04-11 15:34:32 -07:00
alu 02c744ca61 Update README.md 2023-04-11 15:31:43 -07:00
alu bf1ca1aa70 code cleanup
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-11 21:46:18 +00:00
alu b36cd67e86 fix some mobile responsiveness issues
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-11 21:42:59 +00:00
alu de36f2261a use w3.css for primary styling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-11 21:38:51 +00:00
alu 729f8c0faa add proper account resource usage functionality
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-11 18:01:06 +00:00
alu cabea750db improve login form responsiveness
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 22:31:39 +00:00
alu 15822fdacb better responsive handling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 22:08:11 +00:00
alu 389a548d00 bad fix for responsive instance container
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 21:55:31 +00:00
alu c1ca182d10 fix code style
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 21:26:32 +00:00
alu f89e5ceec6 add icons to instance and node status
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 21:21:11 +00:00
alu 0d4d2d4092 fix image height
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 20:46:40 +00:00
alu 22e8544a85 minor style improvement
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 20:03:15 +00:00
alu c9ce701696 improve some styling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 19:47:40 +00:00
alu e98661cb4a improve font size scaling 2023-04-06 04:43:36 +00:00
alu d3fca0f67c center config form 2023-04-06 04:31:12 +00:00
alu f9137a4f44 fix form input-grid rule 2023-04-06 04:27:34 +00:00
alu a76168d1ab add more info to insatnce container 2023-04-06 04:21:03 +00:00
alu 09bf0ebbe9 simplify styling 2023-04-06 03:46:39 +00:00
alu 9469de72fe working but hacky 2023-04-06 02:56:37 +00:00
alu 4e11110c95 reset padding and margins to be fixed later
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-06 02:05:57 +00:00
alu 575e7c9739 improve nav bar
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-05 23:39:28 +00:00
alu b552026d81 fix stlye sheet scoping,
imrpove some styling

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-05 23:35:11 +00:00
alu 31042464a4 change resource page to account page,
improve table styling

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-05 22:48:36 +00:00
alu f1dc99dedd rename buttons.css to button.css,
add table styling and prepare for better table generation

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-05 22:29:15 +00:00
alu 8b9cbec5fb use css vars for coloring
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 22:59:36 +00:00
alu c742ed7085 make instance article span entire width
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 22:49:24 +00:00
alu a2c027eec0 fix site grid layout
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 22:09:04 +00:00
alu 8e60ece366 add basic resource viewing
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 21:57:03 +00:00
alu 33fe93089e fix remaining icons
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 21:17:18 +00:00
alu 3768b2438e fix add instance button color
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 21:10:00 +00:00
alu b455f3238f minor style changes,
fix icon colors

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 13:40:37 -07:00
alu e4a2bdf205 add nav bar to config page
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-25 23:41:56 +00:00
alu d41162ebae major changes to styling:
move nav bar to left side and implement hover animations,
generalize color scheme using css variables,
move button and btn-group related styles to buttons.css,
consolidate form input and select styles in form.css

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-25 23:38:15 +00:00
alu 42e8d729d6 set default login realm in login page
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-24 22:25:14 +00:00
alu fa66459da7 add realm selector to login
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-24 21:13:33 +00:00
alu b6685696fc Update README.md 2023-02-28 21:09:12 -08:00
alu 1f03f78cc4 Update README.md 2023-02-28 21:03:52 -08:00
alu 6cdb249f8d Update README.md 2023-02-28 20:48:44 -08:00
alu 216f8bede9 fix request functionr return values
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-01 00:01:56 +00:00
alu e72ca340c9 gracefully recover from config error
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-28 23:56:39 +00:00
alu 0caaded1a5 fix request function return value to include status value
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-28 22:50:12 +00:00
alu 2df5284d90 implement instance add,
fix multiple onclick listeners being added

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-27 23:03:19 +00:00
alu fc1972a344 use new endpoint arg format 2023-02-27 02:29:55 +00:00
alu b84186c9d6 remove console.log,
add node logic to new instance form

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-24 23:27:03 +00:00
alu 8e0fa94daa fix removed import
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-24 22:38:31 +00:00
alu 6866b4e8a0 use client api endpont for proxmox requests
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-24 22:25:36 +00:00
alu a7a00043ae fix login form centering
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-23 22:19:32 +00:00
alu a55c782a43 fix login form size
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-23 22:18:11 +00:00
alu 00b1bb310d add node field for add new instance
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-23 22:14:06 +00:00
alu 3116a47416 add extra input fields for container specific options
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-23 21:58:42 +00:00
alu da9dab4443 add create instance form dialog
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-23 21:11:43 +00:00
alu 26dc801fe4 add delete instance logic
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-21 22:50:01 +00:00
alu 01074e87f8 add create instance button
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-21 21:52:57 +00:00
alu b6642c9f0c group action icons by type
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-21 21:50:54 +00:00
alu 00683eddb8 add delete button to insances,
add confirm message on start/stop,
change power action from shutdown to stop,
improve action button alt texts

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-21 19:57:47 +00:00
alu 8dbc9d5552 add saving cpu and memory resource values on exit
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-17 22:17:20 +00:00
alu 17f243a006 use proxmox builtin consoles 2023-02-17 05:12:28 +00:00
alu 604035d3a8 add handle cd add 2023-02-16 05:19:22 +00:00
alu aad2c4df6c comment out console handler
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-16 01:25:17 +00:00
alu 1533b26467 add cd-add button to vm config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-16 00:57:11 +00:00
alu 725a7baf5e remove xternjs for now
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-16 00:36:13 +00:00
alu ce5eea1dde add disk add for both vm and container
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-15 00:17:35 +00:00
alu 95b7cade56 remove unecessary line
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 22:57:42 +00:00
alu 1149ff5c7a remove appendFormBody
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 22:55:09 +00:00
alu 424f33c840 add create disk dialog form creation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 21:56:27 +00:00
alu 3e910f8e5d differentiate cancel and confirm buttons in dialog
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 21:13:38 +00:00
alu 3d020fefb9 capitalize all button text
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 21:11:10 +00:00
alu 6b1ed9399c separate dialog and instance custom elements
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 21:08:48 +00:00
alu 1a6e31621e remove unecessary hr id
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 21:04:11 +00:00
alu 5c83cacd45 improve disk dialog creation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-14 21:03:53 +00:00
alu 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
alu afa0b4838f change disk icon to loading after action triggers 2023-02-14 09:23:37 +00:00
alu bbc88bb5f2 open console in new window 2023-02-14 05:36:21 +00:00
alu 139bc324e8 fix user name by adding username cookie 2023-02-14 05:21:45 +00:00
alu eb26054c74 add basic xternjs functionality 2023-02-14 05:14:33 +00:00
alu d902277635 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
alu 73f89fa48d add blank.svg,
fix usage of conflicting id values to use dataset
2023-02-13 22:51:22 +00:00
alu f989f7fc13 remove commented code 2023-02-13 04:15:46 +00:00
alu 6c2d6e9ca2 improve power management status update
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 22:48:52 +00:00
alu 5d42dbe637 fix lxc handling in disk attach
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 22:17:23 +00:00
alu 4496c5f27c implement disk delete (all disk actions finished)
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 21:36:47 +00:00
alu efa2585de2 add disk attach
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 21:15:00 +00:00
alu b03454402c fix README code formatting 2023-02-06 16:28:58 -08:00
alu 8ed298f571 fix form input labels in login 2023-02-06 21:59:00 +00:00
alu ae49938303 implement disk move delete source
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-02 19:35:14 +00:00
alu 426313a2ae populate handler for disk move
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-02 18:26:44 +00:00
alu 4d66972aae add diskMove handler creation, improve form css
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-02 00:12:36 +00:00
alu 2d061a6650 improve dialog box custom element
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-01 23:42:30 +00:00
alu 1769babac1 add example entries in vars.js.template
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-01 22:26:56 +00:00
alu 7e87c870d3 add button titles to instance
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-01 00:02:10 +00:00
alu 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
alu e5601f9f3a fix disk detach and disk resize issues
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-30 23:35:26 +00:00
alu 821d4622f7 add dialog confirm,
add resize handler

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-30 22:21:05 +00:00
alu 9069aba221 add icon to all pages 2023-01-28 03:18:20 +00:00
alu bd8d8a82cf add favicon
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-28 00:30:46 +00:00
alu 04b959bd16 create custom dialog form element
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-27 22:33:05 +00:00
alu f752baa46a change vars export naming
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-27 21:49:50 +00:00
alu 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
alu 8134925c03 avoid refreshing page on disk change
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-26 19:55:17 +00:00
alu 7b712ad80b separate disk and resource population
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-26 19:48:41 +00:00
alu 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
alu 96569d3f88 Update README.md 2023-01-26 01:10:23 -08:00
alu f9691f0857 add detach disk handler 2023-01-25 02:06:31 +00:00
alu 85b816dccd Update README.md 2023-01-23 17:45:03 -08:00
alu 988ed94e13 update README with new instructions 2023-01-20 05:02:50 +00:00
alu 2325dd4611 add template file for vars.js 2023-01-20 04:58:33 +00:00
alu eebc9cfd86 remove vars.js 2023-01-20 04:56:31 +00:00
alu 44f5b2243a update README.md with new instructions
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 20:40:22 +00:00
alu c5d14708d3 untrack vars.js
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 20:33:34 +00:00
alu 2d1d64a765 move api path info to vars.js
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 20:33:05 +00:00
alu c99f6cef2d add config for tronnet, will remove later
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 19:59:12 +00:00
alu 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
alu 8676eb6dc3 change attach and detach icons
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 18:08:00 +00:00
alu 33bdb0b19e 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
alu 63b2bebf2e add action button icons
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 02:13:07 +00:00
alu 62b4fa40e8 add unused disk to disk populate
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 00:54:14 +00:00
alu 727a5dcd81 revert to show disk text config
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 00:35:52 +00:00
alu 96ab6791b2 improve acessibility
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-18 23:43:57 +00:00
alu e3bf24c885 remove padding from first form fieldset
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-18 22:58:00 +00:00
alu 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
alu 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
alu dccb5ec582 fix unknown status check order
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:36:34 -08:00
alu 93490a7e65 fix instance icon assignment
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:34:22 -08:00
alu 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
alu 6a20785b7c ensure node search returns a node
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:29:10 -08:00
alu 80be88c6b9 fix variable item typo
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:27:15 -08:00
alu 5077dca134 fix finding nodes in resources
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:26:49 -08:00
alu 18b70c4506 fix instance population
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:26:19 -08:00
alu 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
alu 7f29719532 remove unrelated comments
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 12:02:02 -08:00
alu 3b79a997be remove unused function getDiskImageOptions
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:56:20 -08:00
alu 0127b60bf3 keep disk filename prefixes to assign value correctly
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:50:59 -08:00
alu b29b1dd08f remove iso/ prefix from disk filename
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:48:50 -08:00
alu faea8bf08d fix varaible naming for storage in handleStorageChange
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:45:29 -08:00
alu 940ea453d1 fix varaible instantiation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:44:34 -08:00
alu cd2d93ad34 fix disk image select id assignment
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:43:50 -08:00
alu 977f363934 add storage change handler
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:39:28 -08:00
alu 3784a4511a fix config disk grid layout
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:26:42 -08:00
alu 253342826c use grid-column to span some inputs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:15:04 -08:00
alu 70d1995453 remove storage and iso from disk image options
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 11:04:28 -08:00
alu d9ccaddd3c populate diskImageSelect with options
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:59:06 -08:00
alu 5ccf122ca6 add options to disk image selection
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:48:09 -08:00
alu c0cd6a546e add ids to storage and size input
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:31:26 -08:00
alu 453dc9051b set non resiable disk size value to 0
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:26:11 -08:00
alu 6cd66db083 fix handleDeviceChange not implemented
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:19:07 -08:00
alu 5e03f48ba6 min input content,
disable disk device reassignment for all disks

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:18:22 -08:00
alu f3b9a5d81e hide device input if device input is not required
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 10:01:06 -08:00
alu ca59f11bdb add hidden class
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 09:56:48 -08:00
alu 44f837b33d remove unit selector for unit text,
hide size input and unit text if disk is not resizable

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 09:52:20 -08:00
alu ecf593f9ef change volume contents includes to be specific to bus type
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 16:14:33 -08:00
alu b928f87a79 fix min checking
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 16:10:56 -08:00
alu b8fb562c41 fix invalid query selector ids
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 16:08:20 -08:00
alu c21838d760 fix query selector in handleUnitChange
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 16:07:06 -08:00
alu 680bb92242 set minimum size on unit change,
check min  size value on unit change

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 16:06:19 -08:00
alu a4ea5a2a60 disable size unit select if resizable is false
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:50:32 -08:00
alu ef44a7bfbc fix disk config layout
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:48:54 -08:00
alu 28a4dc94cb add required params to addDiskLine
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:48:20 -08:00
alu 7fe8dd2b7e fix variable naming conflict
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:47:13 -08:00
alu 474a9c9222 add selector for size unit
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:45:51 -08:00
alu dfba5cdd5a remove unit from size
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:27:41 -08:00
alu 359bb8a7f3 fix config disk layout
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:25:03 -08:00
alu 75e77b1362 fix delete button alt text
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:24:24 -08:00
alu ba7a96f0eb add delete disk button
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:22:39 -08:00
alu 4512242336 fix storageSelect and sizeInput populating
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:16:02 -08:00
alu f7a11046e0 fix storage options populating
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:14:34 -08:00
alu 32a3c50f97 fix icon alt again
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:13:17 -08:00
alu 5bc908eaae fix bus prefix issue
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:12:46 -08:00
alu 5041f7ea1c fix icon alt text
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:10:24 -08:00
alu fd8025ed32 fix icon reference
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:09:21 -08:00
alu 2ea2865d8d make each disk configurable
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 15:05:58 -08:00
alu bee34d4569 remove name field
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-16 14:25:31 -08:00
alu b0b3698258 right align all disk config buttons 2023-01-12 15:26:45 -08:00
alu 24351ded1e add grey backgroudn to disabled inputs 2023-01-12 15:21:08 -08:00
alu 6598ae3133 disable bus when lxc,
disable path when qemu
2023-01-12 15:17:35 -08:00
alu cb9c3a051f remove console.log s 2023-01-12 15:08:45 -08:00
alu 5b111b1114 removed redundant params in populateResources 2023-01-12 15:08:02 -08:00
alu 976b62fce8 add storage target option adding 2023-01-12 15:05:22 -08:00
alu ad84fc9772 add fetch storage options 2023-01-12 14:43:17 -08:00
alu c6f8b7542d fix event listener callback function 2023-01-11 03:02:17 -08:00
alu ba97c056d8 fix disk populating bugs 2023-01-11 03:00:01 -08:00
alu d43363c066 add query select for addDiskDevice 2023-01-11 02:58:22 -08:00
alu 4f8f4ae863 try global vars 2023-01-11 02:57:37 -08:00
alu 7e71d098c4 fix parameters 2023-01-11 02:52:52 -08:00
alu 4556abc8ea consolidate handler params 2023-01-11 02:51:06 -08:00
alu 3993b23d22 add missing type param in add disk handlers 2023-01-11 02:47:36 -08:00
alu da1b0661ca fix missing param in add disk handlers 2023-01-11 02:46:25 -08:00
alu 7799954b0f streamline add disk code 2023-01-11 02:43:56 -08:00
alu 1575fa33fd remoe focus outline 2023-01-11 02:27:10 -08:00
alu 1ce205c17b add correct event listener 2023-01-11 02:16:30 -08:00
alu 847f2d4d64 add red border on add disk device input focus 2023-01-11 02:15:58 -08:00
alu 801bd1e105 populate add disk device with next avaliable value,
add red border around invalid device number
2023-01-11 02:01:34 -08:00
alu f12ee81b3e flip qemu disk ordering 2023-01-11 01:33:50 -08:00
alu 49416cdd34 add pointer to disk items 2023-01-11 01:32:51 -08:00
alu 30c6deb86c generalize button img hover 2023-01-11 01:30:28 -08:00
alu 17836e432d fix form img hover 2023-01-11 01:28:09 -08:00
alu a221643ce4 add hover cursor change 2023-01-11 01:24:28 -08:00
alu 619003616a fixes to limit and bus selection 2023-01-10 17:16:05 -08:00
alu f53882a50b use capital case for disk name 2023-01-10 17:12:24 -08:00
alu dbd6213b86 fix prefix in disk population 2023-01-10 17:11:00 -08:00
alu ffbfc04511 remove all references to disks 2023-01-10 17:09:59 -08:00
alu 60737d1e77 fix populating bug 2023-01-10 17:09:10 -08:00
alu 81da4724e9 fix variable typo 2023-01-10 17:06:34 -08:00
alu d3c4f338cf fix variable name collision 2023-01-10 17:05:41 -08:00
alu 0b139f37c0 used variable to store disk configuration 2023-01-10 17:04:20 -08:00
alu 17676a8564 add logic for bus select and device limit 2023-01-10 16:49:57 -08:00
alu b222f95483 align add disk button to the right 2023-01-10 16:15:44 -08:00
alu 15b2e7ec58 add disk mini form 2023-01-10 16:01:13 -08:00
alu de7f7ed2b5 add some top margin to create disk button 2023-01-10 00:21:48 -08:00
alu 95d735979a add disk create button 2023-01-10 00:18:23 -08:00
alu 392446219d fix disk populating issue 2023-01-09 23:51:11 -08:00
alu 0dee24b337 sort disks in numerical order 2023-01-09 23:50:11 -08:00
alu 39594672bf decrease stop.svg thickness 2023-01-09 23:02:57 -08:00
alu 3de452435c increase stop.svg slightly 2023-01-09 23:00:11 -08:00
alu 5c2a0e53d6 increase stop.svg thickness 2023-01-09 22:59:09 -08:00
alu 7bbff982fe increase start.svg size 2023-01-09 22:54:41 -08:00
alu 56bbfa01f8 use better icon for drive 2023-01-09 22:43:54 -08:00
alu ee19c32f04 use a cleaner drive icon 2023-01-09 22:31:45 -08:00
alu 4c23ac5c5e add logic for disk and drive icon 2023-01-09 22:24:04 -08:00
alu 5b8ab3859d add drive.svg,
add width and height to some svg
2023-01-09 22:19:20 -08:00
alu da87996348 Fix bracket escape in README.md 2023-01-09 18:01:51 -08:00
alu 8a107df67a Create README.md 2023-01-09 17:50:05 -08:00
alu 6adf04efe8 generalize disk populating
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 16:21:45 -08:00
alu cd028002a0 change center div to fit-content
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 16:08:02 -08:00
alu 45e3fb9509 add configurable disk population
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 16:02:25 -08:00
alu e20b952a2c add some margin to nav bar
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 15:29:36 -08:00
alu cf96ffe561 add auth successful message to login
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 15:20:34 -08:00
alu 0740d65363 fix cookie deletion
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 15:16:24 -08:00
alu 9d0e0db27d add deleteAllCookies util function,
add functionality to nav buttons

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 15:08:45 -08:00
alu 78dd24d6cc add border to active button
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 15:01:21 -08:00
alu e38ab19c1d fix some nav styling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 14:54:47 -08:00
alu 58736e6992 use btn-group class for nav bar
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 14:53:29 -08:00
alu 85f3571ef6 fix style bug
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 14:50:52 -08:00
alu 941e135762 fix nav bar positioning
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 14:50:07 -08:00
alu 9fe86b0317 simplify nav heiarchy
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 14:43:48 -08:00
alu ba772cfdbb readd script to index
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 14:37:32 -08:00
alu 788f3e07a7 fix nav styling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 14:36:50 -08:00
alu c2046113a6 add top nav bar
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-09 14:29:27 -08:00
alu 915450b0b0 fix some styling 2023-01-08 21:46:14 -08:00
alu 594254dac3 fix memory populating bug 2023-01-08 21:32:22 -08:00
alu 80e259b4f7 add label for in name fieldset 2023-01-08 21:28:35 -08:00
alu b572b79798 fix label for assignment,
fix disk icon alt
2023-01-08 21:26:44 -08:00
alu 835b7261aa add image alts in config page,
add for to labels in config page
2023-01-08 21:23:08 -08:00
alu 72ec1c134f add config button to disk entry 2023-01-08 20:49:57 -08:00
alu b78d749df1 add config button to disk items 2023-01-08 20:48:58 -08:00
alu 0a544f87bc add row gap in input grid 2023-01-08 20:38:07 -08:00
alu b95187ee2c populate name field using addMetaLine 2023-01-08 20:32:15 -08:00
alu eb4970344f populate id parameter in addDiskLine 2023-01-08 20:30:09 -08:00
alu 4e15b71d5b fix another variable name conflict 2023-01-08 20:28:50 -08:00
alu 089e52b1a0 fix variable name conflict 2023-01-08 20:28:19 -08:00
alu e4c7f45e6c populate disks in separate fieldset 2023-01-08 20:26:20 -08:00
alu ae3d8c5cf1 improve config styling 2022-12-21 16:27:04 -08:00
alu 70f8a6bbd7 fix form icon style 2022-12-21 16:01:29 -08:00
alu b4a92a26e1 fix icon null check 2022-12-21 16:00:28 -08:00
alu e37c19de77 fix config form icon styling 2022-12-21 15:59:54 -08:00
alu 7f4c006385 add icons to config form 2022-12-21 15:56:52 -08:00
alu 0b2bb51bdd add swap in config 2022-12-21 15:39:09 -08:00
alu 6b2dbf2450 remove resource bar from instance article 2022-12-21 15:31:31 -08:00
alu afaf6c678d set step to 0.001 2022-12-21 15:26:18 -08:00
alu 06a54aa8a8 use min of 1 2022-12-21 15:22:50 -08:00
alu c18388c634 set min size for storage to 1 GB 2022-12-21 15:15:45 -08:00
alu 2cd7d9bfeb switch instance name logic 2022-12-21 15:10:13 -08:00
alu 0a392cb6a6 add better label text for rootfs 2022-12-21 15:08:21 -08:00
alu 655732fb9e fix name populating issue 2022-12-21 15:07:34 -08:00
alu 72f356d50a add lxc config form populating 2022-12-21 15:06:26 -08:00
alu 912b038136 fix login form layout 2022-12-21 11:33:51 -08:00
alu 76fea95adc fix string to int parsing 2022-12-21 01:36:24 -08:00
alu a8d66a8ae6 fix string to float conversion 2022-12-21 01:33:37 -08:00
alu 9189d4aa0e improve form populating 2022-12-21 01:31:58 -08:00
alu 461635f966 improve form layout css 2022-12-21 00:56:40 -08:00
alu cce8cf8115 add units to config form 2022-12-21 00:49:57 -08:00
alu c4d607570e remove colons from forms 2022-12-20 18:03:07 -08:00
alu 8341b88c76 add colon to sata config 2022-12-20 18:01:44 -08:00
alu 163542102d remove login status testing 2022-12-20 17:52:41 -08:00
alu fc073b6422 set legend height to 0 2022-12-20 17:51:53 -08:00
alu 322a5ea5be final form styling 2022-12-20 17:46:03 -08:00
alu c1779c9b7f remove border around form buttons 2022-12-20 17:38:14 -08:00
alu 4484f7dc8b populate vm name 2022-12-20 17:07:58 -08:00
alu 9754351e22 improve form layout and styling 2022-12-20 17:02:33 -08:00
alu 41d8b240ab parse disk to only use size 2022-12-20 16:47:49 -08:00
alu df0ff8cd7b change config form button type to button 2022-12-20 15:49:13 -08:00
alu 9854792407 try window.assign 2022-12-20 15:45:43 -08:00
alu 85f7fac100 add cancel button listener 2022-12-20 15:42:13 -08:00
alu e31c91679f fix missing increment 2022-12-20 15:38:53 -08:00
alu 589ecc1f9e add populating sata drives 2022-12-20 15:37:04 -08:00
alu f7a52a27d6 add credential check to config.js 2022-12-20 15:15:08 -08:00
alu 0c66460bf7 fix username input 2022-12-19 18:47:05 -08:00
alu b2cd65212b use grid layout for forms 2022-12-19 18:46:28 -08:00
alu 08c6126f81 undo input width 2022-12-19 18:36:41 -08:00
alu bbb7e0561e make config inputs 100% width 2022-12-19 18:35:09 -08:00
alu ce1119f14a use innerHTML directly 2022-12-19 18:21:48 -08:00
alu dc95d5092d remove unecessary line 2022-12-19 18:17:19 -08:00
alu 37508e646e use label property 2022-12-19 18:16:07 -08:00
alu 54e09d8b31 use innerHTML 2022-12-19 18:14:00 -08:00
alu 06aa9ac47e use setAttribute 2022-12-19 18:12:39 -08:00
alu ca2633fb79 fix config populating bug 2022-12-19 18:08:16 -08:00
alu bd81fdb8e6 populate cores and memory in config 2022-12-19 17:59:34 -08:00
alu 727c23cec3 remove btn-group:after 2022-12-19 17:35:55 -08:00
alu ce7466ac04 remove extra white space 2022-12-19 17:23:04 -08:00
alu 3e0ba0024b fix word break issue 2022-12-19 17:16:04 -08:00
alu ee0b534794 improve form layout handling 2022-12-19 17:05:04 -08:00
alu 534c40d7a9 add await to config form request 2022-12-19 16:21:24 -08:00
alu daf93b2b32 fix config form button ids 2022-12-19 16:17:57 -08:00
alu ef4597490a 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
alu 818748ef2b remove unecessary cookie header 2022-12-19 15:22:20 -08:00
alu ca05ecc72f remove extra end tag in config.html 2022-12-18 22:49:19 -08:00
alu e369456c57 add config.html,
add config.js,
add getURIData function to parse URI search params
2022-12-18 22:14:57 -08:00
alu 3160e0a858 readd proper imports to login.js 2022-12-18 22:00:59 -08:00
alu 368208fc61 fix login.js imports 2022-12-18 22:00:02 -08:00
alu 73ab09983c fix goToPage 2022-12-18 21:58:46 -08:00
alu 5dc35cbbf3 modularize redirect function 2022-12-18 21:52:39 -08:00
alu 42ebaff402 fix config button updating 2022-12-18 21:05:05 -08:00
alu 2721fd3e5e change config button icon on power action 2022-12-18 21:00:58 -08:00
alu aa4ea3e0de handle instance action update by process id 2022-12-18 20:32:05 -08:00
alu d03292a29c minify svgs 2022-12-18 19:58:08 -08:00
alu 0c5f20677e set proper alt for instance type/status and power action 2022-12-18 17:11:35 -08:00
alu 5e46481f72 add loading icon 2022-12-18 17:06:05 -08:00
alu a24467ee39 remove console 2022-12-18 16:56:02 -08:00
alu bb10726eef add actionLock to element power action 2022-12-18 16:53:07 -08:00
alu e6290cc058 remove periodic refresh in favor of refresh as needed 2022-12-17 17:52:20 -08:00
alu 7a5c1222ca assign alt properties 2022-12-17 17:36:45 -08:00
alu 83246d1fa1 remove debug console.log 2022-12-17 16:44:43 -08:00
alu 4cfd550a47 update power action button in element updater 2022-12-17 16:37:26 -08:00
alu 12927fd8a4 fix waitFor issue 2022-12-17 16:35:51 -08:00
alu 46da693292 handle update element in listener 2022-12-17 16:34:40 -08:00
alu 3d902a745d disable reload for now 2022-12-17 16:15:28 -08:00
alu 4153d7f76c run instance population every second 2022-12-17 16:07:18 -08:00
alu fcb28f0a9d remove csrf token from cookie 2022-12-15 23:51:51 -08:00
alu c83c706a32 put CSRF only for POST 2022-12-15 23:44:48 -08:00
alu aa8ff06b6f try setting CSRFPreventionToken header 2022-12-15 23:40:04 -08:00
alu 7618b24898 add csrf token saving 2022-12-15 23:15:52 -08:00
alu 22f334f373 fix power management request 2022-12-15 23:08:56 -08:00
alu 8997caa7be fix import 2022-12-15 23:05:32 -08:00
alu ff6c4fdd09 implement basic power management 2022-12-15 23:03:50 -08:00
alu 0ceace3c88 darken inactive config icon 2022-12-15 18:32:06 -08:00
alu ba07eff425 limit height of action buttons 2022-12-15 18:31:05 -08:00
alu f40e05fbf5 add action icons,
set action icons depending on instance status
2022-12-15 18:28:12 -08:00
alu ea596b8258 move btn-group margins to instance.css 2022-12-15 18:13:17 -08:00
alu 4e568552d7 add margin to btn-group 2022-12-15 18:09:48 -08:00
alu 10526d1a67 add power button html and css 2022-12-15 18:04:20 -08:00
alu c45c9df406 simplify instance styling 2022-12-15 17:45:40 -08:00
alu bbe9a7a93c add css for hr 2022-12-14 22:57:55 -08:00
alu 9db70290a8 add hr between summary and resources 2022-12-14 22:54:18 -08:00
alu 81b26b5f30 make instance cards more contained 2022-12-14 22:51:44 -08:00
alu 8d41997c76 center instance node info 2022-12-14 17:42:20 -08:00
alu 9a3b51a140 remove column gap 2022-12-14 17:36:28 -08:00
alu e9b236f5f0 evenly space resource elements 2022-12-14 17:34:13 -08:00
alu bc9c9b87d8 set qemu instance maxswap to 0 2022-12-14 17:31:05 -08:00
alu 3f33684edf fix resource disk text assignment 2022-12-14 17:28:48 -08:00
alu 9239b41e65 recolor resource icons to white 2022-12-14 17:27:53 -08:00
alu f72106ae83 upload resource icons,
add some column gap to resource-div
2022-12-14 17:23:05 -08:00
alu 2af76405ef add resource details to instance article 2022-12-14 17:20:31 -08:00
alu 0235760565 add implicit instance typing 2022-12-14 17:01:38 -08:00
alu 52cb2a9a10 fix instance article element selection 2022-12-14 16:10:28 -08:00
alu 3670730f2b fix instance article content 2022-12-14 16:07:25 -08:00
alu 9d29ae078a use templates to streamline instance creation 2022-12-14 16:05:15 -08:00
alu ea2011b734 improve instance article layout 2022-12-14 15:47:29 -08:00
alu 3e87f5ba29 arrange instance elements inline 2022-12-14 15:38:13 -08:00
alu 02ed33c674 add top div to instance article 2022-12-14 15:32:22 -08:00
alu a8664a4e04 fix node icon ref 2022-12-14 15:29:08 -08:00
alu a4c7a36012 add icons 2022-12-14 15:28:22 -08:00
alu bdec04aaf7 separate instance card data elements 2022-12-14 14:42:40 -08:00
alu ffa468fba2 add instance styling 2022-12-14 14:30:46 -08:00
alu b5901cb002 simplify instacne node assignment 2022-12-14 14:11:20 -08:00
alu 0a72233baa fix instance node data assignment 2022-12-14 13:48:29 -08:00
alu a10a8a4ddc add node data to instances 2022-12-14 13:47:28 -08:00
alu 5121060671 fix concat logic 2022-12-14 13:40:19 -08:00
alu 3247edbbbb simplify instance display 2022-12-14 13:37:30 -08:00
alu 35dd1402b0 fix instanceDiv 2022-12-13 23:28:07 -08:00
alu cb2cc97387 fix instance type setting,
add min-content to center-div
2022-12-13 23:26:43 -08:00
alu 63943782c6 fix node and instance element stylesheet reference 2022-12-12 21:43:19 -08:00
alu ccf7efb9b9 add useful login statuses 2022-12-12 17:12:11 -08:00
alu ad9969c393 make body optional parameter for request function 2022-12-12 16:30:55 -08:00
alu 5cee249285 move js to scripts folder,
move css to css folder
2022-12-12 16:27:45 -08:00
alu 40aea760e4 fix requestTicket return value 2022-12-12 16:21:33 -08:00
alu 4aba318c9b fix optional param 2022-12-12 16:19:47 -08:00
alu 4992f9e4ae remove repeated code 2022-12-12 16:18:40 -08:00
alu f4a74b9ba5 fix error naming again 2022-12-12 16:11:00 -08:00
alu e33e5ed67c fix error naming 2022-12-12 16:09:57 -08:00
alu a72967216d create custom ResponseError and NetworkError 2022-12-12 16:09:06 -08:00
alu 739c591dda apply promise catch to request function 2022-12-12 16:00:11 -08:00
alu 0553c3056b try promises 2022-12-12 15:56:57 -08:00
alu 942b9427ea fix ticket saving 2022-12-12 15:13:43 -08:00
alu 3bf0f9d0e4 try preventDefault 2022-12-12 15:11:52 -08:00
alu fe07147d6c try event.preventDefault fix 2022-12-12 15:10:52 -08:00
alu f1e705ae5e fix login form key issue 2022-12-12 15:00:32 -08:00
alu 1473626373 add login page 2022-12-12 14:57:43 -08:00
alu 80a442f3c0 update style.css with responsive center-div 2022-12-11 21:31:28 -08:00
alu f765be68c5 update style.css 2022-12-11 20:44:21 -08:00
alu 82496039ca fix instance populating 2022-12-11 20:22:37 -08:00
alu 9dae0cb371 fix script linking 2022-12-11 20:21:18 -08:00
alu f58cfc02e0 make instance custom element 2022-12-11 20:20:32 -08:00
alu 095c6a66bc fix instance status issue 2022-12-11 20:02:39 -08:00
alu 02188e7240 set instance color 2022-12-11 20:01:32 -08:00
alu 42aa765533 sort nodes and instances 2022-12-11 15:24:19 -08:00
alu 3a3d405c6d try new instance format 2022-12-11 15:15:39 -08:00
alu 53631e8723 fix instance populating 2022-12-11 15:07:44 -08:00
alu 1d0a1ebae3 add qemu and lxc instance populating 2022-12-11 15:06:10 -08:00
alu 7892b3168a fix instance printing 2022-12-11 14:56:41 -08:00
alu 34ecfe8a39 check instance GET 2022-12-11 14:54:50 -08:00
alu 8d0880346e fix idnentation in node.js 2022-12-10 23:05:31 -08:00
alu 438e220db0 implement node-card element,
add populating node-cards on init
2022-12-10 22:49:10 -08:00
alu 82b739af8e set cookie domain 2022-12-10 21:55:34 -08:00
alu 97f789853c update style.css 2022-12-10 19:25:59 -08:00
alu 82879d2cf1 login prototype 2022-12-10 18:02:29 -08:00

Diff Content Not Available