Commit Graph

10 Commits

Author SHA1 Message Date
9d3fc15ab1 more stats work
added templ file for basic stat output of cluster
2024-03-18 23:48:24 -06:00
3bcbfd3577 adding stats to cluster object 2024-03-18 22:38:28 -06:00
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
d10aea8d8c Adding chart generation for host stats 2024-03-16 11:09:58 -06:00
9c35be1fcf really liking templ
- made multiple components for reuse in templ
- going to start on actual data displaying templates
2024-03-14 21:56:49 -06:00
db068fcecb start migration to templ 2024-03-14 14:39:26 -06:00
2419d5d3a6 add basic chi http server
- added air to reload the server on changes automatically
- added tailwindcss
- added base page structure in html using _index, _header and _footer
- added static homepage
- added style.css built by tailwindcss
- added basic View object to control views and templates
2024-03-13 19:12:48 -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
b5ab70fc25 getting host data before each vm on host data
- Hostdata is useful
2024-03-11 23:35:32 -06:00
bab4f2506b Added ability to check domains on host
super simple example to show it can work
2024-03-10 00:15:49 -07:00