"""
Backup Frontend Views
Serves HTML pages for backup system dashboard
"""

from fastapi import APIRouter, Request
from fastapi.templating import Jinja2Templates
from fastapi.responses import HTMLResponse

router = APIRouter()
templates = Jinja2Templates(directory="app/backups/templates")


@router.get("/backups", response_class=HTMLResponse)
async def backups_dashboard(request: Request):
    """Backup system dashboard page"""
    return templates.TemplateResponse("index.html", {
        "request": request,
        "title": "Backup System"
    })
