added feedings page with graphs and list of entries with option to edit and manually add new
This commit is contained in:
@@ -91,6 +91,12 @@ def serve_log_feeding() -> FileResponse:
|
||||
return FileResponse(static_path / "log-feeding.html")
|
||||
|
||||
|
||||
@app.get("/feedings.html", include_in_schema=False)
|
||||
def serve_feedings() -> FileResponse:
|
||||
"""Serve the feedings overview page."""
|
||||
return FileResponse(static_path / "feedings.html")
|
||||
|
||||
|
||||
@app.get("/api/")
|
||||
def read_root(token: Annotated[str, Depends(verify_token)]) -> dict:
|
||||
"""API root endpoint (requires authentication)."""
|
||||
|
||||
Reference in New Issue
Block a user