Commit Graph

11 Commits

Author SHA1 Message Date
4819cc8e9b Moved hosting.templ into the view directory
- Pages will go to view
- pages will be seperated into each file by type (host, vm, etc.)
- each page will have multiple sections in each file that can be
  either rendered together, or loaded via HTMX, depending on the call
- started on htmx api endpoints
2024-03-17 00:10:04 -06:00
5ae4fb3ab9 host now generates a piechart for memory usage 2024-03-16 11:34:17 -06:00
d10aea8d8c Adding chart generation for host stats 2024-03-16 11:09:58 -06:00
fada05c56d add icons for tailwind
- svg icons from heroicons.com
- add Type to String map for:
  - StoragePoolState
  - StorageVolType
- default icons are sized 24x24
  - added 36x36, 48x48, 64x64
- adding styling to home.gohtml homepage
2024-03-13 22:21:01 -06:00
f96a911722 host will now load VM data
- All host node info is done using goroutines to speed up the process as much as possible
- The vast majority of data is stored at this point
  - Need to work out refreshes, using either polling or events
2024-03-12 22:17:42 -06:00
899a80f2e5 make file naming consistent 2024-03-12 10:34:16 -06:00
bb9feaef44 properly stubbed each library so it will compile 2024-03-12 10:33:14 -06:00
1bfdaf28c7 Add file stubs, add comments to guide dev in host
Signed-off-by: Matthew Stobbs <matthew@stobbs.ca>
2024-03-12 01:38:29 -06:00
b5ab70fc25 getting host data before each vm on host data
- Hostdata is useful
2024-03-11 23:35:32 -06:00
00758af30b Now pulling VM data from named VMs
- Next is to get the list and setting the information using go routines for each VM
2024-03-11 19:39:17 -06:00
5b16a75bdf refactor from all in main to lib
- lib/guest is for managing, displaying, etc. virtual machines
- lib/host is the same for hosts
2024-03-11 12:48:14 -06:00