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
223496075a Adding even more components
- Starting on main manager page
- Manager layout will be included in the manager page
- Manager page will use htmx to load different components via api
2024-03-15 22:50:24 -06:00
5fd215d6dd nav bar!
Added a navbar that doesn't do anything to the homepage
2024-03-15 16:48:11 -06:00
8a736a57f9 removed tailwindcss-dracula
- defined custom colours for ui elements
- created layouts directory in views that control layouts
- made the header in homepage flexbox
2024-03-15 11:55:28 -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
6e0198de35 fixed list icons
- instead of trying to change their colors in css, i created new svgs based on the ones I wanted
2024-03-14 01:54:41 -06:00
c170739128 remove resized svgs. It was only the viewbox 2024-03-13 22:38:35 -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
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